Skip to main content
Glama

get_target_info

Retrieves connected target MCU details—device name, core type, and Flash/RAM size—so you can inspect and verify the chip before flashing or debugging.

Instructions

Get target device (MCU) information / 获取目标设备(MCU)信息.

Reads detailed information about the connected target chip, including device name, core type, Flash/RAM size, etc. 读取连接的目标芯片的详细信息,包括设备名称、内核类型、Flash/RAM 大小等。

Returns: Target device 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_target_info"
  }
}

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.3/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 that the read targets the currently connected chip (implying a connection prerequisite) and that the call is informational, but it says nothing about failure behavior when no target is attached, caching, or timing — meaningful gaps for a zero-annotation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and easy to scan, but every sentence is duplicated verbatim in Chinese, and the "Returns" block restates what the output schema already provides. Roughly half the text earns no additional selection value.

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 getter with an output schema already documenting the return shape, the description covers what the tool is and what it surfaces. The only real omission is the precondition/error case when no target device is connected.

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 no parameter semantics to explain and the baseline is 4. Nothing in the description confuses or misrepresents the empty argument object.

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 states a specific verb and resource ("Get target device (MCU) information") and enumerates the concrete fields returned (device name, core type, Flash/RAM size), which separates it from status getters like get_target_voltage or get_connection_status. It does not name a sibling to contrast with, so it stops 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 Guidelines2/5

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

There is no explicit when-to-use, when-not-to-use, or alternative-tool guidance. The phrase "connected target chip" weakly implies a device must already be connected, but the agent is left to infer that precondition and any relationship to scan_target_devices or connect_device.

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