Get Credit Balance
get_credit_balanceGet the AI credit balance: what is left, what the plan includes, what came from rollover or top-ups, and when the allowance resets. Set includeHistory to also get where the credits went — per day and per feature. Use this for AI credits only; for plan limits across every category use get_usage_limits. Requires organization context. Read-only: plan, seat and top-up changes are not available through MCP by design — a human does those in the web app.
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_credit_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | For includeHistory: how many days back to aggregate (default 30, max 365) | |
| featureId | No | For includeHistory: limit the aggregation to one feature ID | |
| includeHistory | No | Also return consumption per day and per feature (default false) |