Skip to main content
Glama

Recent Production Incidents

list_recent_incidents
Read-onlyIdempotent

List recent production incidents from PagerDuty or OpsGenie with their severity, MTTR (mean time to recovery), and affected services. Use this to understand reliability posture or investigate a recent outage in context with deployment activity. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of days to look back for incidents (default: 30)
limitNoMaximum number of incidents to return, newest first (default and max: 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of incidents to return (default: 20)"New value: +"Maximum number of incidents to return, newest first (default and max: 100)"
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  2. Added
  3. Removed
  4. First observed

TDQS

A3.9/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, so the safety profile is fully covered and the trailing "Read-only" sentence merely repeats it. The description does add useful context about what the records contain (severity, MTTR, affected services) and that data comes from external incident systems, but it omits what happens when no integration is configured and whether MTTR is computed or sourced.

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?

Two tight, front-loaded sentences with the purpose and output fields first and the usage hint second. The final "Read-only." fragment adds no value because the readOnlyHint annotation already declares it, but the rest of the text is economical.

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 no output schema, the description usefully names the key returned fields, and the two optional parameters are fully documented in the schema. Remaining gaps are minor: no mention of which incident sources must be connected or how results behave when the lookback window is large.

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%, with both parameters (days, limit) documented including defaults and the max of 100, so the schema carries the semantic load. The description adds no parameter-level detail beyond what the schema states, which is the baseline case for a 3.

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 (list) plus resource (recent production incidents), names the upstream sources (PagerDuty or OpsGenie), and enumerates the returned fields (severity, MTTR, affected services). It is unmistakably distinct from the sibling tools, which are repository, PR, DORA, and org-health oriented.

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?

Gives two concrete use cases: understanding reliability posture and investigating a recent outage in context with deployment activity. That is clear context, but there are no exclusions and no named alternative tools (e.g., get_dora_summary) for adjacent reliability questions, so it falls short of explicit when/when-not 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.

Resources