Skip to main content
Glama
MisakaMikoto128

J-Link RTT Viewer MCP

connect

Establishes a connection to a target MCU via J-Link debugger using SWD or JTAG interface, returning connection status and device information.

Instructions

连接到 J-Link 调试器和目标 MCU

Args: target: 目标设备型号 (如 STM32F103C8, STM32F407VG, nRF52840) interface: 调试接口 (SWD 或 JTAG),默认 SWD speed: 连接速度 (kHz),默认 4000 channel: RTT 通道号,默认 0 retry_attempts: 重试次数,默认 3

Returns: 连接状态和设备信息的 JSON 字符串

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYes
interfaceNoSWD
speedNo
channelNo
retry_attemptsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided, so description carries full burden. It mentions retry_attempts but does not disclose behavior on failure, side effects, or required permissions. More detail on connection establishment consequences would be needed.

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?

Description is structured with Args and Returns sections, concise (5 lines for args), front-loaded with purpose. Could integrate some default values more efficiently but overall well-organized.

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 5 params (1 required), no annotations, and an output schema, the description covers connection intent, parameter meanings, and return type (JSON string). Explanation of output structure or error scenarios would improve completeness.

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?

Input schema has 0% coverage (no descriptions), but the description adds meaning for all 5 parameters: target examples, interface options (SWD/JTAG), speed unit (kHz), RTT channel, retry_attempts. Adds substantial context beyond raw schema.

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?

Description clearly states '连接到 J-Link 调试器和目标 MCU' (connect to J-Link debugger and target MCU), with specific verb and resource. It further lists parameters like target, interface, speed, etc., distinguishing it from sibling tools like disconnect or read_memory.

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?

The description implies usage for establishing a connection but provides no explicit guidance on when to use vs. alternatives (e.g., disconnect for cleanup). No when-not-to-use or prerequisites mentioned.

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/MisakaMikoto128/J-Link-RTT-Viewer-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server