Skip to main content
Glama
angelus-h

PagerDuty MCP Server

by angelus-h

get_incident_alerts

Retrieve all alerts linked to an incident by providing its PagerDuty ID. Get a list of alert details and total alert count.

Instructions

Get all alerts associated with an incident.

Args: incident_id: PagerDuty incident ID

Returns: Dict with keys: - alerts: List of alert details - total: Count of alerts

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
incident_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does not state whether the tool is read-only, what permissions are required, or whether it involves pagination or rate limits. It only describes the return structure, which is helpful but insufficient for a complete behavioral picture.

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?

The description is compact and organized with clear 'Args' and 'Returns' sections. Every sentence adds value, and there is no redundant or filler content. It is easy to parse and exactly as long as needed.

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?

Given the tool's low complexity (one parameter, simple list output) and the presence of an output schema (per context signals), the description is adequately complete. It covers the essential input and output structure, though it omits potential error conditions or edge cases like invalid incident IDs or empty alert lists. This is a minor gap for such a simple read operation.

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 0%, so the description must compensate. It adds a minimal clarification that incident_id is a 'PagerDuty incident ID', which is more meaningful than the bare string type in the schema. However, it offers no format, example, or constraints, so it does not fully compensate for the lack of schema documentation.

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?

The description uses a specific verb ('Get') and resource ('all alerts associated with an incident'), clearly distinguishing it from siblings like get_incident (gets incident details) or get_incident_timeline (gets timeline). The scope is unambiguous and aligns perfectly with the tool's name.

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?

The description implies the tool is used to fetch alerts for a given incident, but it does not explicitly state when to use it versus alternatives like get_incident or list_incidents. There is no mention of complementary tools or exclusions, leaving the agent to infer usage from context.

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/angelus-h/angelush-pagerduty-mcp-server'

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