Skip to main content
Glama

x64dbg_eval_expression

Evaluate x64dbg expressions to resolve symbol addresses, register values, arithmetic, and pointer dereferences, returning the numeric result.

Instructions

Evaluate a debugger expression and return the numeric result. Sends the eval_expression command directly to the x64dbg plugin for extended expression support. Resolves register names, API addresses, arithmetic, pointer dereferences. USE WHEN: you need to resolve a symbol address or compute a pointer value. Examples: 'kernel32.VirtualAlloc', 'rax+8', '[rsp+0x28]', 'ntdll.NtQueryInformationProcess'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYesExpression to evaluate in x64dbg expression format. Examples: 'IsDebuggerPresent', 'rip+0x10', 'kernel32.GetProcAddress', '[rsp]'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoStructured result data (varies by tool)
errorNo
detailsNoDetailed text breakdown
successYes
summaryYesOne-line human-readable result
suggested_next_toolsNoTools recommended to call next based on this result
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It explains that the tool resolves register names, API addresses, arithmetic, and pointer dereferences, and that it directly sends a command to the x64dbg plugin. This gives the agent a clear understanding of its behavior, though it does not mention any potential side effects or prerequisites beyond the x64dbg connection.

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 concise and well-structured: it opens with the core purpose, explains the mechanism, lists supported expression types, and closes with usage guidance and examples. Every sentence serves a purpose, with no fluff or repetition.

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

Completeness5/5

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

For a single-parameter tool with an output schema, the description is complete. It explains what the tool does, when to use it, and provides examples. The output schema likely covers return values, so the description does not need to explain them. The tool's complexity is low, and the description fully addresses the context.

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?

The schema already covers the 'expression' parameter at 100%, but the description adds valuable extra context by providing additional examples and clarifying the expression format (e.g., '[rsp+0x28]'). This goes beyond what the schema provides, so it earns a 4 rather than a baseline 3.

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 the tool evaluates a debugger expression and returns a numeric result. It distinguishes itself from siblings by specifying it sends the eval_expression command directly to the x64dbg plugin, and provides concrete examples. The verb 'Evaluate' plus resource 'debugger expression' is specific and unambiguous.

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 includes an explicit 'USE WHEN' section, telling the agent when to use this tool: to resolve a symbol address or compute a pointer value. It implies this is for x64dbg context (versus windbg or generic tools) but does not explicitly list alternatives or exclusions, so it's not a 5.

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