Skip to main content
Glama

brain_trace

Read-onlyIdempotent

Trace any file to retrieve all stored memories: past fixes, architecture decisions, bugs, and agent attributions in chronological order with confidence and status flags.

Instructions

Show all memory entries associated with a specific file across all agents. Returns the full fix history, architecture decisions, past bugs, and agent attribution for that file in chronological order. Includes confidence and status flags.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesRepo-relative file path to trace (e.g. "src/auth/jwt.ts").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already indicate a read-only, idempotent, non-destructive operation. The description adds meaningful behavioral context: it returns results in chronological order and includes confidence and status flags, and it emphasizes that results span all agents. No contradiction with annotations.

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 concise sentences with no fluff. The primary action and scope appear first, followed by a clear summary of what is returned and in what order. 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 single-parameter read tool with full schema coverage and no output schema, the description covers the key return contents, ordering, and scope. Minor gaps like pagination or a note on how far back the history reaches are not critical for this simple operation.

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?

The input schema fully documents the only parameter, file_path, including an example format. The description does not need to add much, and it does not add new semantic detail beyond what the schema already provides.

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 clearly states a specific verb ('Show'), a specific resource ('memory entries associated with a specific file'), and a scope ('across all agents'). It conveys what the tool does and what distinguishes it, though it does not explicitly name a sibling alternative to differentiate from.

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?

The description implies when to use the tool: when you need the full memory/history for a particular file, including fixes, architecture decisions, bugs, and agent attribution. It does not explicitly state when not to use it or which sibling tool to prefer instead.

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