Skip to main content
Glama

list_jlink_devices

Lists connected J-Link debuggers and returns each device's serial number, product name, and connection type so you can identify available probes.

Instructions

List all connected JLink devices / 列出所有连接的 JLink 设备.

Returns a list of all connected JLink debuggers in the system. 返回系统中所有已连接的 JLink 调试器列表。 Each device contains serial number, product name, and connection type. 每个设备包含序列号、产品名称和连接类型。

Returns: Device information list / 设备信息列表

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": "list_jlink_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

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 supplied, so the description must carry the behavioral burden. It does disclose that this is a non-mutating enumeration of system-wide debuggers and that each entry includes serial number, product name, and connection type, which is useful context; however, it says nothing about behavior when no devices are attached, latency, or whether the listing requires an active connection.

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 core statement is front-loaded and the description is short overall, but the bilingual duplication and the trailing "Returns:" block restate what the output schema already covers, adding bulk without new information.

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 zero-parameter list tool with an output schema already defining the returned fields, the description covers purpose and payload shape adequately. The only missing piece is edge-case behavior (empty device list, connection prerequisites), which is minor for a read-only enumerator.

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 no parameters, which is the baseline-4 case. The schema is empty and fully consistent with the described no-argument enumeration, so nothing further is required from the description.

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 and resource ("List all connected JLink devices") with a clear scope qualifier ("in the system"), which separates it from device-mutating siblings like connect_device. It does not explicitly contrast with adjacent discovery tools such as scan_target_devices or list_svd_devices, so differentiation is inferable but not stated.

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 the other listing/discovery tools, nor any prerequisites or exclusions. The usage implied by "List all connected" is obvious, but nothing tells the agent how this differs from scanning target devices or listing SVD devices.

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