Skip to main content
Glama
drvcvt
by drvcvt

esil_set_memory

Write data to ESIL emulated memory at a specified address, supporting hex bytes or ASCII strings and persistent sessions for continued emulation.

Instructions

Write data to the ESIL emulated memory space at a given address. If session_id is provided, uses a persistent session; otherwise creates a fresh session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesData to write: hex bytes (e.g. "90909090") or a string if as_string is true
addressYesAddress (hex) to write memory to
as_stringNoIf true, write data as an ASCII string; otherwise write as raw hex bytes
session_idNoPersistent ESIL session ID from esil_init. If provided, binary_path is ignored.
binary_pathNoAbsolute path to the binary file. Required when session_id is not provided.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are present, so the description carries the behavioral disclosure burden. It does disclose the core mutation target (ESIL emulated memory) and the persistent-vs-fresh session behavior, which is useful context beyond the name. It does not mention return/error behavior or what creating a fresh session fully entails, but the primary side effect is stated.

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?

One compact sentence placed the core operation first and the relevant session conditional second. There is no filler, no restating of schema fields, and every clause adds value toward correct invocation.

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?

With a fully covered schema and no output schema, the description covers the main invocation decision: persistent session vs fresh session. It could additionally mention that binary_path is required when session_id is absent and describe the return value, but those are either present in the schema or non-critical for a write operation.

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 the schema already documents address, data, as_string, session_id, and binary_path. The description adds minimal extra meaning, mostly reiterating the session_id behavior already present in the schema; it does not materially clarify as_string or binary_path beyond their schema descriptions.

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 verb ('Write'), a clear resource ('ESIL emulated memory space'), and an argument ('at a given address'). The 'ESIL emulated' qualifier distinguishes it from sibling memory-write tools like debug_write_memory, write_bytes, and rzil_set_memory.

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 session_id conditional is clearly explained: use a persistent session when session_id is provided, otherwise a fresh session is created. However, the description never names or contrasts alternatives such as debug_write_memory or rzil_set_memory, so an agent gets no explicit guidance on which sibling tool to choose.

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