Skip to main content
Glama

Get Tickets

get_tickets
Read-only

Fetches full bodies for specified ticket IDs in one call, enabling targeted loading of details for tickets selected from the board instead of parsing all tickets.

Instructions

Full bodies for a list of Ticket ids, in one call. Use after get_board, only for the Tickets you actually work.

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": {
      "ids": "<ids>"
    },
    "name": "get_tickets"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesTicket ids or names, e.g. ["T12","token-cache"]. A name several Efforts have must be given in full: <effort>.<name>.
rootNoWorkspace directory. Defaults to the session workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / properties / ids / description
      Previous value: -"Ticket ids, e.g. [\"T12\",\"T14\"], resolved repo-wide. A Ticket with no id is fetched by the <effort>#<order> handle its Board line shows."New value: +"Ticket ids or names, e.g. [\"T12\",\"token-cache\"]. A name several Efforts have must be given in full: <effort>.<name>."
  2. Changed1 schema field changedv1.0.0
    • changedInput schema / properties / ids / description
      Previous value: -"Ticket ids, e.g. [\"T12\",\"T14\"], resolved repo-wide. A Legacy Ticket with no id is fetched by the <effort>#<order> handle its Board line shows."New value: +"Ticket ids, e.g. [\"T12\",\"T14\"], resolved repo-wide. A Ticket with no id is fetched by the <effort>#<order> handle its Board line shows."
  3. Changed1 schema field changedv0.4.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. First observedv0.1.0

TDQS

A3.8/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 useful behavior context: results come back as full bodies in a single batched call, and the caller is nudged to limit ids for economy. It does not say what happens for unknown or ambiguous ids, nor how large full bodies can get, which are the remaining behavioral gaps.

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?

Two short sentences, front-loaded with the payload shape and followed by the operational constraint. Nothing is padded or repeated from the schema.

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 does the necessary work by saying the return is full bodies (contrasted against the board listing) and batched in one call. Missing only edge-case behavior for invalid or ambiguous ids, which is a modest gap for a simple two-parameter read tool.

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 description coverage is 100%, and the schema itself documents the id format, the <effort>.<name> disambiguation rule, and the root workspace default. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 names a specific resource (Ticket bodies) and scope (a list of ids, batched in one call), which implicitly contrasts with the summary-level get_board and with write tools like update_ticket. It stops short of explicitly naming a sibling as the alternative, but the verb+resource+scope is unambiguous.

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

Usage Guidelines4/5

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

"Use after get_board" gives a concrete ordering constraint, and "only for the Tickets you actually work" tells the agent to filter rather than bulk-fetch. There is no explicit when-not clause or named alternative for the filtered case, but the usage context is clear enough to act on.

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