Skip to main content
Glama

trail

Read-onlyIdempotent

Reads a composition’s change history—notes, field-by-field fixes, verdicts, and accepted values—to update it without undoing prior fixes or ignoring a request for an older value.

Instructions

Read this before changing a composition: every note as a thread (what the person said, what each fix changed field by field, their verdict, follow-ups) and the values accepted fixes set. Move forward from it: do not undo an earlier fix on your own; when the person asks for an older value, do it.

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": {
      "composition": "<composition>"
    },
    "name": "trail"
  }
}

Input Schema

NameRequiredDescriptionDefault
compositionYesComposition name (file in compositions/ without .json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. Beyond that, the description discloses the return contents in real detail (notes as threads, field-level diffs, verdicts, accepted values) — valuable since there is no output schema — and adds a usage constraint about not reverting fixes unilaterally.

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?

Two compact sentences, with the trigger front-loaded and the payload description following. The parenthetical is dense but each element earns its place; the grammar is a bit tangled ('the values accepted fixes set'), costing a point.

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 one-parameter read-only tool with no output schema, the description covers both when to call it and what it returns, including the thread structure. The only gap is that it never states ordering or size of the trail, though that is minor for this tool's complexity.

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 required parameter, 'composition', and schema coverage is 100%, so the schema already explains the naming convention. The description adds no format or scoping detail about that parameter, so the structured field does all the work.

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 the resource concretely: a per-composition trail of every note (person's statements, field-by-field fix changes, verdicts, follow-ups) plus the values accepted fixes set. That distinguishes it from get_composition or changes-style siblings. It is slightly oblique because it frames the tool as an imperative ('Read this before changing a composition') rather than stating plainly that it returns the trail.

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?

It gives an explicit trigger ('read this before changing a composition') and an explicit behavioral rule (don't reverse an earlier fix on your own; only do so when the person asks for an older value). What's missing is named alternatives — it implies comparison with undo but never names a sibling tool to use instead.

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

Deploy Server

Other Tools