Skip to main content
Glama

RoboParts 机器人零部件兼容性

compare_components

并排对比 2~6 个零部件的关键参数(torque/speed/voltage/protocol/interface/weight/price),相同值自动标注,替代为同一目的连发多次 get_component_detail。缺失字段以 null 呈现,不代表不支持该特性;跨厂商数值比较请配合 get_parameter_semantics。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes待对比零部件 ID 数组(2~6 个),形如 ["ACT-001", "ACT-002"]。请先用 search_components 确认 ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It does well by revealing that missing fields render as null (not implying unsupported features), that identical values are auto-annotated, and that cross-vendor comparisons need semantic normalization. It does not describe the output format, but the side-by-side comparison behavior is reasonably transparent.

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

Conciseness5/5

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

The description is a single compact sentence that front-loads the core purpose, then adds the key behavioral caveats and cross-vendor usage note. Every clause earns its place; there is no fluff or repetition of schema details.

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 comparison tool with no output schema, the description covers the essential operational context: scope, parameters, null semantics, and when to use companion tools. The only notable gap is the lack of an explicit statement about the return shape, but the side-by-side comparison concept and auto-annotation hint make the tool sufficiently callable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%: the ids parameter already includes array shape, min/max, example format, and the instruction to use search_components first. The tool description adds the 2~6 range and example IDs, but this largely restates schema content rather than adding new semantic meaning. Baseline 3 is appropriate.

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?

The description states a specific verb ('并排对比' / side-by-side compare), a concrete resource (零部件 / components), a scope (2~6 items), and lists the exact parameters compared (torque/speed/voltage/protocol/interface/weight/price). It also explicitly differentiates itself from get_component_detail by saying it replaces repeated calls for the same purpose.

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

Usage Guidelines5/5

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

The description directly names the alternative tool (get_component_detail) and explains when compare_components is preferable. It also gives a conditional usage rule: for cross-vendor numerical comparisons, pair with get_parameter_semantics. The schema additionally instructs the agent to confirm IDs via search_components, providing clear routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.