Check API quota
securitytrails_usageCheck current API usage against plan allowance before large enumerations to confirm sufficient quota remains.
Instructions
Report this month’s SecurityTrails API consumption against the plan allowance. Call this before a large enumeration to confirm there is remaining quota.
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": "securitytrails_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | "markdown" for a compact human-readable summary, "json" for the full raw API payload | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remaining | Yes | allowance minus consumption | |
| percent_used | Yes | consumption as a percentage, rounded to one decimal place | |
| allowed_monthly_usage | Yes | queries included in the plan per month | |
| current_monthly_usage | Yes | queries consumed so far this month |