Skip to main content
Glama

emu_write

Writes hexadecimal data to a target virtual address in an emulator session, enabling direct memory patching during analysis.

Instructions

Write emulator memory (hex).

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>",
      "va": "<va>",
      "data": "<data>"
    },
    "name": "emu_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaYes
keyYes
dataYes
sessionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description must disclose behavior itself. Beyond implying a mutation, it says nothing about permissions, session semantics, whether writes are destructive, error behavior, or what happens to the target memory; only the hex format is noted. That is a large gap for a memory-write tool.

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?

The one-sentence description is front-loaded and contains no filler. Its terseness is a completeness problem rather than a conciseness problem, so structure is efficient.

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?

For a four-parameter mutation tool with no annotations and zero schema documentation, the description is far too thin; an agent cannot determine what key, va, or session mean or the write semantics. The output schema reduces the need to document return values, but the input-side context is still missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters (key, va, data, session). The description's only parameter-relevant clue is '(hex)', likely for data, and it never explains the address, key, or session fields. It does not compensate for the schema gap.

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 gives a specific verb ('Write') and resource ('emulator memory') plus a data format hint ('hex'), so the action is clear. It does not distinguish this tool from sibling write, physical_write, or virtual_write tools, which prevents a 5.

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 use emu_write versus write, physical_write, virtual_write, or emu_read. No prerequisites, exclusions, or alternatives are named, leaving selection entirely to inference.

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