Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
get_tool_documentation |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_escalation_policies | Get PagerDuty escalation policies by filters or get details for a specific policy ID. Args:
policy_id (str): The escalation policy ID to retrieve (optional, cannot be used with any other filters).
current_user_context (bool): Use current user's ID/team IDs context (default: True). Not used if |
get_incidents | Get PagerDuty incidents by filters or get details for a specific incident ID or number. Args:
incident_id (str): The incident ID or number to retrieve (optional, cannot be used with any other filters).
current_user_context (bool): Filter by current user's context (default: True). Not used if |
get_oncalls | List on-call entries for schedules, policies, or time ranges. Behavior varies by time parameters:
Args:
current_user_context (bool): Use current user's team policies (default: True)
schedule_ids (List[str]): Filter by schedules (optional)
user_ids (List[str]): Filter by users (optional, excludes current_user_context)
escalation_policy_ids (List[str]): Filter by policies (optional)
since (str): Start of query range in ISO8601 format (default: current datetime)
until (str): End of query range in ISO8601 format (default: current datetime, max range: 90 days in the future). Cannot be before |
get_schedules | Get PagerDuty schedules by filters or get details for a specific schedule ID. Args:
schedule_id (str): The schedule ID to retrieve details for (optional, cannot be used with query or limit).
query (str): Filter schedules whose names contain the search query (optional). Not used if |
list_users_oncall | List the users on call for a schedule during the specified time range. Args: schedule_id (str): The ID of the schedule to query since (str): Start of query range in ISO8601 format until (str): End of query range in ISO8601 format |
get_services | Get PagerDuty services by filters or get details for a specific service ID. Args:
service_id (str): The service ID to retrieve (optional, cannot be used with any other filters).
current_user_context (bool): Use current user's team IDs to filter (default: True). Not used if |
get_teams | Get PagerDuty teams by filters or get details for a specific team ID. Args:
team_id (str): The team ID to retrieve (optional, cannot be used with any other filters).
query (str): Filter teams whose names contain the search query (optional). Not used if |
get_users | Get PagerDuty users by filters or get details for a specific user ID. Args:
user_id (str): The user ID to retrieve (optional, cannot be used with any other filters).
current_user_context (bool): Use current user's team IDs to filter (default: True). Not used if |
build_user_context | Validate and build the current user's context into a dictionary with the following format: { "user_id": str, "team_ids": List[str], "service_ids": List[str], "escalation_policy_ids": List[str] } The MCP server tools use this user context to filter the following resources: - Escalation policies - Incidents - Oncalls - Services - Users |