get_usage
Plan tier, credits remaining, and every quota/count dimension tracked against it for the caller's organization. FREE: reads counters this codebase already maintains for its own gating — nothing here calls a paid provider or spends a credit. gatingActive is false on a self-hosted deployment with no billing provider configured: tier, creditsRemaining and quotas are all null there, not a fabricated tier. counts (projects/rank-tracked keywords/API keys) is always populated. Inside a quota dimension, used: null means NOT TRACKED — an unlimited tier's counter is never incremented in the first place — never a real zero; used: 0 IS a real measured zero. aiGatewayOps is the shared platform AI-gateway key's own monthly ceiling, reported separately because it is a platform-abuse ceiling, not a plan entitlement.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||