get_usage_this_month
Calls used this calendar month, the plan limit, percentage used, and a linear end-of-month projection based on the current daily average. Use to spot when an org will hit its cap.
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_this_month"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Current plan tier. | |
| callsLimit | Yes | Plan's monthly call cap. | |
| percentUsed | Yes | callsThisMonth / callsLimit * 100. | |
| callsThisMonth | Yes | Tool calls used since the billing cycle start. | |
| organizationName | Yes | Name of the org owning this API key. | |
| projectedEndOfMonth | Yes | Linear projection of total calls by end of UTC month. |