Skip to main content
Glama

set_breakpoint

Pause execution at a given address, symbol, or expression. Select breakpoint type (software, hardware, watch), with optional condition, thread, pending, or temporary settings.

Instructions

Set a breakpoint at an address/symbol/expression ('main', '*main+0x20', '0x401000'). Types: breakpoint (software), hw (hardware), watch, hw_watch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNobreakpoint
threadNo
pendingNo
locationYes
conditionNo
temporaryNo
session_idNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does not mention side effects such as whether setting a breakpoint interrupts execution, requires a running session, overwrites existing breakpoints, or can fail for invalid addresses.

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?

The description is a single front-loaded sentence, with no filler and clearly useful examples. It is concise, though slightly under-sized relative to the tool's seven parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given seven parameters, no annotations, and no output schema, this description is materially incomplete. It explains only location and type, while omitting how the other parameters affect behavior, what the return value is, and what state is required for a successful call.

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

Parameters2/5

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

Schema description coverage is 0%, and the description adds useful meaning for only two of the seven parameters: location (with examples) and type (with enum-like values). Parameters like thread, pending, condition, temporary, and session_id remain unexplained, leaving significant gaps.

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 uses a specific verb and resource ('Set a breakpoint at an address/symbol/expression') and gives concrete examples of valid locations, which makes the tool's core purpose immediately clear. It does not explicitly differentiate itself from sibling tools like manage_breakpoint or list_breakpoints, but the set-versus-manage/list distinction is reasonably inferable.

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?

No guidance is provided about when to use this tool versus alternatives such as list_breakpoints or manage_breakpoint, nor about prerequisites like an active debug session. The listed breakpoint types hint at configuration choices but do not explain when each type is appropriate.

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

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/Mistyovo/gdb-mcp'

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