Skip to main content
Glama
PagerDuty

pagerduty-mcp

Official
by PagerDuty

get_past_incidents

Read-onlyIdempotent

Retrieve past incidents similar to a given incident, using metadata and service context to find related issues within the last 6 months.

Instructions

Get Past Incidents related to a specific incident ID.

Past Incidents returns Incidents within the past 6 months that have similar
metadata and were generated on the same Service as the parent Incident.
By default, 50 Past Incidents are returned. This feature is currently available
as part of the Event Intelligence package or Digital Operations plan only.

Args:
    incident_id: The ID of the incident to get past incidents for
    query_model: Query parameters including limit and total flag

Returns:
    List of past incidents with similarity scores

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
incident_idYes
query_modelYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitYesThe maximum number of Incidents requested
totalNoThe total number of Past Incidents if the total parameter was set
past_incidentsYesList of past incidents
Behavior4/5

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

Annotations already show readOnlyHint, idempotentHint, destructiveHint. Description adds meaningful behavioral context: returns past 6 months, same service, default 50. No contradictions.

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?

Description is concise and front-loaded. Every sentence adds value. Could be slightly tighter but no extra content.

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?

Covers scope, time frame, default count, package requirement. Output schema exists, so return description is sufficient. Complete for a read-only tool with good annotations.

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 has 0% description coverage per metric. Description adds basic meaning for incident_id and query_model but not much beyond what schema provides (e.g., limit/total details already in schema). Adequate but minimal added value.

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?

Clearly states the verb 'Get' and resource 'Past Incidents related to a specific incident ID'. Further specifies scope (past 6 months, same service, similar metadata). Distinguishes from siblings like get_related_incidents.

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?

Provides context (availability with Event Intelligence or Digital Operations plan) but no explicit when-to-use or alternatives. Adequate but lacks guidance on when not to use.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PagerDuty/pagerduty-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server