Skip to main content
Glama

get_connection_status

Check J-Link and target chip connection status, voltage, and related diagnostics before debugging or flashing STM32 firmware.

Instructions

Get current connection status / 获取当前连接状态.

Queries JLink connection status, target chip connection status, voltage, and other information. 查询 JLink 连接状态、目标芯片连接状态、电压等信息。

Returns: Connection status information / 连接状态信息

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_connection_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

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Get' and 'Queries' imply a read-only operation, and the description enumerates the categories of status information returned. However, it does not state prerequisites, error behavior if no device is connected, whether the call blocks, or any permission requirements.

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 definition is front-loaded with the core purpose and then elaborates on the queried information. It is generally efficient, though the bilingual English/Chinese repetition doubles the text, and 'and other information' is slightly vague. No essential sentence feels wasted for a simple status tool.

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?

For a parameterless status query, the description is largely complete: it identifies the connection domains queried and notes that connection status information is returned. An output schema exists, so detailed return-value documentation is unnecessary. The main omission is explicit context about when this tool should be called, but the core complexity is low.

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 has zero parameters, so there are no parameter semantics to explain. The empty input schema is consistent with a parameterless status query. Baseline 4 applies because there is no parameter information the description needs to add.

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 uses a specific verb and resource: 'Get current connection status' and 'Queries JLink connection status, target chip connection status, voltage, and other information.' It clearly states what data the tool retrieves. It does not, however, explicitly distinguish this tool from overlapping siblings such as get_target_voltage or get_target_info.

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?

The description offers no explicit guidance on when to use this tool versus alternatives. It does not mention prerequisites, such as whether a device must already be connected, nor does it point to sibling tools for narrower status queries. Usage is only implied by the tool name and queried fields.

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