get_billing
Retrieve subscription details, available plans, daily usage history, and spending limits for your MCP account.
Instructions
Retrieve MCP billing information: subscription details, available plans, daily usage history, or spending limits.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "get_billing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What billing info to retrieve: subscription (current plan details), plans (available plans), daily_usage (credit usage history), spending_limits (daily spend limit status) | |
| start_date | No | Start date for daily_usage (YYYY-MM-DD). Default: 30 days ago | |
| end_date | No | End date for daily_usage (YYYY-MM-DD). Default: today |