Skip to main content
Glama
drvcvt
by drvcvt

esil_init

Initialize an ESIL virtual machine with stack memory and obtain a persistent session ID, preserving registers, memory, and program counter across subsequent emulation calls.

Instructions

Initialize the ESIL virtual machine with stack memory and return a persistent session_id for subsequent ESIL tool calls. The session preserves ESIL state (registers, memory, PC) across calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressNoStart address (hex). If omitted, entry point is used.
stack_sizeNoESIL stack size in bytes (default 0x100000)
binary_pathYesAbsolute path to the binary file
stack_addressNoESIL stack base address (default "0x00100000")0x00100000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 disclosure burden and does add real value: it allocates stack memory, returns a session_id, and states that registers/memory/PC persist across calls. However, it omits the resource-lifecycle trait — sessions persist and accumulate and should eventually be cleaned up via esil_destroy — which is a relevant behavioral disclosure for an init tool.

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?

Two sentences with zero wasted words. The main action and return value are front-loaded in the first sentence, and the second sentence earns its place by explaining the persistence semantics that matter for all downstream ESIL calls.

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

Completeness4/5

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

Given no output schema and no annotations, the description covers the essential contract: what is initialized, what is returned (session_id), and that state persists across calls. The remaining gaps — cleanup obligation (esil_destroy) and error behavior for invalid binary paths — are notable but the core call sequence is fully understandable.

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 four parameters are already documented with defaults, hex formats, and minimums. The description's 'with stack memory' loosely contextualizes stack_size/stack_address and 'binary' maps to binary_path, but it adds no meaning beyond the schema — baseline 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 uses a specific verb ('Initialize'), identifies the resource ('ESIL virtual machine'), and states the key output ('persistent session_id'). It clearly separates this from the rzil_* family by naming 'ESIL' specifically and from debug_launch by describing the emulation session model, though it doesn't explicitly name those alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'for subsequent ESIL tool calls' implies this is the entry point for the ESIL family and must be called before esil_step, esil_run, esil_get_registers, etc. However, it never explicitly states when to prefer ESIL over RZIL (rzil_init) or debug_launch, and provides no exclusion criteria.

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