My usage
- Permission required
- None: available to any valid key
When to use it
Calls and units used this month by this key (per tool, with p95 latency) and the organization's monthly quota. Use it to know what is left before a big job.
Input
No parameters.
Every tool also accepts lang (es | en) for the language of the text answer.
Output
| Field | Type | Description |
|---|---|---|
monthRequired | string | YYYY-MM (UTC) |
organizationRequired | object | |
organization.quotaRequired | number | null | Monthly units; null = unlimited |
organization.usedRequired | number | |
organization.remainingRequired | number | null | |
organization.write_weightRequired | number | Units a confirmed write costs (reads cost 1) |
organization.resets_atRequired | string | |
this_keyRequired | object | |
this_key.callsRequired | number | |
this_key.unitsRequired | number | |
this_key.errorsRequired | number | |
this_key.quotaRequired | number | null | |
this_key.per_toolRequired | object[] | |
this_key.per_tool[].toolRequired | string | |
this_key.per_tool[].callsRequired | number | |
this_key.per_tool[].errorsRequired | number | |
this_key.per_tool[].unitsRequired | number | |
this_key.per_tool[].bytesRequired | number | |
this_key.per_tool[].p95_msRequired | number | null |
Examples
Example 1: See how much of this month's quota is left
Call
{
"name": "usage",
"arguments": {}
}Response
{
"month": "2026-11",
"organization": {
"quota": 10000,
"used": 1240,
"remaining": 8760,
"write_weight": 5,
"resets_at": "2026-12-01T00:00:00.000Z"
},
"this_key": {
"calls": 310,
"units": 330,
"errors": 2,
"quota": null,
"per_tool": [
{
"tool": "whoami",
"calls": 4,
"errors": 0,
"units": 4,
"bytes": 2100,
"p95_ms": 35
}
]
}
}Equivalent JSON-RPC call (POST /mcp)
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "usage",
"arguments": {}
}
}