Skip to main content
Glama
PagerDuty

pagerduty-mcp

Official
by PagerDuty

list_schedule_v3_custom_shifts

Read-onlyIdempotent

Retrieve ad-hoc custom shifts for a PagerDuty v3 schedule within a specified time range. List one-off shifts outside of regular rotation events.

Instructions

List custom shifts for a v3 schedule within a time range.

Custom shifts are ad-hoc one-off shifts outside of rotation events.

Args:
    schedule_id: The ID of the v3 schedule
    since: Start of the time range (ISO 8601, required)
    until: End of the time range (ISO 8601, required)

Returns:
    List of custom shifts in the specified time range

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceYes
untilYes
schedule_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
responseYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, covering safety. The description adds context about the nature of custom shifts and the required time range. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with a clear definition followed by parameter list. Every sentence adds value, no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema exists, the description explains it returns a 'List of custom shifts in the specified time range.' All necessary information is present for a list operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description explains all three required parameters: schedule_id (ID of v3 schedule), since and until (ISO 8601, required). This adds meaning beyond the schema which only provides type string and title.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'List custom shifts for a v3 schedule within a time range' and defines custom shifts as 'ad-hoc one-off shifts outside of rotation events.' This distinguishes it from sibling tools like 'get_schedule_v3_custom_shift' (singular) and 'list_schedule_v3_overrides' (overrides vs custom shifts).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for listing custom shifts but does not explicitly state when to use this tool vs alternatives like 'list_schedule_v3_overrides' or 'list_schedule_v3_rotation_events.' No exclusions or when-not-to-use guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PagerDuty/pagerduty-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server