PagerDuty MCP Server

by wpfleger96
Verified

list_services

List existing PagerDuty services.

Args: current_user_context (bool): Use the current user's team IDs to filter (default: True, cannot be used with team_ids) team_ids (List[str]): Filter results to only services assigned to teams with the given IDs (optional, cannot be used with current_user_context) query (str): Filter services whose names contain the search query (optional)

Returns: Dict[str, Any]: Dictionary containing metadata (count, description) and a list of services matching the specified criteria

Input Schema

NameRequiredDescriptionDefault
current_user_contextNo
queryNo
team_idsNo

Input Schema (JSON Schema)

{ "properties": { "current_user_context": { "default": true, "title": "Current User Context", "type": "boolean" }, "query": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Query" }, "team_ids": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Team Ids" } }, "title": "list_servicesArguments", "type": "object" }