Skip to main content
Glama
drvcvt
by drvcvt

trace_execution

Trace binary execution using ESIL emulation to log branches, memory access, register changes, and comparisons for detailed runtime analysis.

Instructions

Trace execution using ESIL emulation, logging comparisons, branches, memory access, and register changes at each step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressNoStart address for emulation (hex). If omitted, entry point is used.
max_stepsNoMaximum number of steps to emulate
stack_sizeNoESIL stack size in bytes
binary_pathYesAbsolute path to the binary file
log_registersNoLog full register state at each interesting event (verbose)
stack_addressNoESIL stack base address0x00100000
until_addressNoStop emulation when this address is reached (hex)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden for behavioral disclosure. It usefully states that the tool logs comparisons, branches, memory access, and register changes, which goes beyond the schema. However, it does not disclose side effects, whether state is mutated, output format, or stopping behavior beyond the parameters themselves.

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?

The description is a single sentence that front-loads the core action and then lists the logged event types. It is concise and efficient with no filler, though it could be slightly more structured if it separated the trace action from the logging behavior.

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 tool with 7 parameters, no annotations, no output schema, and many closely related ESIL/rzil/debug siblings, the description is too thin. It does not explain what kind of result the agent should expect, how it relates to ESIL sessions, or when to prefer this over lower-level step/run tools, leaving significant gaps for correct invocation.

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 has 100% parameter coverage, so the schema already documents every parameter. The description adds a useful hint about logging register state at events, but it does not materially deepen understanding of the parameters beyond what the schema provides, so the baseline of 3 is appropriate.

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 identifies a specific verb ('Trace execution'), the mechanism (ESIL emulation), and the observable outputs (comparisons, branches, memory access, register changes). It does not explicitly differentiate from sibling tools like esil_step, esil_run, or rzil_trace_step, but the high-level tracing intent is reasonably clear.

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 guidance is given about when to use this tool versus the many esil_*, rzil_*, and debug_* siblings. The description implies usage for execution tracing but does not state prerequisites, exclusions, or alternatives, leaving an agent to infer selection criteria.

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