Skip to main content
Glama
Zendesk MCP

Zendesk MCP

by williambulk

Search Zendesk Tickets

zendesk_search_tickets
Read-onlyIdempotent

Search Zendesk tickets by query syntax, with ticket-type filtering enforced automatically, to find records by status, priority, requester, or keywords. Supports pagination, sorting, and page limits.

Instructions

Search tickets in Zendesk tenant "acme" using Zendesk search syntax. Automatically enforces type:ticket so only ticket records are returned. Note: Zendesk search is capped at 1,000 results (100 per page) and search indexing can lag by several minutes. For a known ticket ID, use zendesk_get_ticket directly.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "zendesk_search_tickets"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number (default 1).
queryYesZendesk search query (e.g. 'status:open priority:high vpn' or 'requester:user@example.com'). 'type:ticket' is enforced automatically.
sort_byNoOptional field to sort results by.
per_pageNoResults per page (1-100, default 25).
sort_orderNoOptional sort direction ('asc' or 'desc').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, yet the description still adds behavior the annotations cannot express: a silent query mutation (type:ticket enforced automatically), a hard 1,000-result ceiling with 100-per-page pagination, and index lag of several minutes. Those are exactly the facts an agent needs to avoid misreading empty or truncated results.

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?

Three sentences, each earning its place: capability and scope first, then a versioned behavior caveat, then the sibling routing hint, which is correctly placed last. No restatement of the title and no filler.

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

Completeness4/5

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

With no output schema, the description covers the important operational realities: result ceiling, page sizing, and index freshness. It does not describe the shape of a returned result (record fields, total count, next-page behavior), which is a minor gap for a list tool but not a blocker for correct invocation.

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

Parameters3/5

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

Schema description coverage is 100% and the schema already documents page bounds, per_page range, sort enums, and even the auto-appended type:ticket. The description's mention of Zendesk search syntax adds a little flavor but no detail beyond what the query parameter's own example already supplies, so this is baseline territory.

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?

States a specific verb and resource ('Search tickets in Zendesk tenant "acme"') plus the Zendesk search-syntax mechanism, and the auto-enforced type:ticket scope makes it unambiguous that only ticket records come back. It also explicitly separates itself from zendesk_get_ticket, so an agent can route without opening either schema.

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

Usage Guidelines4/5

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

Gives concrete when-to-use context ('using Zendesk search syntax') and an explicit routing rule for the alternative: 'For a known ticket ID, use zendesk_get_ticket directly.' It stops short of describing what to do when the 1,000 cap is hit or how narrower queries should be framed, so it is clear but not exhaustive.

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