Skip to main content
Glama

breakpoint

Set, delete, list, or watch debug stops and watchpoints with conditions, temporary hits, ignore counts, and read/write/access triggers during STM32 GDB debugging.

Instructions

Breakpoint / watchpoint management. action=set(location[,condition,temporary,ignore_count]) | delete(breakpoint_id) | list | watch(location,access_type). access_type=r|w|a.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesWhich operation to perform.
sessionNoOptional debug-session name. Omit for the default target.
locationNoLocation to break at, e.g., 'main', 'main.c:42', or '*0x08001000'.
conditionNoOptional C expression; break only when it is non-zero, e.g. 'count > 5'.
temporaryNoIf true, the breakpoint is deleted after its first hit.
access_typeNoRead (r), Write (w), or Access (a).
ignore_countNoNumber of hits to ignore before stopping.
breakpoint_idNoID of the breakpoint to delete (e.g., '1').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the safety profile is covered. The description adds only the argument signatures, with no mention of permissions, session scoping behavior, or what a 'list' returns; it does not contradict the annotations but adds little beyond them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely compact and front-loaded: one sentence plus a signature-style breakdown of each action. It is dense but wastes nothing; the terse backus-naur-like notation is the only mild readability cost.

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 an 8-parameter, no-output-schema mutation tool, the description covers all four actions but omits any statement of return behavior (notably for 'list'), does not mention the optional 'session' parameter, and gives no indication of how set/delete affect program state. Adequate but with clear gaps.

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% and all 8 parameters are documented in the schema itself, so the baseline of 3 applies. The description's signature notation mirrors the schema (location, condition, temporary, ignore_count, access_type) without adding format or constraint detail beyond it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource (breakpoints/watchpoints) and enumerates the four operations (set/delete/list/watch) with their key arguments, so an agent immediately knows this tool manages debug breakpoints. It does not explicitly distinguish itself from similarly-purposed siblings like run_to_line or debug_until, which also stop execution, keeping it short of a 5.

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 action list implies when each mode applies (set vs delete vs list vs watch), but there is no explicit when-to-use or when-not guidance and no routing to alternatives such as run_to_line or run_to_line-style stop helpers. Usage is inferable but not stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.