Skip to main content
Glama
schuay

gdb and rr Debugging

info_registers

Retrieve CPU register values from a debug session. Specify a register name like 'rax' or omit to list all general-purpose registers.

Instructions

Show CPU register values (GDB 'info registers').

register: specific register name (e.g. "rax", "eip"), or omit for all general-purpose registers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
registerNo
session_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

As a read-only operation, the description adequately conveys the behavior. It explains parameter effects but doesn't detail output format; however, the output schema is provided, so this is acceptable.

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

Conciseness5/5

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

The description is extremely concise with no wasted words. The first line states the purpose, and the second details the parameter. Perfectly front-loaded.

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

Completeness4/5

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

Given the tool's simplicity and the presence of an output schema, the description covers the essential aspects. It could mention that all registers are shown by default, but that is implied by 'omit for all'.

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 description adds meaning for the 'register' parameter (optional, specific name or omit for all), but the required 'session_id' parameter is not explained. With 0% schema coverage, more parameter context was expected.

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 tool shows CPU register values and references the GDB command 'info registers'. It differentiates itself from sibling tools like 'print' and 'disassemble' by focusing on registers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description explains when to use the optional 'register' parameter (specific name or omit for all). It doesn't explicitly compare with alternatives, but the context makes it clear this is for register inspection.

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