Skip to main content
Glama

Read a ticket and its thread

get_ticket
Read-onlyIdempotent

Read a ticket and its thread

Returns one ticket with its full public message thread, oldest message first. Internal notes written by staff for staff are filtered out and never appear here, so the thread you see is the correspondence you took part in. Each message carries the sender's display name and role. System is used where a message was generated by the platform rather than typed by a person; a person who has no name on record reports null, so render your own label for them rather than a placeholder. A ticket belonging to another account answers 404 rather than 403.

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

Input Schema

NameRequiredDescriptionDefault
ticketIdYesTicket identifier. Accepted with or without the `ticket_` prefix: both `ticket_42` and `42` address the same ticket.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), yet the description adds substantial behavior: message ordering, filtering of internal notes, sender name/role on each message, the `System` role for platform-generated messages, `null` names requiring a custom label, and 404-rather-than-403 for cross-account access. That is real disclosure beyond the structured fields, though permissions or rate limits go unmentioned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core behavior is front-loaded and every sentence carries information, particularly the rendering rule for nameless senders and the 404 note. The lead sentence duplicates the tool title, and the prose runs together without visual separation, but there is little genuine waste.

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?

For a single-parameter read tool with no output schema, the description supplies return shape, ordering, filtering semantics, per-message fields, and the 404 access behavior, which is everything an agent needs to call it and interpret the result.

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?

There is a single parameter at 100% schema description coverage, so the schema already explains the optional `ticket_` prefix. The description adds no parameter-level meaning, which is the correct baseline for a fully documented one-parameter tool.

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?

States a specific verb and resource ('Read a ticket and its thread') and narrows scope with 'Returns one ticket with its full public message thread,' which is recognizably different from a conversation or analytics endpoint. It stops short of naming a sibling such as reply_to_ticket or close_ticket, so the distinction is implied rather than asserted.

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 read semantics and the note that internal staff notes are excluded; there is no explicit 'use this when' or pointer to reply_to_ticket for the write path. An agent can infer the context, but nothing in the text routes it against alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.