Skip to main content
Glama

One incident in full: an outage's whole diagnosis, where it was seen and how it failed

incidents_by_id
Read-onlyIdempotent

Wraps GET /api/incidents/{id}. One incident in full: an outage's whole diagnosis, where it was seen and how it failed. Call this for the story of one incident, open or resolved: the likely cause, every clue, which locations saw it, what the other location said, how the checks failed, and how long it lasted. A resolved outage's diagnosis is saved minutes after it ends, so it outlasts the raw checks.

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": {
      "id": "<id>"
    },
    "name": "incidents_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesincident id, as in /api/incidents

Output Schema

NameRequiredDescriptionDefault
dataNo
next_stepsNocalls that usually come next, each naming its tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the description's job is lighter. It still adds genuine context the annotations cannot: it maps to a specific REST endpoint and notes the durability trait that a resolved incident's diagnosis is persisted minutes after it ends and outlasts the raw checks, which tells the agent the data remains meaningful post-resolution.

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 endpoint and a one-line summary, then the value proposition. Some phrasing is decorative ('the story of one incident', 'every clue'), but it stays within three sentences and every clause carries informational weight about returned content.

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 single-parameter read tool with an output schema, nothing material is missing: it identifies the endpoint, the trigger condition, the states handled, the persisted-diagnosis behavior, and the shape of what comes back. An agent can decide and invoke correctly from this description plus the schema.

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?

There is a single parameter 'id' with 100% schema coverage, so the schema already explains it ('incident id, as in /api/incidents'). The description adds no format or sourcing detail for the id, so the baseline of 3 for fully documented parameters applies.

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 the concrete verb+resource ('Wraps GET /api/incidents/{id}. One incident in full') and enumerates what the agent gets back: likely cause, clues, seeing locations, counterpart location, failed checks, duration. The singular 'one incident' framing cleanly separates it from the list-oriented 'incidents' sibling without needing to name it.

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

Usage Guidelines4/5

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

'Call this for the story of one incident, open or resolved' gives a clear trigger condition and explicitly covers both incident states, which is real guidance beyond the name. It stops short of naming when not to use it or pointing at an alternative such as listing incidents first to obtain the id.

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.

Resources