PagerDuty MCP Server

by wpfleger96
Verified

list_users

List users in PagerDuty.

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]): A list of team IDs to filter users (optional, cannot be used with current_user_context) query (str): A search query to filter users (optional)

Returns: Dict[str, Any]: Dictionary containing metadata (count, description) and a list of users 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_usersArguments", "type": "object" }