Skip to main content
Glama

get_ticket

Read-onlyIdempotent

Retrieve a specific ticket's full record including the requester's message body using its ticket ID.

Instructions

Retrieve one ticket in full, including the requester's message body.

Use this once you have a specific ticket ID — typically from search_tickets. This is the only tool that returns ticket body text.

WHAT IT DOES NOT DO

  • Does not triage, categorise, or assess the ticket. It returns the record as filed. In particular the category field is intake metadata and may misdescribe the ticket entirely; read the body yourself.

  • Does not indicate whether a ticket is safe to answer. Only draft_response makes that determination, and it does so independently of this record's category field. Never conclude from a non-security category here that drafting will be permitted.

ERRORS TICKET_NOT_FOUND — no ticket with that ID exists. Ticket IDs look like "T-014". Do not retry with the same ID; call search_tickets to find the correct one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ticket_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
ticketNo
messageNo
error_codeNo
Behavior5/5

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

Adds behavioral context beyond annotations: explains limitations (category field may misdescribe, does not assess safety), error details, and format of ticket IDs. No contradiction with annotations.

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?

Concise yet comprehensive: uses bullet points and clear sections ('WHAT IT DOES NOT DO', 'ERRORS') to efficiently convey purpose, usage, and caveats without redundancy.

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

Completeness5/5

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

Fully covers what the tool returns (full ticket with body), what it does not, and how it fits into the workflow (after search_tickets, before draft_response). Output schema exists, so return format details are not needed.

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

Parameters5/5

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

Compensates for 0% schema parameter description by clarifying context for ticket_id (use after search, ID format like 'T-014') and error handling, adding significant meaning beyond the input schema.

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?

Explicitly states 'retrieve one ticket in full' and highlights the unique feature of returning requester's message body, distinguishing it from sibling tools like search_tickets.

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

Usage Guidelines5/5

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

Gives clear when-to-use ('once you have a specific ticket ID — typically from search_tickets') and what it does not do (no triage, no safety determination), contrasting with draft_response.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jackson-DM/msp-tools-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server