Skip to main content
Glama

Trace Data Flow

trace_data_flow

Trace data reads, writes, and offsets to or from a given address or symbol, revealing how values flow through code for reverse engineering analysis.

Instructions

Trace data references (reads/writes/offsets) to and from an address.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesStart address or symbol name
timeoutNoTimeout in seconds
directionNoto | from | bothboth
max_depthNoMaximum xref hops
max_nodesNoMaximum nodes to include
instance_idNoInstance id override

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.7

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and falls short: it does not say the traversal is depth-bounded (max_depth), that node counts are capped/truncated (max_nodes), that a timeout can abort the trace, or what happens on cycles. For a recursive graph traversal this is a significant omission.

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 tight sentence with the core verb and scope front-loaded and zero filler. It is efficient, though it may in fact be too terse for the tool's complexity rather than maximally informative per word.

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?

For a 6-parameter graph-traversal tool with no output schema and no annotations, one sentence is insufficient. It omits what the result contains (nodes, edges, reference kinds), whether results can be truncated at max_nodes, and any cost or timeout implications.

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 all six parameters are already documented in the schema, establishing a baseline of 3. The description's gloss on reference kinds (reads/writes/offsets) adds only marginal meaning beyond the schema's 'Start address or symbol name' and direction enum.

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?

States a specific verb (trace) and a specific resource (data references: reads/writes/offsets) with a defined scope (to and from an address). It is separable from plain cross-reference tools, but it never names or contrasts with siblings like xrefs_to, xrefs_from, or xrefs_to_field.

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, no prerequisites, and no statement of when this beats xrefs_to/xrefs_from or callgraph. The 'to and from' phrasing loosely echoes the direction parameter but gives no selection criteria for picking this tool over its obvious alternatives.

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