Quotas
MCP tools for the Quotas module. See the Quotas module docs for permissions and data model.
list-quotas
List quotas
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
projectId | string | no | Project ID (required if not using project key auth) |
limit | number | no | Maximum number of results to return |
offset | number | no | Number of results to skip |
create-quota
Create a quota
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
projectId | string | no | Project ID (required if not using project key auth) |
scope | string | yes | The scope the quota applies to |
scopeRef | string | no | Public id of the api key / agent the quota applies to. NULL means all entities of that scope type in the project. |
metric | string | yes | The metric being capped |
window | string | yes | The window over which the metric is aggregated |
limit | number | yes | The cap. Must be a positive integer for requests/tokens; fractional values are allowed for cost_usd. |
mode | string | no | enforce blocks with 429 (requests at the middleware, tokens/cost_usd at the pre-generation check); monitor observes without blocking — a breach fires the quota.exceeded webhook and writes a quotas:MonitorBreach audit entry, but the request is let through. |
get-quota
Get a quota
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
quotaId | string | yes | Quota ID |
update-quota
Update a quota
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
quotaId | string | yes | Quota ID |
limit | number | no | New limit |
mode | string | no | New mode |
delete-quota
Delete a quota
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
quotaId | string | yes | Quota ID |