Skip to main content
Glama

get_ticket

Read-onlyIdempotent

Retrieve a single Zendesk ticket with requester, assignee, group, and organization names resolved, plus optional recent comments and SLA/time metrics.

Instructions

Get a single ticket with requester/assignee/group/org names resolved and, optionally, its most recent comments and SLA/time metrics.

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": {
      "ticket_id": "<ticket_id>"
    },
    "name": "get_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNoReturn the unmodified API object instead of the slimmed one.
ticket_idYes
include_metricsNoInclude reply/resolution time metrics.
include_commentsNoHow many most-recent comments to include (0 = none).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds real behavioral value beyond that: it discloses that names are resolved (implying enrichment work) and that comments and SLA/time metrics are optional payload expansions, letting an agent reason about response size and cost. It omits error behavior for a missing ticket and any rate-limit or permission context.

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?

A single sentence, front-loaded with the core action, followed by the optional expansions. Every clause carries information; there is no filler or restatement of the tool name.

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?

For a four-parameter getter with no output schema and strong annotations, this covers the essentials: what entity is fetched, what is resolved, and what can optionally be bolted on. What is missing is modest — the default slimmed payload's contents and behavior when the ticket_id does not exist.

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?

At 75% schema coverage, the schema already documents raw, include_metrics and include_comments, so the baseline applies. The description reinforces that comment inclusion is optional and that metrics are SLA/time-based, but it never mentions the 'raw' vs 'slimmed' toggle, the single most consequential parameter for output shape.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Get a single ticket') plus the enrichment it performs ('requester/assignee/group/org names resolved'), which clearly separates it from list-style siblings such as list_ticket_comments or list_ticket_audits. It stops short of naming an alternative or contrasting itself with update_ticket, so differentiation is implied rather than explicit.

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

Usage Guidelines3/5

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

Usage is only implied: the word 'single' signals this is for one known ticket rather than a search or bulk operation. There is no explicit when-to-use, when-not, or named alternative (e.g., 'use list_ticket_comments for full comment history'), so an agent must infer the routing decision.

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