Skip to main content
Glama

trace_get

Read-onlyIdempotent

Retrieve ordered events and artifact references for one trace ID, enabling agents to audit reasoning steps and inspect linked outputs.

Instructions

Read the ordered events and artifact references for one trace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trace_idYes
max_charsNo
include_contentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds that results are ordered and include artifact references, but says nothing about truncation via max_chars or what include_content gates.

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?

A single front-loaded sentence with no filler — appropriately terse. The terseness is a coverage problem rather than a structure problem, so it keeps a high score here.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, 0% parameter documentation, and no usage routing, the definition is too thin for a tool with two meaningful tuning parameters. The one sentence only partially signals what comes back.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for three parameters, and the description names none of them. max_chars (truncation limits) and include_content (payload verbosity) are non-obvious and carry real behavioral consequences that go entirely undocumented.

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?

Specific verb ('Read') plus a precise resource ('ordered events and artifact references for one trace'), which clearly separates it from trace_list. It does not name siblings explicitly, but the singular-trace 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 Guidelines2/5

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

No when-to-use guidance and no mention of alternatives such as trace_list or session_peek. The agent must infer from the name alone that this is the drill-down companion to trace_list.

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