Home / Servers / PagerDuty API / get_analytics_metrics_incidents_service
Get aggregated service data
An MCP tool from the PagerDuty API server, hosted on mcp.hjlabs.in.
Get aggregated service data Provides aggregated metrics for incidents aggregated into units of time by service. Example metrics include Seconds to Resolve, Seconds to Engage, Snoozed Seconds, and Sleep Hour Interruptions.… [POST /analytics/metrics/incidents/services]
Name on the gateway: pagerduty_api__get_analytics_metrics_incidents_service · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
filters | object | Accepts a set of filters to apply to the Incidents before aggregating. Any… |
time_zone | string | The time zone to use for the results and grouping. Must be in tzdata format.… |
order | asc | desc | The order in which the results were sorted; asc for ascending, desc for… |
order_by | string | The column that was used for ordering the results. |
aggregate_unit | day | week | month | The time unit to aggregate metrics by. If no value is provided, the metrics… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "pagerduty_api__get_analytics_metrics_incidents_service",
"arguments": {}
}Or connect the PagerDuty API server directly, which lists 459 tools including this one:
claude mcp add --transport http hj-pagerduty-api https://mcp.hjlabs.in/mcp/pagerduty-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get aggregated service data tool with filters set to ….