Zenduty MCP by usefulapi

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

Read 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/.

ParameterTypeDescription
team_id *stringTeam 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/.

ParameterTypeDescription
team_id *stringTeam 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/.

ParameterTypeDescription
team_id *stringTeam 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/.

ParameterTypeDescription
team_id *stringTeam 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/.

ParameterTypeDescription
team_id *stringTeam 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).

ParameterTypeDescription
all_teamsinteger1 = all teams, 0 = teams of the key's user (default 1).
escalation_policy_idsarrayEscalation policy unique_ids.
from_datestringIncidents created on or after this value: YYYY-MM-DD or YYYY-MM-DD HH:MM:SS.
pageintegerPage number for paginated results (default 1).
priority_idsarrayTeam priority unique_ids.
service_idsarrayService unique_ids.
sla_idsarraySLA unique_ids.
statusinteger-1 open, 0 all, 1 triggered, 2 acknowledged, 3 resolved.
tag_idsarrayTag unique_ids.
team_idsarrayTeam unique_ids.
to_datestringIncidents created on or before this value: YYYY-MM-DD or YYYY-MM-DD HH:MM:SS.
user_idsarrayUsernames 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}/.

ParameterTypeDescription
incident_number *integerIncident 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/.

ParameterTypeDescription
incident_number *integerIncident 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/.

ParameterTypeDescription
incident_number *integerIncident 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/.

ParameterTypeDescription
incident_number *integerIncident 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/.

ParameterTypeDescription
service *stringService unique_id (from zenduty_list_services).
title *stringIncident title.
assigned_tostringUsername to assign (from zenduty_list_team_members).
escalation_policystringEscalation policy unique_id.
slastringSLA unique_id.
statusinteger1 triggered (default), 2 acknowledged, 3 resolved.
summarystringLonger summary of the incident.
team_prioritystringTeam 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).

ParameterTypeDescription
incident_number *integerIncident number, the integer shown as incident_number (from zenduty_list_incidents).
assigned_tostringUsername to assign (from zenduty_list_team_members).
escalation_policystringEscalation policy unique_id.
slastringSLA unique_id.
statusinteger1 triggered, 2 acknowledged, 3 resolved.
summarystring
team_prioritystringTeam priority unique_id.
titlestring
urgencyinteger0 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/.

ParameterTypeDescription
incident_number *integerIncident number, the integer shown as incident_number (from zenduty_list_incidents).
note *stringNote text.