Skip to main content
Glama

windbg_set_conditional_bp

Set conditional cdb breakpoints, optional .printf logging, and control false-branch execution for precise debugging.

Instructions

Build and set a conditional cdb breakpoint safely, including optional .printf logging and false-branch gc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stop_ifNoAlias/override for condition when the expression specifically means 'stop here if true'
locationYesAddress or symbol, e.g. 'mymod!Foo+0x42'
conditionNoOptional cdb expression; true branch logs/stops, false branch can gc
print_exprNoOptional cdb expression to log with a generated .printf, e.g. '@rcx'
continue_if_falseNoIf true, false condition executes gc
Behavior3/5

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

With no annotations, the description carries the burden. It discloses the tool 'builds' the breakpoint, supports optional .printf logging, and implements false-branch gc, which goes beyond the schema. However, it does not explain what 'safely' entails, side effects (e.g., replacing existing breakpoints), or required debugger state.

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?

Single sentence, 15 words, front-loaded with 'Build and set a conditional cdb breakpoint safely' – no filler, every phrase adds value.

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?

The tool has 5 parameters, no annotations, and no output schema. The description, combined with the schema, provides a minimal-viable picture, but lacks usage differentiation from breakpoint siblings, prerequisites, and behavioral caveats, leaving the agent to infer critical selection details.

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?

Schema description coverage is 100%, so baseline is 3. The description does not add significant parameter-level meaning beyond the schema; it only echoes print_expr and continue_if_false in high-level terms.

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 'build and set' with a clear resource: 'conditional cdb breakpoint'. It distinguishes from siblings like windbg_set_breakpoint by highlighting optional .printf logging and false-branch gc, making the tool's specialized purpose clear.

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

Usage Guidelines3/5

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

The description implies usage context (conditional breakpoints with logging/gc) but does not explicitly state when to prefer this over windbg_set_breakpoint, windbg_bp_template, or windbg_set_data_breakpoint, nor does it mention prerequisites or exclusions.

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