Skip to main content
Glama

get_ticket

Read-only

Retrieve one support ticket by ID, including its full text, customer record, and all comments.

Instructions

Get one ticket with its full text, the customer and all comments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ticket_idYesTicket id, for example 3.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyYes
statusYes
subjectYes
assigneeYes
categoryYes
commentsYes
customerYes
priorityYes
created_atYes
updated_atYes
customer_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds the useful fact that comments and customer data are expanded into the response, but says nothing about behavior for a missing/invalid id or any size limits.

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 verb and resource, with zero filler. Everything stated (full text, customer, comments) is load-bearing information about the payload.

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 one-parameter read tool with an output schema that documents the return shape, the description is close to sufficient. Only the absent error/not-found behavior keeps it from being fully complete.

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?

Only one parameter and schema description coverage is 100%, so the schema ('Ticket id, for example 3.') already carries full meaning. The description adds no additional format or sourcing guidance for the id, making 3 the correct baseline.

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?

Clear verb ('Get') plus resource ('one ticket') with an explicit payload scope: full text, the customer, and all comments. It is distinguishable from the plural sibling search_tickets by the singular, single-record framing, though it never names that sibling explicitly.

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 by the required ticket_id: retrieve one known ticket by id. There is no statement of when to prefer this over search_tickets when the id is unknown, nor any exclusions or prerequisites.

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