Skip to main content
Glama

set_conditional_breakpoint

Set a conditional breakpoint that stops execution only when a specified condition evaluates to true.

Instructions

Set a conditional breakpoint that only stops when a condition is true.

Args: address: Address or symbol (e.g., "main", "0x80001000", "sieve\11") condition: Condition expression. HLL example: "(counter > 10) && (flag == 1)" TRACE32 example: "Register(D0)>5" language: "hll" for C/C++ syntax, "t32" for TRACE32 PRACTICE syntax

Returns: Confirmation of conditional breakpoint

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes
languageNohll
conditionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/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 discloses that it sets a conditional breakpoint and returns confirmation, but it does not mention side effects (e.g., if the breakpoint replaces an existing one), prerequisites (e.g., target must be halted), or limits (e.g., max 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 is brief and front-loaded with a clear one-sentence purpose. The Args section is well-structured with bullet points for each parameter, and the Returns line is concise. No superfluous content.

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?

Considering the tool has 3 parameters, no annotations, but a known output schema, the description covers the essential information: purpose, parameter syntax, and return type. It does not discuss error conditions or prerequisites (e.g., connection required), which are common for debug tools, but the current description is reasonably complete for a simple breakpoint operation.

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

Parameters5/5

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

The description adds significant value beyond the schema, which has 0% description coverage. It provides concrete examples for address (e.g., 'main', '0x80001000'), condition in both HLL and TRACE32 syntax, and explains the language parameter. This helps the agent understand parameter formats and usage.

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 sets a conditional breakpoint that stops only when a condition is true. The verb 'Set' and resource 'conditional breakpoint' are specific, and it distinguishes from siblings like set_breakpoint, set_count_breakpoint, etc.

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?

No explicit guidance on when to use this tool vs other breakpoint types (e.g., simple breakpoint, count breakpoint). However, the name and description imply it is for conditional halting, and the examples provide context. A brief comparison would improve clarity.

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/YangPan2020/debugforge'

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