Skip to main content
Glama

get_gdb_server_status

Retrieve GDB Server status to confirm whether the debug server is running and ready for STM32 debugging and firmware flashing.

Instructions

Get GDB Server status / 获取 GDB Server 状态.

Returns: GDB Server status information / GDB Server 状态信息

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_gdb_server_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does not say whether this is a read-only/safe probe, what happens if the GDB server is not running (error vs. a 'stopped' status), or whether the call is cheap or blocking. Only the vague 'status information' is offered.

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 text is short and front-loaded, and the bilingual duplication is a house style rather than padding. The 'Returns' line largely duplicates the purpose sentence, but the overall footprint is small.

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?

An output schema exists, so return values need not be described, and there are no params to document. However, for a status-probe tool with zero annotations, the description should state the read-only nature and behavior when the server is down; neither is covered, leaving the definition thin relative to its diagnostic role.

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?

The tool takes zero parameters, so there is no parameter semantics to explain; the baseline of 4 applies. Nothing in the description contradicts or misrepresents the empty schema.

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

Purpose2/5

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

The description is essentially a restatement of the tool name: 'Get GDB Server status.' It gives no scope, no indication of what 'status' encompasses, and no differentiation from siblings like get_connection_status or get_server_config, which an agent could easily confuse with it.

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 call this versus get_connection_status, get_server_config, or get_server_capabilities. The agent must infer usage purely from the name, with no stated preconditions such as whether the GDB server must already be started.

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