Skip to main content
Glama
drvcvt
by drvcvt

esil_run

Execute ESIL emulation until a specified address, breakpoint, or step limit is reached. Choose a new or persistent session to control binary analysis flow.

Instructions

Run ESIL emulation until a target address is reached, a breakpoint is hit, or maximum steps are exceeded. If session_id is provided, uses a persistent session; otherwise creates a fresh session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressNoStart address (hex) for emulation. If omitted, entry point is used.
timeoutNoMaximum time in seconds before stopping emulation (default 30)
max_stepsNoMaximum number of steps before stopping (default 1000)
session_idNoPersistent ESIL session ID from esil_init. If provided, binary_path and address are ignored.
binary_pathNoAbsolute path to the binary file. Required when session_id is not provided.
until_addressNoStop emulation when this address is reached (hex)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It discloses the stopping conditions and the session reuse/fresh-session behavior, which goes beyond the schema. It does not mention side effects on the persistent session or error/return behavior, but the core execution behavior is transparent.

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?

The description is two tightly written sentences. The primary behavior and termination conditions are front-loaded, and the session rule is stated without wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter emulation tool with no annotations and no output schema, the description covers the core execution semantics but omits return value behavior, how breakpoints interact with the session, and an explicit distinction from rzil_run. The rich schema and sibling context help, but some important operational context is still missing.

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 already documents all 6 parameters with descriptions, so the baseline is 3. The description reinforces session_id semantics and stopping conditions but adds no new format or relationship details beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('Run ESIL emulation'), the resource, and the exact termination conditions (target address, breakpoint, max steps). This clearly distinguishes it from siblings like esil_step (single-step) and esil_init (session setup), so an agent can tell what this tool does.

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?

The description gives explicit session guidance: use a persistent session when session_id is provided, otherwise create a fresh session. It does not explicitly compare against rzil_run or esil_step, but the context is clear enough for basic tool selection among the emulation siblings.

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