Skip to main content
Glama

probe_list

Detect connected debug probes and target chips when flashing fails or no target is found. Call this first to verify hardware before flashing.

Instructions

探测已连接的调试器(DAPLink/ST-Link/J-Link...)和目标芯片。 "烧录失败/找不到目标芯片"时先调这个。需要可选依赖 pyocd。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose a real operational trait — an optional pyocd dependency — which is genuinely useful, but it says nothing about whether the probe is a read-only enumeration, whether the call can hang on missing hardware, or what happens when no probe is attached.

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?

Two short sentences plus a dependency note; the capability is stated first and the usage trigger second. Nothing is padded, though the dependency clause is appended rather than integrated.

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?

An output schema exists, so return values need no explanation, and with zero parameters the only real gaps are behavioral (failure modes, hardware prerequisites). The description covers purpose, a usage trigger, and a dependency, which is nearly sufficient for this simple enumeration tool.

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 the baseline of 4 applies: there is no parameter semantics to explain, and the description correctly adds none.

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?

States a specific verb (probe/探测) plus two concrete resources: connected debug probes (DAPLink/ST-Link/J-Link) and the target chip, which is more specific than a generic 'list probes'. It does not, however, distinguish itself from overlapping siblings such as flash_tool_detect or chip_info, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit triggering condition: call this first when flashing fails or the target chip cannot be found. That is a clear and actionable 'when to use', but no exclusive condition or named alternative (e.g. flash_tool_detect) is offered for the non-failure path.

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