List Cost-Alert Rules
list_alert_rulesList the cost-alert rules configured for the organization. Each rule defines when a spend alert fires: alertType (trend | anomaly | budget | expiry | tokens_per_request) with alertTypeLabel (the Alerts page's name: Trend Spike, Anomaly Scan, Spend Threshold, Expiry, Tokens per Request Rise (OpenAI only)), providerType (which provider's spend the rule targets; "all" = org-wide), frequency (how often it evaluates), analysisPeriod, thresholdPercent / thresholdAmount, the services/accounts it watches, scope ({costCenterId} = a Spend Threshold / Trend Spike measured on that cost center and its child cost centers, as on the Allocation page; {dimension: api_key|model, minRequests, values?} on a tokens_per_request rule; {} otherwise), isActive (+ autoPausedReason when the backend paused it), and who it notifies (channels + emails). Many organizations have no alert rules configured — an empty list is normal, not an error. Optionally scope with integration_id; limit caps the list. Use response_format="concise" (default) for the core fields, "detailed" for every field. Read-only. Example: {} returns all alert rules for the org; pass an integration_id to scope to one connection.
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": "list_alert_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max alert rules to return (default: no cap beyond the truncation guard). | |
| integration_id | No | Scope to a single provider connection (integration id). Omit for all connections. | |
| response_format | No | concise = key fields only (default, lower token cost); detailed = the full parsed payload. | concise |