Skip to main content
Glama

emu_step

Advance emulator execution by a specified instruction count to trace captured function behavior. Use it to inspect state changes step by step during reverse engineering.

Instructions

Single-step the emulator (count instructions).

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_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
countNo
sessionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden and falls well short: it does not say whether stepping mutates emulator state, what happens at breakpoints or faults, whether it halts on completion, or what permissions/session requirements apply. Only the instruction-count semantics are disclosed.

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 short sentence with the action front-loaded; nothing is wasted. It is terse to the point of under-specification, but that is a completeness problem rather than a verbosity problem.

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?

Although an output schema exists and need not be restated, a 3-parameter mutation-style tool with zero annotation coverage and 0% schema description coverage needs far more: session/state requirements, the meaning of key, and how stepping interacts with breakpoints are all missing.

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%, so the description must compensate, but it only hints at "count" while the required "key" and the "session" parameter are left entirely unexplained. An agent cannot tell what key refers to or how session scoping affects the step.

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?

"Single-step the emulator" is a specific verb+resource, and the parenthetical clarifies that stepping advances a number of instructions rather than one machine instruction. It is distinguishable from free-running siblings like emu_run, though the description never names them explicitly.

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?

There is no statement of when to prefer single-stepping over emu_run, emu_call, or emu_create, nor any prerequisite such as needing an existing session. The agent must infer the use case from the name alone.

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