Skip to main content
Glama

find_alternatives

Read-onlyIdempotent

Find substitute, similar, or upgrade components for out-of-stock or obsolete parts, with DigiKey stock and price details.

Instructions

DigiKey's substitutes for a part (direct, similar, upgrade...), with stock and price. Useful for out-of-stock or obsolete parts.

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_number": "<part_number>"
    },
    "name": "find_alternatives"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
part_numberYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and open-world behavior, so the bar is lower. The description adds the source of the data (DigiKey) and the fact that results are bucketed by substitute type and annotated with stock/price, which is genuinely useful context beyond the annotations, but it says nothing about coverage limits, region/currency, or how authoritative the matches are.

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 tight sentences with no filler; the core capability is stated first and the use case trails as a qualifier. Nothing could be removed without losing information.

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?

With an output schema present, the description need not explain return values, and it still sketches what each result carries. For a simple two-parameter lookup it is nearly complete, with only the part_number format expectation and result-count behavior left implicit.

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 two parameters, and the description compensates for neither. It never mentions that part_number must be a DigiKey-recognized number (a real question given the open-world source) or that limit caps results at 25 with a default of 10 — only the raw schema hints at those.

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 names a specific resource (DigiKey's substitutes for a part) and enumerates the substitute categories (direct, similar, upgrade), plus what comes back with each (stock and price). That is clearly distinct from the price, datasheet, and search siblings, though it never explicitly contrasts itself with them.

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

Usage Guidelines4/5

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

"Useful for out-of-stock or obsolete parts" gives a concrete triggering condition for reaching for this tool instead of get_part or search_parts. It stops short of explicit exclusions (e.g., when to prefer compare_parts once candidates exist).

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