Skip to main content
Glama

Read a ticket

read_ticket
Read-only

Read one ticket by number: title, Markdown body, status, star, labels, its attached files (number, name, type, size, who attached it) and its whole comment thread.

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": {
      "project": "<project>",
      "number": "<number>"
    },
    "name": "read_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYesThe ticket's number in this project, like 12.
projectYesThe project: its id, or its exact name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description still adds real value by disclosing the return surface — including that the entire comment thread and attachment metadata come back in one call, which matters for an agent judging output volume. It stops short of stating error behavior for a nonexistent ticket 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 dense sentence with a colon-delimited enumeration of returned fields. The verb and resource lead, and every clause carries information about what the agent gets back — nothing is padding.

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 carries the burden of describing return values and does so thoroughly, listing all the ticket fields plus attachments and comments. What is missing is minor for a read-only tool: failure behavior for an invalid ticket number or project scope, and confirmation that no pagination is applied.

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 coverage is 100%, with both 'number' and 'project' documented in the schema itself, so the baseline is 3. The description reinforces the 'number' semantics ('by number') but never mentions the project scoping parameter, adding no meaning beyond the 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?

States a specific verb and resource — 'Read one ticket by number' — and immediately enumerates what constitutes a ticket (title, Markdown body, status, star, labels, attachments, comment thread). That enumeration distinguishes it cleanly from list_tickets and from the write-side siblings like update_ticket or add_comment.

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 agent can infer this is the tool for fetching a single known ticket rather than a list. There is no explicit when-to-use or when-not guidance, and no sibling is named as an alternative for cases like browsing many tickets (list_tickets) or reading only comments.

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.

Resources