Skip to main content
Glama

list_device_patches

Lists all loaded device patches and the devices each patch supports, helping you identify available device compatibility before flashing or debugging.

Instructions

List all loaded device patches and their supported devices / 列出所有已加载的设备补丁及其支持的设备.

Lists all available device patches (e.g., Flagchip) and their supported device lists. 列出所有可用的设备补丁(如 Flagchip 等)及其支持的设备列表。

Returns: Device patch 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_device_patches"
  }
}

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 must carry the behavioral burden. It implies a safe, read-only enumeration and names what comes back (patch list plus supported devices), which is useful; however, it says nothing about whether patches must be installed first, whether loading requires connection state, or how the list is scoped. For a zero-parameter read this is acceptable but thin.

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 content is front-loaded with the core purpose, but every sentence is duplicated verbatim in English and Chinese, and the trailing 'Returns: Device patch list' restates the opening sentence. The definition is effectively half redundant padding.

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 listing tool with an output schema that documents the return shape, the description covers what the tool does and what it returns. Missing only the situational context (when an agent should enumerate patches) to be fully complete.

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 nothing for the description to disambiguate; the baseline applies. The description adds no misleading parameter expectations.

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 concrete verb and resource: 'List all loaded device patches and their supported devices', which separates it from sibling list tools such as list_jlink_devices or list_svd_devices by naming a distinct resource (device patches). It could go one step further and explicitly say how it differs from those siblings, but the resource is specific enough for selection.

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 guidance on when to call this tool, what problem it solves, or which sibling to use instead (e.g., list_jlink_devices vs list_device_patches). The discovery use case is only implied by the word 'List' and the example 'Flagchip'.

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