Skip to main content
Glama

add_breakpoint

Set a breakpoint at a function, file:line, or address to pause execution and inspect ARM embedded firmware during GDB debugging.

Instructions

Set a breakpoint at a function, file:line or address.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "location": "<location>"
    },
    "name": "add_breakpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/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, yet it never says whether a live debug session is required, whether the breakpoint persists across runs, or what identifying handle is returned. It reads as a bare mutation with no disclosure of side effects or state effects on the debugger.

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?

One front-loaded sentence with zero filler and no redundant restatement of the tool name. Short, but it earns its length ratio; only the missing prerequisite/return detail keeps it from a 5.

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 is simple (one required parameter, no output schema, no nested objects), so little is needed, and the description covers the core invocation. It still omits the debugger-connected prerequisite and any notion of what happens on failure or how the created breakpoint is referenced later.

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?

The single 'location' parameter has 0% schema description coverage, so the description must compensate. It does partially: naming function name, file:line, and raw address as valid forms adds real meaning beyond the bare string type, but the exact syntax (e.g. 'main.c:42' vs '0x0800...') and precedence between forms are left unstated.

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?

States a specific verb+resource ('Set a breakpoint') and enumerates the three accepted location forms (function, file:line, address), which makes the action unambiguous. It does not explicitly distinguish itself from siblings like add_watchpoint or remove_breakpoint, so it stops 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 Guidelines2/5

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

There is no guidance on when to use this versus add_watchpoint or remove_breakpoint, and no stated prerequisite such as an active GDB connection. The usage is only implied by the tool name and the fact that it is a debugger primitive.

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