Tools:
get_related_incidents, get_past_incidents, get_outlier_incidentCategory: IncidentsMode: Read-onlyRequires: Event Intelligence package or Digital Operations planOverview
These advanced incident analysis tools leverage PagerDuty’s Event Intelligence capabilities to help you identify patterns, find similar past incidents, and detect anomalies. This information is invaluable for faster incident resolution and understanding incident trends.get_related_incidents
Find incidents that are currently happening and are related to the specified incident.Description
Returns the 20 most recent related incidents that are impacting other responders and services. Related incidents are identified through machine learning analysis of incident metadata, service dependencies, and timing patterns.Parameters
The ID of the incident to find related incidents for.Example:
"Q1234567890ABCDE"Additional attributes to include in the response.Allowed values:
incident- Include full incident details
["incident"]Usage Examples
Find related incidents
Find related incidents with full details
Response Format
Returns aRelatedIncidentsResponse object.
List of related incidents.
Use Cases
get_past_incidents
Find historical incidents similar to the current incident.Description
Returns incidents from the past 6 months that have similar metadata and were generated on the same service. By default, returns 50 past incidents with similarity scores. This helps you learn from previous resolutions and identify recurring patterns.Parameters
The ID of the incident to find past incidents for.Example:
"Q1234567890ABCDE"Number of results to return. Must be between 1 and 999.Example:
100Include the total count of past incidents in the response.Example:
trueUsage Examples
Find past similar incidents
Get more past incidents
Response Format
Returns aPastIncidentsResponse object.
List of past incidents sorted by similarity.
Similarity score between 0 and 1, where higher scores indicate greater similarity.
Total number of past incidents found (if
total parameter was true).The limit that was applied to the results.
Use Cases
get_outlier_incident
Identify if an incident is an outlier for its service.Description
Analyzes an incident to determine if it deviates from expected patterns for the same service. Outlier incidents are rare or unusual compared to the normal incident patterns, which may indicate a novel issue requiring different handling.Parameters
The ID of the incident to analyze.Example:
"Q1234567890ABCDE"The start of the date range to analyze. Maximum range is 6 months.Example:
"2024-01-01T00:00:00Z"Usage Examples
Check if incident is an outlier
Check outlier status with date range
Response Format
Returns anOutlierIncidentResponse object.
Outlier incident analysis results.
The incident that was analyzed.
The incident ID
The incident title
When the incident was created
Use Cases
Common Errors
Combining Tools for Incident Analysis
These tools work well together for comprehensive incident analysis:Related Tools
get_incident
Get the main incident details
list_incident_notes
Check notes from past similar incidents
manage_incidents
Take action on related incidents
list_incidents
Find other recent incidents
Source Reference
Functions:get_related_incidentsinpagerduty_mcp/tools/incidents.py:280get_past_incidentsinpagerduty_mcp/tools/incidents.py:259get_outlier_incidentinpagerduty_mcp/tools/incidents.py:239
RelatedIncidentsQuery,RelatedIncidentsResponseinpagerduty_mcp/models/incidents.pyPastIncidentsQuery,PastIncidentsResponseinpagerduty_mcp/models/incidents.pyOutlierIncidentQuery,OutlierIncidentResponseinpagerduty_mcp/models/incidents.py