API usage
get_usageReport the calling API key's plan, rate limits and how much of its monthly allowance is left. Takes no arguments. Use it when a call fails on quota, or when the user asks what their DeFade plan includes. Not for anything about a token — every other tool takes an address; this one reports on the key itself.
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 | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | The tier this key is on. web_mcp is the connector key included with a DeFade Pro web subscription; its allowance is the plan's monthly scans, reported in plan/limits.perMonth. | |
| units | No | How metering works: one request is one unit except the heaviest calls, listed in heavyOnEvm with heavyCost and in heavyOnSolana with heavyCostOnSolana. | |
| usage | No | today, total, thisPeriod, remainingThisPeriod, periodResetsAt. | |
| limits | No | perMinute, perDay, perMonth: the monthly allowance in units, or for the Pro connector key the web plan's monthly scans. | |
| credits | No | Overage: balance, overageEnabled, costPerRequest. |