Skip to main content
Glama
PagerDuty

pagerduty-mcp

Official
by PagerDuty

get_responder_metrics

Read-onlyIdempotent

Retrieve aggregated responder metrics by team from PagerDuty Analytics, including oncall seconds, interruption counts, and incident counts for a specified date range.

Instructions

Get responder metrics aggregated by team from PagerDuty Analytics.

Returns per-user oncall seconds, interruption counts (business hours, off hours, sleep hours),
engaged time, and incident counts for a given date range. Powered by PagerDuty's analytics
engine — oncall hours are computed authoritatively, accounting for schedule overlaps.

Args:
    date_range_start: ISO8601 DateTime. Incidents with created_at before this value are omitted.
    date_range_end: ISO8601 DateTime. Incidents with created_at >= this value are omitted.
    team_ids: Only incidents related to these teams will be included.
    responder_ids: Only incidents related to these responders will be included.
    urgency: Filter by urgency: 'high' or 'low'.
    time_zone: The time zone to use for results and grouping (e.g. 'America/New_York').
    order: Sort order: 'asc' or 'desc'.
    order_by: Field to sort results by.

Returns:
    JSON string of ListResponseModel containing AnalyticsResponderMetrics objects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderNo
urgencyNo
order_byNo
team_idsNo
time_zoneNo
responder_idsNo
date_range_endYes
date_range_startYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the description adds limited behavioral context. It mentions 'oncall hours are computed authoritatively, accounting for schedule overlaps,' which provides extra confidence but does not disclose any new behavioral traits beyond what annotations convey.

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?

The description is well-structured with a clear purpose statement, a brief paragraph on functionality, and a bullet-point Args list. It is appropriately sized given the parameter count, though the 'Returns' line is slightly redundant with the output schema present. No wasted words.

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?

Given 8 parameters (2 required), 0% schema description coverage, and presence of output schema, the description covers all parameters with types and acceptable values, explains the return type, and provides operational context (authoritative computation). This is complete for effective agent use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, but the description provides a detailed Args section explaining each parameter, including value formats (ISO8601, 'asc'/'desc'). This fully compensates for the missing schema descriptions and adds meaningful guidance for correct invocation.

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 clearly states the tool gets responder metrics aggregated by team from PagerDuty Analytics, listing specific metrics (oncall seconds, interruption counts, engaged time, incident counts). This distinguishes it from sibling tools like get_responder_load_metrics and get_incident_metrics_* by focusing on responder-level analytics.

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 defines the tool's purpose and parameters but does not explicitly state when to use it versus alternatives. It implies usage for responder metrics but lacks guidance on exclusions or when other analytics tools are more appropriate. The context of date range and filters is clear, but no alternatives are mentioned.

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