List agents

Agents and admins who can be assigned tickets, with role.

MCP tool zendesk_read → list_agents

read

Lists agents and admins in your Zendesk with ID, name and role. Light agents and collaborators are left out, because tickets cannot be assigned to them. Use assignee_id with update_ticket.

Parameters

Parameters: list_agents
NameTypeDescription
query string string Only agents whose name or email contains this text.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "zendesk_read",
    "arguments": {
      "operation": "list_agents",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "agents": [
      {
        "user_id": 20118842,
        "name": "Sam Okafor",
        "role": "agent"
      },
      {
        "user_id": 20118001,
        "name": "Lena Ortiz",
        "role": "admin"
      }
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.