Skip to main content
Glama

pwndbg_set_breakpoint

Set a breakpoint in a running LLDB session at a specified function, address, or file:line, with an optional condition expression for precise debugging.

Instructions

Set a breakpoint at the given location, optionally with a condition.

Args: session_id: The UUID of the session. location: Function name, address, or file:line to break at. condition: Optional condition expression for the breakpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
locationYes
conditionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description bears the full burden of behavioral disclosure. It correctly implies mutation (setting a breakpoint), but lacks details on side effects (e.g., breakpoint persistence, error handling, or permission requirements). This is minimally adequate for a simple operation.

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 concise, with the main purpose stated first. The args section is structured as a list. However, the args list largely repeats the schema; it could be slightly more streamlined.

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?

Given the tool is simple and has an output schema, the description is mostly complete for usage, but it lacks information about failure modes or confirmation messages. It does not explain what the tool returns or how to interpret result.

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

Parameters4/5

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

Input schema has 0% description coverage, so the description must compensate. It explains all three parameters: session_id as UUID, location as function name/address/file:line, and condition as optional expression. This adds meaningful context beyond the bare schema.

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 the action ('Set a breakpoint') and the target resource ('breakpoint'), including optional condition. It distinguishes from sibling tools like 'pwndbg_breakpoint_delete' and 'pwndbg_set_breakpoint_advanced' by focusing on basic breakpoint setting.

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 when to use the tool (to set a breakpoint), but it does not provide explicit guidance on when not to use it, nor does it mention alternatives like 'pwndbg_set_breakpoint_advanced' for more complex breakpoints. No context for prerequisites or restrictions is given.

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/Micro-Evaluation-Group/pwndbg-lldb-mcp'

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