---
title: "get_alert_definition"
description: "Get a single alert definition by ID, including its configuration (thresholds, conditions) and notification settings."
sidebarTitle: "get_alert_definition"
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

{/* GENERATED FILE: do not edit by hand. Regenerate with: node scripts/generate.mjs */}

Get a single alert definition by ID, including its configuration (thresholds, conditions) and notification settings.

<Note>
  **Read-only · Calls external systems.** Safe to call: this tool does not modify data.
</Note>

## Parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `alert_definition_id` | number | Yes | Alert definition ID |
| `detail` | boolean | No | Return full JSON instead of compact summary (default: false) |

## Example arguments

Illustrative arguments an agent supplies when calling this tool:

```json
{
  "alert_definition_id": 0
}
```

## Description

```text
Returns a compact summary by default; use detail=true for the full JSON payload. ID from list_alert_definitions.
```

## Related

- [`list_alert_definitions`](/mcp/tools/alerting/list_alert_definitions)

## What's next?

<Columns cols={2}>
  <Card title="All MCP tools" icon="robot" href="/mcp/tools/overview">
    Browse the full tool reference by category.
  </Card>
  <Card title="Connect a client" icon="plug" href="/mcp/connect">
    Point Claude, Cursor, or Claude Code at the server.
  </Card>
</Columns>
