Skip to main content
Glama

All's Well

Get incident

get-incident
Read-only

Get one incident with its evidence, to find the cause before changing anything. A monitor's incident has the checks before, during and after it, and names any bot protection that blocked checks. A server's has disk usage samples and system facts. A site's has its last report and error. Offer a fix only if the cause is in the code you are working on.

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": "get-incident"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe incident id (from list-incidents).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description goes beyond that by disclosing what the payload actually contains per incident type (before/during/after checks, bot protection blockers, disk samples, system facts, last report and error) and adds an operational rule about offering fixes.

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?

Four short sentences, purpose front-loaded, then payload detail, then the operational caveat. The monitor/server/site breakdown is slightly list-like but each line earns its place by telling the agent what evidence it will receive.

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 one required parameter and no output schema, the description carries the return-value burden and does so by describing expected evidence per incident source. It stops short of covering failure modes such as an unknown or stale incident id, which would matter before acting on the result.

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 description coverage is 100% and the single id parameter is documented in-schema as coming from list-incidents. The description adds no additional meaning about the id (format, invalid-id behavior), so the schema does the work and the baseline 3 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 a specific verb and resource ('Get one incident with its evidence'), and the singularity plus the per-resource evidence breakdown makes clear this is the detail fetch rather than the listing. An agent can tell what it retrieves 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 Guidelines4/5

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

Frames the call in a workflow: read the incident to find the cause 'before changing anything,' and only offer a fix if the cause is in the code being worked on. That is real when-to-use and when-not-to-act guidance, though no sibling tool (list-incidents, get-monitor) is named as an alternative path.

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