MCP tool: get_usage
Read your account’s current request-unit usage. Billable: no.
This is the only API-key-authenticated way to read usage — the REST
equivalent, GET /v1/account/usage, is
Session-authenticated only.
Input
{}Output — success
Byte-identical to the REST GET /v1/account/usage 200 body:
{
"plan": "free",
"billing_period": { "start": "2026-10-01T00:00:00Z", "end": "2026-11-01T00:00:00Z" },
"usage": {
"used_units": 123,
"quota_units": 500,
"remaining_units": 377,
"utilization": 0.246
}
}utilization is a pre-rounded ratio (4 decimal places) computed
server-side — never recompute it client-side.
Raw JSON-RPC example
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": { "name": "get_usage", "arguments": {} }
}{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [{ "type": "text", "text": "..." }],
"structuredContent": {
"plan": "free",
"billing_period": { "start": "2026-10-01T00:00:00Z", "end": "2026-11-01T00:00:00Z" },
"usage": {
"used_units": 123,
"quota_units": 500,
"remaining_units": 377,
"utilization": 0.246
}
}
}
}Errors
| Code | Meaning |
|---|---|
temporarily_unavailable | Storage/dependency failure |
Not billable — there is no quota_exceeded outcome for this tool.