Skip to main content
Glama

WatchFor

Get incident

get_incident
Read-onlyIdempotent

Full detail of one incident: the humanised message, the fire-time rule, root_cause (expected vs detected — e.g. 'HTTP Status Code = 404'), also_failing (the monitor's other rules the same failed checks tripped, held into this one incident), the trigger snapshot (metrics the probe reported, which locations confirmed — location_id / location_name; the prober fields are deprecated), fire_count and the event timeline. fire_count is 1 when the incident opens and grows by one with each keep-alive refresh from the alerting engine (about hourly) while it stays open — not separate firings, incidents or notifications.

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

Input Schema

NameRequiredDescriptionDefault
incident_idYesIncident number, e.g. 2828

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, so the safety profile is covered. The description adds real value beyond them: it explains that also_failing folds other tripped rules into the same incident, that the prober fields in the trigger snapshot are deprecated, and that fire_count increments via hourly keep-alive refresh rather than representing new firings — a genuinely non-obvious semantic that prevents misreading the data. It stops short of stating behavior on a missing/invalid incident_id.

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 one-line purpose, then a compact enumeration of returned fields. It is a single dense sentence with several nested parentheticals, which is slightly heavy, but each clause carries information an agent needs to interpret the payload.

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

Completeness4/5

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

With no output schema, the description carries the return-value burden and does so by naming the key fields and clarifying the two most confusing ones (also_failing, fire_count). Remaining gaps are minor for a single-parameter read tool: error/not-found behavior and any cost or rate expectations are unstated.

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

Parameters3/5

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

Schema coverage is 100%, and the single parameter is documented in the schema as 'Incident number, e.g. 2828'. The description does not mention incident_id or add any format/lookup guidance, so it neither helps nor hurts beyond the schema baseline.

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

Purpose4/5

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

Opens with a specific verb+resource and scope: 'Full detail of one incident', then enumerates the payload (humanised message, fire-time rule, root_cause, also_failing, trigger snapshot, fire_count, timeline). It clearly distinguishes what this returns versus a lightweight listing, but never names or contrasts a sibling such as get_incident_stats, so the differentiation is by content rather than by routing.

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

Usage Guidelines3/5

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

Usage is implied: an agent can infer this is for pulling everything about a single known incident. There is no explicit when-to-use, when-not-to-use, or pointer to alternatives (e.g. stats vs. detail, or the acknowledge/resolve siblings) to guide selection.

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.