Skip to main content
Glama

get_trail

Retrieve a task's full GitHub issue comment thread, including people's comments, ordered oldest first. Empty if no issue exists.

Instructions

A task's trail: its GitHub issue comment thread, every comment an entry (people's comments included), oldest first. Empty when the task has no issue yet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe task id.
branchNoBranch to scope to (optional; the backend decides its use).
projectNoThe project id — an opaque, supplied string, never derived. Omit to use the server's --project-id default.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
trailYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.21.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses the trail's composition (every comment, including people's comments), its ordering (oldest first), and the empty-when-no-issue edge case. These go beyond what the schema conveys. Gaps remain — no statement about behavior for a nonexistent task id, data freshness relative to GitHub (relevant given the sync sibling), or truncation/pagination on very long threads — but the core behavioral traits are covered.

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 sentences and roughly 27 words with zero waste. The core definition is front-loaded, followed by composition/ordering details, then the edge case. Every clause 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 low-complexity getter with 1 required parameter, an output schema, and 100% schema coverage, the description is largely complete: it explains the concept (trail = GitHub issue comment thread), content, ordering, and the empty case. The remaining gaps — error handling for invalid task ids and whether the trail reflects live GitHub state or requires a sync — are minor but non-zero, since they could affect how an agent interprets results.

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%, with all three parameters (id, branch, project) already described inline, so the baseline of 3 applies. The description adds no parameter-level information, though it does give the agent conceptual context for what the id refers to (a task) and why the trail may be empty.

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 precisely defines the resource: "A task's trail: its GitHub issue comment thread, every comment an entry (people's comments included), oldest first." It clearly identifies what the tool returns and its scope (task-specific, not project-wide). It implicitly distinguishes from siblings like get_task (task metadata vs. thread) and append_trail (read vs. write), though it never names a sibling explicitly, which keeps it just short of a 5.

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 implied rather than stated. The content description makes it clear this is the read-side counterpart to append_trail and that list_*/get_task cover other concerns, but no alternative is named and no explicit when-to-use vs. when-not-to guidance is given. The "Empty when the task has no issue yet" note hints that the tool is only meaningful for tasks backed by a GitHub issue, but that condition is offered as behavior, not as a routing rule.

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

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/outputty/tasks-mcp'

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