Skip to main content
Glama

Get incident

get_incident
Read-onlyIdempotent

Get one incident by UID (incidents have no slug); an unknown UID fails with "incident not found". Returns the incident: number, state, timestamps and failure counts. with=check adds its check and with=events up to 50 timeline events. include=notifications adds its notification attempts, newest first; status and limit filter only that list, and with and include combine freely. Use list_incidents to search across incidents, and diagnose_check for a check's full triage briefing. Read-only: works with mcp:read tokens.

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": {
      "uid": "<uid>"
    },
    "name": "get_incident"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesIncident UID returned by list_incidents or diagnose_check.
withNoComma-separated extra fields. "check" includes the underlying check; "events" includes up to 50 most-recent timeline events (status transitions, notifications, manual notes). Example: "check,events".
limitNoWith include=notifications: max attempts (1-500, default 20).
statusNoWith include=notifications: only attempts in this delivery status. Allowed: pending, sent, failed, cancelled, skipped.
includeNoExtra lists to return with the incident. An unknown value is an error.

Output Schema

NameRequiredDescriptionDefault
uidYesIncident UID.
kindNoWhat the incident is about: check, slo_burn or degraded.
checkNoUnderlying check, when requested with with=check.
stateNoactive or resolved.
titleNoCustom title, when one was set.
eventsNoTimeline events (status transitions, notifications, manual notes), newest first; present when with=events was passed.
numberNoShort per-org reference, e.g. 42.
checkUidNoUID of the check the incident is about.
checkNameNoName of that check.
checkSlugNoSlug of that check.
startedAtNoRFC3339 timestamp when the incident opened.
resolvedAtNoRFC3339 timestamp when it resolved; absent while active.
descriptionNoCustom description, when one was set.
failureCountNoNumber of failures recorded for the incident.
relapseCountNoNumber of times the incident reopened.
notificationsNoNotification attempts, newest first; present when include=notifications was passed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / status / maxLength
      Added value: +2048
    • addedInput schema / properties / uid / maxLength
      Added value: +2048
    • addedInput schema / properties / uid / minLength
      Added value: +1
    • addedInput schema / properties / with / maxLength
      Added value: +2048
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, but the description still adds real value: the exact failure mode ("incident not found" for unknown UID), the token scope needed (mcp:read), the 50-event cap, and newest-first ordering. It stops short of describing pagination or output shape, but with an output schema present that is a minor gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the identity and error behavior, then parameters, then sibling routing — a sensible order with no filler. The middle clauses about with/include are dense and slightly run-on, costing a point, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter read tool with full schema coverage and an output schema, this covers everything an agent needs: identity, failure behavior, expansion options with their limits and ordering, filtering scope, auth requirement, and alternatives. Nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above that by adding behavior the schema doesn't state — events ordered newest-first, and the crucial scoping rule that status/limit filter only the notifications list, not the incident itself. That scoping nuance is the most likely source of a wrong call and it is called out explicitly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Get one incident") plus the lookup key (UID) and the notable absence of a slug. It immediately distinguishes itself from list_incidents and diagnose_check, so an agent can pick it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: use list_incidents to search across incidents, diagnose_check for a check's triage briefing. It also states how with and include interact ("combine freely") and that status/limit scope only to the notifications list, which is exactly the kind of when-to-use detail that prevents misuse.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.