Zenduty MCP by usefulapi
v1.2.1Read on-call schedules and incidents; create and update incidents and notes in Zenduty.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
zenduty_list_teams List teams
List the teams in the Zenduty account with their unique_id, name and owner. Start here to get a team_id for the other tools. Zenduty API: GET /api/account/teams/.
zenduty_list_services List services
List the services of a team: name, status (0 disabled, 1 active, 2 warning, 3 critical, 4 under maintenance), escalation policy and unique_id. Zenduty API: GET /api/account/teams/{team_id}/services/.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | Team unique_id (from zenduty_list_teams). |
zenduty_list_escalation_policies List escalation policies
List the escalation policies of a team: name, rules and repeat policy. Zenduty API: GET /api/account/teams/{team_id}/escalation_policies/.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | Team unique_id (from zenduty_list_teams). |
zenduty_list_schedules List on-call schedules
List the on-call schedules of a team with their layers, overrides and time zone. Zenduty API: GET /api/account/teams/{team_id}/schedules/.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | Team unique_id (from zenduty_list_teams). |
zenduty_list_team_members List team members
List the members of a team with their username and role. Use the username for assigned_to in the incident tools. Zenduty API: GET /api/account/teams/{team_id}/members/.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | Team unique_id (from zenduty_list_teams). |
zenduty_get_oncall Who is on call
Show who is on call right now, per escalation policy of a team (name, oncalls, unique_id). Zenduty API: GET /api/v2/account/teams/{team_id}/oncall/.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | Team unique_id (from zenduty_list_teams). |
zenduty_list_incidents List incidents
List incidents with filters. status: -1 open (triggered and acknowledged), 0 all, 1 triggered, 2 acknowledged, 3 resolved. from_date and to_date take YYYY-MM-DD or YYYY-MM-DD HH:MM:SS. all_teams: 1 for all teams, 0 for the teams of the API key's user. Results are paginated by page. Zenduty API: POST /api/incidents/filter/ (a read; the filter is sent in the body).
| Parameter | Type | Description |
|---|---|---|
all_teams | integer | 1 = all teams, 0 = teams of the key's user (default 1). |
escalation_policy_ids | array | Escalation policy unique_ids. |
from_date | string | Incidents created on or after this value: YYYY-MM-DD or YYYY-MM-DD HH:MM:SS. |
page | integer | Page number for paginated results (default 1). |
priority_ids | array | Team priority unique_ids. |
service_ids | array | Service unique_ids. |
sla_ids | array | SLA unique_ids. |
status | integer | -1 open, 0 all, 1 triggered, 2 acknowledged, 3 resolved. |
tag_ids | array | Tag unique_ids. |
team_ids | array | Team unique_ids. |
to_date | string | Incidents created on or before this value: YYYY-MM-DD or YYYY-MM-DD HH:MM:SS. |
user_ids | array | Usernames the incidents are assigned to. |
zenduty_get_incident Get an incident
Get one incident by incident_number: title, summary, status, urgency, service, assigned_to, creation and resolution dates. Zenduty API: GET /api/incidents/{incident_number}/.
| Parameter | Type | Description |
|---|---|---|
incident_number * | integer | Incident number, the integer shown as incident_number (from zenduty_list_incidents). |
zenduty_list_incident_notes List incident notes
List the notes of an incident (note text, author, time). Zenduty API: GET /api/incidents/{incident_number}/note/.
| Parameter | Type | Description |
|---|---|---|
incident_number * | integer | Incident number, the integer shown as incident_number (from zenduty_list_incidents). |
zenduty_list_incident_alerts List incident alerts
List the alerts that were grouped into an incident: message, summary, alert type and time. Zenduty API: GET /api/incidents/{incident_number}/alerts/.
| Parameter | Type | Description |
|---|---|---|
incident_number * | integer | Incident number, the integer shown as incident_number (from zenduty_list_incidents). |
zenduty_list_incident_responders List incident responders
List the responders added to an incident, with their response status (1 accepted, 2 declined, 3 pending). Zenduty API: GET /api/v2/incidents/{incident_number}/responders/.
| Parameter | Type | Description |
|---|---|---|
incident_number * | integer | Incident number, the integer shown as incident_number (from zenduty_list_incidents). |
zenduty_create_incident Create an incident
Create an incident on a service. This pages the service's on-call people, so confirm first. Zenduty API: POST /api/incidents/.
| Parameter | Type | Description |
|---|---|---|
service * | string | Service unique_id (from zenduty_list_services). |
title * | string | Incident title. |
assigned_to | string | Username to assign (from zenduty_list_team_members). |
escalation_policy | string | Escalation policy unique_id. |
sla | string | SLA unique_id. |
status | integer | 1 triggered (default), 2 acknowledged, 3 resolved. |
summary | string | Longer summary of the incident. |
team_priority | string | Team priority unique_id. |
zenduty_update_incident Update an incident
Change an incident: status (1 triggered, 2 acknowledged, 3 resolved), urgency (0 low, 1 high), title, summary, assignee or policy. Fields you do not pass stay unchanged. Zenduty API: PATCH /api/incidents/{incident_number}/ (the live route takes the integer incident_number, not the unique_id).
| Parameter | Type | Description |
|---|---|---|
incident_number * | integer | Incident number, the integer shown as incident_number (from zenduty_list_incidents). |
assigned_to | string | Username to assign (from zenduty_list_team_members). |
escalation_policy | string | Escalation policy unique_id. |
sla | string | SLA unique_id. |
status | integer | 1 triggered, 2 acknowledged, 3 resolved. |
summary | string | |
team_priority | string | Team priority unique_id. |
title | string | |
urgency | integer | 0 low, 1 high. |
zenduty_add_incident_note Add a note to an incident
Add a note to an incident timeline. Each call adds a new note, so a repeated call adds a duplicate. Zenduty API: POST /api/incidents/{incident_number}/note/.
| Parameter | Type | Description |
|---|---|---|
incident_number * | integer | Incident number, the integer shown as incident_number (from zenduty_list_incidents). |
note * | string | Note text. |