Skip to main content
Glama

WatchFor

Exclude or include incident in uptime

set_incident_uptime_exclusion
Idempotent

Marks a resolved incident as a false positive (excluded: true, write scope) or removes that mark (excluded: false). An excluded incident stays on record with its timeline, notes and post-mortem, but is left out of uptime, SLA, reports and the public status page; reason (up to 500 characters) records why it was not real downtime. Excluding an incident that is still firing or acknowledged fails with HTTP 409. Returns the updated incident with excluded_from_uptime, exclusion_reason, excluded_by and excluded_at.

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>",
      "excluded": "<excluded>"
    },
    "name": "set_incident_uptime_exclusion"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy it was not real downtime, up to 500 characters
excludedYestrue = exclude from uptime (false positive), false = include again
incident_idYesIncident number, e.g. 2828

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses what survives the exclusion (timeline, notes, post-mortem), what is suppressed (uptime, SLA, reports, public status page), the 500-character reason limit, the 409 precondition failure, and which fields come back (excluded_from_uptime, exclusion_reason, excluded_by, excluded_at). It also matches the annotations' reversible framing (idempotentHint=true, destructiveHint=false) since excluded:false undoes the mark.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One dense paragraph, front-loaded with the action and its inverse, then side effects, then the failure mode and return values. No filler sentences; every clause carries information an agent would otherwise have to guess.

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 no output schema, the description compensates by naming the returned fields, and it covers preconditions (409) and visibility consequences for a three-parameter mutation. Nothing an agent needs in order to call it safely is missing.

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%, so incident_id, excluded, and reason are already documented in the schema, including the 500-character cap and the true/false meaning. The description reinforces 'false positive' framing and adds the 'why it was not real downtime' intent, but supplies little syntax or format detail beyond the schema.

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+resource pair ('Marks a resolved incident as a false positive ... or removes that mark') and immediately names the downstream effect (uptime, SLA, reports, status page). This clearly distinguishes it from sibling tools like resolve_incident or acknowledge_incident, which change incident state rather than its uptime accounting.

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?

Explains the use case (false-positive incidents) and gives a concrete when-not: excluding an incident that is still firing or acknowledged fails with HTTP 409, which implies resolving first. It does not explicitly name resolve_incident or any alternative sibling, so it stops short of full routing guidance.

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.