Skip to main content
Glama

windbg_set_register

Set a CPU register to a desired value during debugging. Provide the register name and a cdb expression for the new value to modify runtime state.

Instructions

Modify a CPU register, e.g. name='rax', value='0x42'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRegister name without @
valueYesNew value (cdb expression)
Behavior2/5

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

No annotations are present, so the description must fully disclose behavioral traits. It states 'Modify a CPU register' but does not mention that this changes the debuggee's execution state, requires a paused target, or could be irreversible. Side effects and prerequisites are omitted.

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 a single, front-loaded sentence with a concrete example. Every word earns its place, and there is no redundant information.

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 simple 2-parameter tool with complete schema and no output schema, the description is adequate in isolation. However, it lacks usage context and side-effect disclosure, which are particularly important given the absence of annotations and the existence of many sibling tools.

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 schema covers both parameters with descriptive text (register name without @, new value as cdb expression), so the baseline is 3. The description adds a useful example ('name='rax', value='0x42'') but does not introduce meaning beyond the schema.

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 uses the specific verb 'Modify' and identifies the resource 'CPU register', with a concrete example. It clearly conveys the tool's purpose and distinguishes it from read-only register tools like windbg_registers, even without explicitly naming alternatives.

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?

No guidance is provided on when to use this tool versus alternatives such as windbg_evaluate, windbg_run_command, or the generic set_register. The description does not mention prerequisites, exclusions, or typical use cases.

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/DdUdle/ctxdebug'

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