Skip to main content
Glama

compare_parts

Read-onlyIdempotent

Compare 2-6 electronic parts side by side to view shared parameters, price, and stock in one Markdown table for component selection.

Instructions

Side-by-side comparison of 2-6 parts. Returns a Markdown table of the parameters they share plus price and stock.

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": {
      "part_numbers": "<part_numbers>"
    },
    "name": "compare_parts"
  }
}

Input Schema

NameRequiredDescriptionDefault
part_numbersYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

The readOnly/idempotent hints already cover the safety profile, and the description usefully adds that output is a Markdown table limited to parameters the parts share, plus price and stock. It says nothing about edge behavior though, such as what happens with unknown part numbers, out-of-range counts, or parts missing price/stock data.

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?

Two short sentences, front-loaded with the capability and followed by the return contract; nothing is redundant or padded.

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 simple one-parameter read tool with annotations and an output schema, the description covers purpose and output shape adequately. The main missing piece is the accepted identifier format for part_numbers, which an agent needs in order to invoke it correctly.

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

Parameters2/5

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

Schema description coverage is 0% for the single required parameter, so the description must carry the burden. It only repeats the 2-6 cardinality already encoded as minItems/maxItems and never clarifies whether part_numbers expects manufacturer part numbers, LCSC IDs, or either, which is a meaningful ambiguity given the sibling set.

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 and resource ("Side-by-side comparison of 2-6 parts") plus the result shape, so the agent knows this is a multi-part compare rather than a single lookup like get_part. It doesn't explicitly name a sibling it replaces, which keeps it just below the top mark.

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: the 2-6 range signals when the tool is appropriate (comparing a shortlist), but there is no explicit statement of when to prefer this over search_parts, get_part, or find_alternatives, and no prerequisites or exclusions.

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