Skip to main content
Glama

get_gdb_info

Runs a GDB info command for a specified topic to retrieve debugger state, configuration, or target details during embedded firmware debugging.

Instructions

Run a GDB info command for the requested topic.

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": {
      "topic": "<topic>"
    },
    "name": "get_gdb_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does not say whether this is a safe read-only query, whether it requires an active session, whether it can block or time out, or what form the result takes (raw text vs. parsed data).

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

Conciseness3/5

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

One short, front-loaded sentence with no filler, but the brevity reflects under-specification rather than efficient information density.

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?

With no output schema, no annotations, and an undocumented required parameter, the description would need to explain session prerequisites, expected result shape, and topic vocabulary. It supplies none of these, so an agent cannot call it reliably without trial and error.

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 single 'topic' parameter is undocumented. The phrase 'requested topic' merely restates the parameter name; no examples of valid topics (threads, registers, breakpoints, etc.) or accepted format are given, leaving the agent to guess at values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (run) and resource (a GDB info command), so the mechanism is clear. However, 'the requested topic' leaves the actual scope undefined, and nothing distinguishes it from siblings like get_gdb_status, get_gdb_event, or execute_gdb_command, which plausibly overlap.

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 instead of execute_gdb_command (which could presumably run the same 'info' command) or the dedicated get_gdb_status/get_gdb_event tools. No prerequisites, such as requiring an attached GDB session, are stated.

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