Skip to main content
Glama

Incidents, open now or recent; open outages and slowdowns carry the likely cause

incidents
Read-onlyIdempotent

Wraps GET /api/incidents. Incidents, open now or recent; open outages and slowdowns carry the likely cause. Call this to see what went wrong and why: open and recent incidents, newest first, with the likely cause on open outages and slowdowns. Page through with limit and offset.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "incidents"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoonly these kinds, comma-separated: site_down,slow for outages and slowdowns
siteNosite slug
limitNopage size, clamped to 1–100
stateNoopen: open now; recent: newest first, open or closed; resolved: closed ones only, newest firstopen
offsetNorows to skip, at most 1000

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changed
    • addedInput schema / properties / kind
      Added value: +{
      +  "description": "only these kinds, comma-separated: site_down,slow for outages and slowdowns",
      +  "type": "string"
      +}
    • changedInput schema / properties / state / description
      Previous value: -"open: open now; recent: newest first, open or closed"New value: +"open: open now; recent: newest first, open or closed; resolved: closed ones only, newest first"
    • changedInput schema / properties / state / enum
      Previous value: -[
      -  "open",
      -  "recent"
      -]New value: +[
      +  "open",
      +  "recent",
      +  "resolved"
      +]
    • addedOutput schema / properties / data / items / description
      Added value: +"A problem the monitor found, open or resolved"
    • addedOutput schema / properties / data / items / properties / cause / description
      Added value: +"what the check saw, in our fixed words (never the site's text)"
    • addedOutput schema / properties / data / items / properties / details / description
      Added value: +"the kind's own facts: counts, before and after values, the page (`page`), how it ended (`resolution`)"
    • changedOutput schema / properties / data / items / properties / dismissed / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "at": {
      -        "description": "ISO 8601, UTC (…Z)",
      -        "type": "string"
      -      },
      -      "by": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "at": {
      +        "description": "when (ISO 8601, UTC)",
      +        "type": "string"
      +      },
      +      "by": {
      +        "description": "who dismissed it (a short name)",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / data / items / properties / domain / description
      Added value: +"the domain, for domain incidents (expiry, DNS, the registrar's flags)"
    • addedOutput schema / properties / data / items / properties / id / description
      Added value: +"the incident's id, for /api/incidents/{id} and its writes"
    • addedOutput schema / properties / data / items / properties / kind / description
      Added value: +"what kind of problem: site_down, slow, page_broken, broken_links, … (label says it in words)"
    • addedOutput schema / properties / data / items / properties / label / description
      Added value: +"the kind in words, as the dashboard says it"
    • changedOutput schema / properties / data / items / properties / likelyCause / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "clues": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "likely": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "clues": {
      +        "description": "what points there: errors, other sites, where it was seen, pushes and changes just before",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "likely": {
      +        "description": "the likely cause in a sentence; null when the rules found none",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "missing": {
      +        "description": "why there's none: its checks were purged (they're kept RETENTION_DAYS) before a diagnosis was saved",
      +        "enum": [
      +          "checks_expired"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / data / items / properties / likelyCause / description
      Previous value: -"open outages and slowdowns only: the monitor's rules, as in the alert"New value: +"outages, slowdowns and broken pages only: the monitor's rules, as in the alert; a resolved one's as saved when it ended"
    • removedOutput schema / properties / data / items / properties / resolvedAt / anyOf
      Removed value: -[
      -  {
      -    "description": "ISO 8601, UTC (…Z)",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / resolvedAt / description
      Added value: +"when it ended (ISO 8601, UTC); null while it's open"
    • addedOutput schema / properties / data / items / properties / resolvedAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / data / items / properties / severity / description
      Added value: +"down: an outage, alerted at once; warning: something to fix"
    • changedOutput schema / properties / data / items / properties / site / description
      Previous value: -"site slug"New value: +"the site's slug; null for a domain's or project's incident"
    • changedOutput schema / properties / data / items / properties / startedAt / description
      Previous value: -"ISO 8601, UTC (…Z)"New value: +"when it began (ISO 8601, UTC)"
    • changedOutput schema / properties / data / items / properties / url / description
      Previous value: -"the page or file it's about"New value: +"the page or file it's about; null when it's about the whole site or a domain"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful behavior beyond that: results are newest first and open outages/slowdowns carry a likely cause. It does not mention the 1000-row offset cap or the 1–100 limit clamp, which are behavioral constraints an agent paging results would want surfaced.

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?

Short and front-loaded, with the purpose in the first two sentences. It loses a point for near-verbatim repetition of the title phrase ('open outages and slowdowns carry the likely cause' appears twice) and for the low-value 'Wraps GET /api/incidents' implementation detail.

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 an output schema present, return values need no explanation, and all five optional parameters are fully described in the schema. The description supplies ordering and the cause-on-open-incidents detail, leaving only pagination limits unstated, which is a minor gap for a read-only list tool.

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%, so every parameter including the state enum and the limit/offset clamps is already documented in the schema. The description only restates paging ('Page through with limit and offset') and gestures at state via 'open and recent', adding no syntax or semantics beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource ('Call this to see what went wrong and why: open and recent incidents, newest first') and scopes it to the incident list rather than a single incident. It does not explicitly name the sibling list-vs-detail split (incidents_by_id), so differentiation is implied by the plural resource rather than stated.

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?

'Call this to see what went wrong and why' gives a use case, and the state parameter's enum is described in the schema. However, there is no explicit when-not guidance and no mention of incidents_by_id for fetching a single incident, so the agent must infer the boundary from sibling names alone.

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