Skip to main content
Glama
schuay

gdb and rr Debugging

run

Start or restart the debugged program and block until a breakpoint, signal, or exit is hit. In rr replay sessions, restart from the beginning with optional argument overrides.

Instructions

Start or restart the inferior program. Blocks until it stops (breakpoint, signal, or exit).

In an rr replay session, run restarts from the very beginning of the recording. Pass args to override arguments set at session creation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo
timeoutNo
session_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries full burden. It explains blocking until breakpoint/signal/exit and rr replay restart, but lacks details on side effects, interruption, or error handling.

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 two sentences, front-loaded with main action. Could be more structured with bullet points, but no fluff.

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 3 parameters, no annotations, and existence of output schema, the description covers purpose and basic behavior but lacks parameter details and return value explanation.

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?

The description explains the 'args' parameter (override arguments) but does not mention 'timeout' or 'session_id'. Schema coverage is 0%, so description must compensate, but it only partially covers one parameter.

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 starts or restarts the inferior program and blocks until it stops. It distinguishes from siblings by noting specific behavior in rr replay sessions and the ability to override arguments.

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 provides context for when to use (e.g., starting or restarting, with rr replay details) but does not explicitly state when not to use or compare to alternatives like continue_exec or start_session.

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

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