PagerTree MCP by usefulapi

v1.2.1
io.usefulapi/pagertree Checked 3 days ago Published 1 day ago

Read alerts, teams and on-call shifts; create, acknowledge and resolve alerts in PagerTree.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

pagertree_list_alerts List alerts

List alerts in the PagerTree account. Filter by state (open, dropped, suppressed, snoozed, acknowledged, resolved) or urgency. PagerTree API: GET /alerts.

ParameterTypeDescription
limitintegerObjects per page, 1 to 100 (default 10).
offsetintegerObjects to skip (default 0). Use offset or page, not both.
pageintegerPage number, starting at 1. Uses limit to compute the offset.
statusstringOnly alerts in this state: open, dropped, suppressed, snoozed, acknowledged or resolved.
urgencystringOnly alerts with this urgency.

pagertree_get_alert Get an alert

Get one alert by id: title, description, urgency, state, tags, acknowledged and resolved times. PagerTree API: GET /alerts/{id}.

ParameterTypeDescription
alert_id *stringThe alert id (from pagertree_list_alerts).

pagertree_list_alert_comments List alert comments

List the comments on one alert, in the order PagerTree returns them. PagerTree API: GET /alerts/{id}/comments.

ParameterTypeDescription
alert_id *stringThe alert id (from pagertree_list_alerts).
limitintegerObjects per page, 1 to 100 (default 10).
offsetintegerObjects to skip (default 0). Use offset or page, not both.
pageintegerPage number, starting at 1. Uses limit to compute the offset.

pagertree_list_teams List teams

List the teams in the PagerTree account. Each team has one active schedule and one active escalation policy. PagerTree API: GET /teams.

ParameterTypeDescription
limitintegerObjects per page, 1 to 100 (default 10).
offsetintegerObjects to skip (default 0). Use offset or page, not both.
pageintegerPage number, starting at 1. Uses limit to compute the offset.

pagertree_get_team Get a team

Get one team by id. PagerTree API: GET /teams/{id}.

ParameterTypeDescription
team_id *stringThe team id (from pagertree_list_teams).

pagertree_get_team_oncall Get who is on call for a team

Return the people on call for a team right now. Handles repeating events and rotations. PagerTree API: GET /teams/{id}/current_oncall.

ParameterTypeDescription
team_id *stringThe team id (from pagertree_list_teams).

pagertree_list_team_alerts List a team's alerts

List the alerts assigned to one team. PagerTree API: GET /teams/{id}/alerts.

ParameterTypeDescription
team_id *stringThe team id (from pagertree_list_teams).
limitintegerObjects per page, 1 to 100 (default 10).
offsetintegerObjects to skip (default 0). Use offset or page, not both.
pageintegerPage number, starting at 1. Uses limit to compute the offset.

pagertree_list_schedules List schedules

List the on-call schedules in the PagerTree account. PagerTree API: GET /schedules.

ParameterTypeDescription
limitintegerObjects per page, 1 to 100 (default 10).
offsetintegerObjects to skip (default 0). Use offset or page, not both.
pageintegerPage number, starting at 1. Uses limit to compute the offset.

pagertree_get_schedule_oncall Get who is on call for a schedule

Return the people on call for a schedule right now. Handles repeating events and rotations. PagerTree API: GET /schedules/{id}/current_oncall.

ParameterTypeDescription
schedule_id *stringThe schedule id (from pagertree_list_schedules).

pagertree_list_schedule_window_events List a schedule's on-call shifts in a time window

Return who is on call for a schedule between two UTC times, with repeating events and rotations expanded. PagerTree API: GET /schedules/{id}/window_events.

ParameterTypeDescription
end *stringUTC date and time, for example 2026-12-01 07:00:00.
schedule_id *stringThe schedule id (from pagertree_list_schedules).
start *stringUTC date and time, for example 2026-12-01 07:00:00.

pagertree_list_escalation_policies List escalation policies

List the escalation policies. Each policy sets how an alert moves through a team's on-call schedule. PagerTree API: GET /escalation_policies.

ParameterTypeDescription
limitintegerObjects per page, 1 to 100 (default 10).
offsetintegerObjects to skip (default 0). Use offset or page, not both.
pageintegerPage number, starting at 1. Uses limit to compute the offset.

pagertree_list_users List users

List the users in the PagerTree account with their emails and phones. PagerTree API: GET /users.

ParameterTypeDescription
limitintegerObjects per page, 1 to 100 (default 10).
offsetintegerObjects to skip (default 0). Use offset or page, not both.
pageintegerPage number, starting at 1. Uses limit to compute the offset.

pagertree_list_integrations List integrations

List the integrations that send alerts into PagerTree (monitoring tools, email, and so on). PagerTree API: GET /integrations.

ParameterTypeDescription
limitintegerObjects per page, 1 to 100 (default 10).
offsetintegerObjects to skip (default 0). Use offset or page, not both.
pageintegerPage number, starting at 1. Uses limit to compute the offset.

pagertree_list_maintenance_windows List maintenance windows

List the maintenance windows: named start and end times, with a time zone, linked to integrations. PagerTree API: GET /maintenance_windows.

ParameterTypeDescription
limitintegerObjects per page, 1 to 100 (default 10).
offsetintegerObjects to skip (default 0). Use offset or page, not both.
pageintegerPage number, starting at 1. Uses limit to compute the offset.

pagertree_create_alert Create an alert

Create an alert and notify its destinations right away. Give a title, an urgency and at least one destination (team, router or account user). Set incident to flag it as an incident. PagerTree API: POST /alerts.

ParameterTypeDescription
title *stringThe alert title.
urgency *stringThe alert urgency.
account_user_idsarrayAccount user ids to notify.
descriptionstringThe alert description.
incidentbooleantrue to flag the alert as an incident.
incident_messagestringIncident message (only with incident).
incident_severitystringIncident severity (only with incident).
router_idsarrayRouter ids to route the alert through.
tagsarrayTags to attach to the alert.
team_idsarrayTeam ids to notify (from pagertree_list_teams).

pagertree_acknowledge_alert Acknowledge an alert

Acknowledge an alert to stop its escalation. The alert must be open, dropped, suppressed or snoozed. PagerTree API: POST /alerts/{id}/acknowledge.

ParameterTypeDescription
alert_id *stringThe alert id (from pagertree_list_alerts).

pagertree_resolve_alert Resolve an alert

Resolve an alert and close it. The alert must be open, dropped, acknowledged or snoozed. PagerTree API: POST /alerts/{id}/resolve.

ParameterTypeDescription
alert_id *stringThe alert id (from pagertree_list_alerts).

pagertree_add_alert_comment Add a comment to an alert

Add a comment to an alert, for example a status note for the on-call team. PagerTree API: POST /alerts/{id}/comments.

ParameterTypeDescription
alert_id *stringThe alert id (from pagertree_list_alerts).
body *stringThe comment text.