Skip to main content
Glama

Beamfar website monitoring (read only)

Explain incident

explain_incident
Read-onlyIdempotent

Diagnose the likely root cause of ONE incident from stored evidence using deterministic rules. Returns: cause category (your_server, host, cdn, dns_provider, registrar, certificate, deploy_change, internet_wide, or unknown), confidence with supporting reasons, who should act, fix steps, linked evidence, ruled-out causes, and unchecked items. Use when: explaining why an outage happened and what to fix; frame conclusions as 'likely' with confidence and treat 'unknown' as normal. Do not use for raw probe measurements (use incident_evidence) or general change logs (use what_changed). Parameters & behavior: pass an incident_id (inc_...) from list_incidents or site_status; reads a fast stored rule-based analysis (bounded single-incident payload, no live probing), fences quoted status pages/commits as untrusted data, and returns 'Data unavailable' for unknown incident_id.

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": "explain_incident"
  }
}

Input Schema

NameRequiredDescriptionDefault
incident_idYesIncident identifier (e.g. inc_...) obtained from list_incidents or site_status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations (readOnly/idempotent/non-destructive), disclosing that analysis is stored and rule-based with no live probing, that the payload is bounded to a single incident, that quoted status pages and commits are fenced as untrusted data, and that an unknown incident_id yields 'Data unavailable' rather than an error. These are exactly the behavioral traits an agent needs and none are derivable from structured fields.

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 purpose and usage before the return list, and the terse 'Use when / Do not use for' phrasing is efficient. The nine-item Returns enumeration is long, but it earns its place because no output schema exists; the 'Parameters & behavior' block is dense rather than wasteful.

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?

With a single fully described parameter, no output schema, and a read-only annotation set, this description covers everything needed: what it returns, when to use it, how to interpret confidence and 'unknown', where to source the ID, and what happens on bad input. Nothing material is missing for correct invocation.

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 schema already documents incident_id, including that it comes from list_incidents or site_status and uses the inc_ prefix, so the description largely restates it. It adds only marginal meaning by noting the graceful 'Data unavailable' outcome for a bad ID, which signals validation behavior rather than parameter format.

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 — 'Diagnose the likely root cause of ONE incident from stored evidence using deterministic rules' — and pins the scope to a single incident. The capitalized 'ONE' plus the deterministic-rules qualifier makes it clearly distinct from sibling tools like incident_evidence and what_changed.

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?

Gives an explicit 'Use when' condition (explaining why an outage happened and what to fix) and explicit exclusions with named alternatives: raw probe measurements go to incident_evidence, general change logs go to what_changed. It also instructs how to phrase conclusions ('likely', confidence, 'unknown' is normal), which shapes correct use.

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.