Skip to main content
Glama

edb_set_register

Destructive

Modify a CPU register value to patch execution flow or test conditions. Specify register name and new hex value.

Instructions

Modify a CPU register value. Useful for patching execution flow or testing conditions.

Args: params (RegisterSetInput): Register modification - name (str): Register name (e.g., 'rax', 'rip') - value (str): New value in hex (e.g., '0x7fff00001000')

Returns: str: Confirmation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare destructiveHint: true and readOnlyHint: false, so the description adds context by explaining it modifies registers and mentions use cases. It does not contradict annotations. It also describes the return type as a confirmation string. It could mention side effects like changing execution behavior, but annotations cover the destructive aspect.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is somewhat verbose; the Args and Returns section is redundant with the schema. It could be condensed to one sentence: 'Modify a CPU register value. Useful for patching execution flow or testing conditions.' The examples could be integrated more efficiently.

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 the simple output schema (string confirmation), the description is complete enough. It covers the input parameters with examples. However, it does not explicitly state that the modification applies to the target debugged process, which might be assumed but could be clarified.

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

Parameters4/5

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

Schema description coverage is 0% because description repeats parameter info, but it adds value by providing examples (e.g., 'rax', 'rip') and clarifying the hex format for the value parameter. This helps an agent understand typical usage beyond the schema's generic 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 clearly states it modifies a CPU register value, with a specific verb 'Modify' and resource 'CPU register'. It distinguishes itself from sibling tools like edb_get_register (read) and edb_dump_registers (read), and from other write tools like edb_set_breakpoint or edb_write_memory.

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 provides use cases: 'patching execution flow or testing conditions'. It does not explicitly state when not to use it or mention alternatives, but the purpose is clear enough. Among many siblings, this tool's write nature is distinct, so no exclusion criteria are strictly necessary.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oakkaya/edb-debugger-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server