Get Metric Monitor Details
get_metric_monitor_detailsFetch a Sentry Metric Monitor's query, dataset, detection mode, thresholds, conditions, and connected Alerts to inspect configuration and verify alert settings.
Instructions
Get a Sentry Metric Monitor: its query, dataset, detection mode, thresholds, resolution conditions, and connected Alerts. Condition results: 75 critical, 50 warning, 0 resolved. Percent thresholds are absolute: 110 means 10% higher. Windows are in seconds. Connected Alerts: get_alert_rule. Cron jobs: find_monitors. URL checks: find_uptime_monitors.
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": {
"monitorId": "<monitorId>"
},
"name": "get_metric_monitor_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Bypass cached reads. | |
| monitorId | Yes | Metric Monitor ID from find_metric_monitors, not a legacy metric alert ID. | |
| regionUrl | No | ||
| projectSlug | No | The project slug. In `org/project` notation, the part after the slash. | |
| organizationSlug | No | The organization slug, from `find_organizations`. In `org/project` notation, the part before the slash. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| monitor | Yes |