Skip to main content
Glama

emu_trace

Enables, disables, or resets instruction and edge recording during emulation so you can confirm which execution path a run took.

Instructions

Turn instruction/edge recording on, off, or reset it.

recording costs a callback per instruction, so it is opt-in: enable it when the question is which path did the run take, not when you need a value.

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": {
      "key": "<key>"
    },
    "name": "emu_trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
actionNostart
sessionNo
max_addressesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the whole burden, and it does disclose a real behavioral trait: recording costs a callback per instruction and is opt-in. It does not say whether recording persists across runs, whether the key must match an existing emu_create session, what reset discards, or the effect of max_addresses.

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?

Three short sentences with the operational action front-loaded and the cost rationale following it; nothing is padding. The second paragraph's clause is slightly run-on but still earns its place by justifying the opt-in design.

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?

An output schema exists so return values need not be described, but for a stateful toggling tool the gaps are material: the agent cannot infer the valid action values from the schema (no enums) or what 'key' and 'session' bind to. The performance caveat is valuable, yet the invocation details required to call it correctly are absent.

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% across four parameters, so the description must compensate and largely does not. It hints at action semantics ('on, off, or reset it') but never states the accepted action strings, and the required 'key', the 'session' scoping parameter, and 'max_addresses' (default 200000) are left entirely unexplained.

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 states a specific verb and resource: toggling instruction/edge recording on, off, or reset. The phrase 'not when you need a value' implicitly separates it from value-reading siblings such as trace_value, but no sibling is named outright, so it falls short of full 5-level differentiation.

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 when-to-enable condition ('the question is which path did the run take') and an explicit when-not ('not when you need a value'). What's missing is guidance on choosing among the three actions themselves — when to use off versus reset — and which alternative tool to reach for instead.

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