You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area: mcpThe MCP server, its tools and its OAuthenhancementA new capability or an improvement to an existing oneneeds designThe shape has to be agreed before code is writtenp2 mediumWorth doing, not urgentpoints: 5Fibonacci estimate: 5securitySecurity hardening. Never use this for an unreported vulnerabilitysize: mediumA day or two. One surface, no new model
A looping agent can make thousands of calls in a minute, and today nothing stops it short of the platform. Auth rate limits protect sign-in; nothing protects the tool surface per grant.
What to build
A per-grant limit on tool calls per minute and per day, with workspace defaults an admin can change and a per-grant override.
A separate, lower limit for write tools.
Over the limit, the tool returns a clear error with the reset time rather than a generic failure, so an agent can back off.
A looping agent burning thousands of tool calls a minute is exactly the failure mode I prototype against. I built a small reference for the adjacent problem: per-tenant tool access with request-bound approvals and quota enforcement in front of MCP write tools (github.com/glatinone/mcp-local-to-hosted-deployment-fix, tenant checks and 403s tested). If useful, I can sketch what a per-grant counter could look like against your grant model, middleware first so it stays opt-in. Would a short written proposal of the enforcement point be welcome here, or is the design already settled?
area: mcpThe MCP server, its tools and its OAuthenhancementA new capability or an improvement to an existing oneneeds designThe shape has to be agreed before code is writtenp2 mediumWorth doing, not urgentpoints: 5Fibonacci estimate: 5securitySecurity hardening. Never use this for an unreported vulnerabilitysize: mediumA day or two. One surface, no new model
Activity
glatinone commentedon Sep 12, 2026
A looping agent burning thousands of tool calls a minute is exactly the failure mode I prototype against. I built a small reference for the adjacent problem: per-tenant tool access with request-bound approvals and quota enforcement in front of MCP write tools (github.com/glatinone/mcp-local-to-hosted-deployment-fix, tenant checks and 403s tested). If useful, I can sketch what a per-grant counter could look like against your grant model, middleware first so it stays opt-in. Would a short written proposal of the enforcement point be welcome here, or is the design already settled?