Skip to main content
Glama

breakpoint

Manage execution pause points in debuggers: set software, hardware, memory, conditional, or API-based triggers; list active ones; or delete them.

Instructions

Set, list, or delete a breakpoint. Supports software, hardware, memory, conditional, and API-by-name. USE 'set' WITH 'api' to break on an imported function by name (no need to resolve address). USE 'set_conditional' to break only when expression is true (e.g., 'rcx == 0x1000'). USE 'set_hw' for hardware breakpoints (no code modification, useful when scanning for INT3). USE 'list' to see all currently active breakpoints. For a single API, use action='set' + 'api'. For bulk API groups (all memory/network/etc.), use breakpoint_on_api_group instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiNoAPI name (only for action='set'). Examples: 'IsDebuggerPresent', 'kernel32.VirtualAlloc'.
logNoFor 'set_conditional': log format string instead of breaking. Example: 'VirtualAlloc(size={rdx}, prot={r9:x})'.
sizeNoFor 'set_hw': 1 byte (default). For 'set_mem': use 4 (DWORD) or 8 (QWORD) — default 1 is rarely useful for memory watches.
actionYesset = software BP; set_hw = hardware BP; set_mem = memory access BP; set_conditional = software BP with condition; delete = remove BP; list = show all active breakpoints.
addressNoMemory address as hex string. ALWAYS use '0x' prefix. Examples: '0x401000', '0x7FFE0308', '0x00007FF7C0001234'. WARNING: without '0x' prefix, '401000' is treated as decimal 401000, not hex 0x401000. For 'set' you may use 'api' instead.
conditionNoFor 'set_conditional': x64dbg expression. Example: 'rcx == 0x1000', 'rax > 0x100'.
mem_accessNoFor 'set_mem': type of memory access.write
hw_conditionNoFor 'set_hw': what triggers the breakpoint.execute

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?

With no annotations, the description carries the burden of behavioral disclosure. It adds useful context: hardware breakpoints cause 'no code modification', API breakpoints need 'no need to resolve address', conditional breakpoints can use 'log format string instead of breaking', and set_hw is 'useful when scanning for INT3'. These are meaningful behavioral traits beyond the schema. It does not explicitly state that software breakpoints modify code, but this is implied by the contrast with hardware breakpoints.

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 opens with a clear one-line purpose, then uses a structured 'USE X for Y' format to convey usage efficiently. Every sentence provides actionable guidance without redundancy, and it remains compact despite covering many modes.

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?

For an 8-parameter tool with multiple modes and an output schema, the description covers the main use cases and explicitly contrasts with the closest sibling (breakpoint_on_api_group). It leaves a minor gap in how deletion identifies the target breakpoint (no breakpoint ID parameter is mentioned), but overall it is sufficiently complete for an agent to select and invoke the tool correctly.

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 coverage is 100%, so the baseline is 3. The description adds value by explaining how parameters interact (e.g., api works only with action='set'), giving concrete examples (e.g., condition 'rcx == 0x1000', log format 'VirtualAlloc(size={rdx}, prot={r9:x})'), and clarifying the action meanings. This goes beyond the schema's field 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 the tool sets, lists, or deletes breakpoints and lists supported types (software, hardware, memory, conditional, API-by-name). This specific verb+resource phrasing distinguishes it from sibling tools like breakpoint_on_api_group, which is explicitly called out.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use each action (USE 'set' WITH 'api', USE 'set_conditional', USE 'set_hw', USE 'list') and names an alternative for bulk API groups (breakpoint_on_api_group instead). This gives clear when-to-use and when-not-to-use context.

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