Skip to main content
Glama

match_chip_name

Matches simplified chip names to complete device names using prefix, contains, and fuzzy matching, helping resolve partial identifiers for project inspection or flashing.

Instructions

Intelligently match chip name / 智能匹配芯片名称.

Matches simplified chip names (e.g., FC7300F4MDD) to complete chip names (e.g., FC7300F4MDDxXxxxT1C). Supports prefix matching, contains matching, and fuzzy matching. 将简化的芯片名称(如 FC7300F4MDD)匹配到完整的芯片名称 (如 FC7300F4MDDxXxxxT1C)。支持前缀匹配、包含匹配和模糊匹配。

Args: chip_name: Chip name (can be simplified or complete) / 芯片名称(可以是简化名称或完整名称)

Returns: Match result, including matched (matched complete name) and all_matches (all matches) / 匹配结果,包含 matched(匹配到的完整名称)和 all_matches(所有匹配项)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chip_name": "<chip_name>"
    },
    "name": "match_chip_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
chip_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations the description carries the full burden, and it discloses the matching strategies as well as the result shape (matched plus all_matches), which tells the agent multiple hits are possible. It falls short on failure behavior and match ordering/priority when several candidates qualify.

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 front-loaded first line is good, but every sentence is duplicated in Chinese and the Args/Returns block largely restates the input schema and the existing output schema. The word 'Intelligently' is filler that adds no 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 single-parameter lookup with an output schema already covering the return fields, the description is close to sufficient. The remaining gap is ambiguity handling: what happens when nothing matches and how competing matches are ranked.

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?

Schema coverage is 0%, so the description must compensate, and it does: chip_name is explained as accepting either a simplified or a complete name, with examples of both forms. That is meaningful guidance beyond a bare 'Chip Name' string field.

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?

States a specific verb (match) and resource (chip name) and pins it down with a concrete input/output example: 'FC7300F4MDD' -> 'FC7300F4MDDxXxxxT1C'. That example makes the transformation unmistakable and separates it from the build/debug siblings, none of which do name resolution.

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?

Usage is only implied: an agent can infer it should call this to expand an abbreviated part number. There is no explicit 'use when'/'don't use when', no mention of alternatives, and notably no explanation of how the advertised prefix/contains/fuzzy strategies are selected, since there is only one parameter.

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