Home / Servers / PagerDuty API / list_schedules

List schedules

An MCP tool from the PagerDuty API server, hosted on mcp.hjlabs.in.

List schedules List the on-call schedules. A Schedule determines the time periods that users are On-Call. For more information see the API Concepts Document Scoped OAuth requires: schedules.read [GET /schedules]

Name on the gateway: pagerduty_api__list_schedules · read-only.

Parameters

NameTypeDescription
limitintegerThe number of results per page.
offsetintegerOffset to start pagination search results.
totalbooleanBy default the total field in pagination responses is set to null to provide…
querystringFilters the result, showing only the records whose name matches the query.
include[]schedule_layers | overrides_subschedule | final_scheduleArray of additional details to include.
time_zonestringTime zone in which results will be rendered. This will default to the current…
include_next_oncall_for_userstringSpecify an user_id, and the schedule list API will return information about…
sincestringThe start of the date range over which you want to show schedule entries.…
untilstringThe end of the date range over which you want to show schedule entries.…
team_ids[]arrayAn array of team IDs. Only results related to these teams will be returned.…

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:

call_tool arguments
{
  "name": "pagerduty_api__list_schedules",
  "arguments": {}
}

Or connect the PagerDuty API server directly, which lists 459 tools including this one:

Run in your terminal
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 list schedules tool with limit set to ….

More from PagerDuty API