Skip to main content
Glama

Get Tickets

get_tickets
Read-only

Retrieve full ticket bodies for a list of ticket IDs in a single call, enabling focused work on selected issues without re-parsing the tracker.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesTicket 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.
rootNoWorkspace directory. Defaults to the session workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
  2. First observedv0.1.0

TDQS

A4/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 the safety profile is known. The description adds useful context about batching ('in one call') and about resolving legacy ticket handles, but it does not disclose failure behavior or limits when invalid ids are passed.

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 with no filler. The most important scoping instruction is front-loaded and every sentence earns its place.

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 simple read-only batch-fetch tool with a complete parameter schema and safety annotations, the description is adequate. It lacks an explicit output shape description, but no output schema exists and the tool is simple enough that this is a minor gap.

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%, so the schema fully documents ids and root. The description's phrase 'Full bodies' hints at return semantics rather than adding new parameter meaning, so it meets but does not exceed the baseline.

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?

The description states a specific verb and resource: 'Full bodies for a list of Ticket ids, in one call'. It clearly distinguishes this from the sibling get_board by framing get_tickets as the detail-fetch step after board listing.

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?

The description gives explicit sequencing ('Use after get_board') and call-scoping guidance ('only for the Tickets you actually work'). It does not name alternatives like update_ticket or create_tickets, but the primary routing decision is clear.

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