Skip to main content
Glama

get_debug_adapter_info

Retrieve the active debug adapter, transport, and OpenOCD connection details so you can verify the current embedded debugging setup before flashing or debugging targets.

Instructions

Return active debug adapter, transport, and OpenOCD connection details.

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_debug_adapter_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; the word 'Return' plus 'active' implies a read-only query against a live session, which is useful. However, it does not state what happens when no adapter is connected (empty result vs. error), whether the call is cheap or can block, or how fresh the connection details are.

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?

A single front-loaded sentence with no filler; the three returned facets are enumerated compactly and nothing is redundant.

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?

The tool is simple (no params, no annotations) but there is no output schema, so the description is the only source of information about the response. It names three categories of details but does not indicate their shape, nesting, or which fields may be absent when, for example, OpenOCD is not in use.

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 nothing for the description to disambiguate; the baseline of 4 applies. The description correctly frames the call as taking no input by describing only what is returned.

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

Purpose4/5

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

The description gives a specific verb ('Return') and names three concrete resources: the active debug adapter, transport, and OpenOCD connection details. It is clearly distinguishable from data-inspection siblings like get_register_values or get_backtrace, but it does not distinguish itself from adjacent connection-status siblings such as get_openocd_status, get_session_state, or get_gdb_info, which overlap with 'connection details'.

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?

Usage is only implied: an agent can infer this is the tool for inspecting how the debug session is wired up (adapter, transport, OpenOCD). There is no explicit statement of when to prefer it over get_openocd_status, get_session_state, or get_gdb_status, and no prerequisites such as requiring an active session.

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