Skip to main content
Glama
PCB Parts MCP Server

PCB Parts MCP Server

by Averyy

Part Lifecycle (BOM)

part_lifecycle
Read-onlyIdempotent

Check the lifecycle status of up to 50 BOM parts in one call, returning active, NRND, last-time-buy, obsolete, or unknown from Mouser and DigiKey.

Instructions

Lifecycle status of up to 50 parts in one call (a BOM's lifecycle check): active, nrnd, last_time_buy, obsolete or unknown, from Mouser and DigiKey. Use it instead of mouser_get_part / digikey_get_part for lifecycle. Readings are shared and kept: active 60 days, nrnd and last_time_buy 30, obsolete a year, others 90; other parts are asked of Mouser, and of DigiKey only when Mouser doesn't list them or its daily limit is spent. Reply: results in input order: input, mpn, manufacturer, status, raw (the distributor's wording; "not stated by Mouser" when Mouser gives none, as for most active parts), source, observed_at, last_buy_date (DigiKey). unknown can add not_found (neither lists it), retry_after (seconds until a limit allows the lookup), lookup_failed, not_sent (never sent: value such as "10k", lcsc_code, placeholder, length, not_ascii), error (unusable input), or makers (each maker's reading, when several list the number and none was given, or only other makers do). status_counts counts the statuses.

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": {
      "parts": "<parts>"
    },
    "name": "part_lifecycle"
  }
}

Input Schema

NameRequiredDescriptionDefault
partsYesUp to 50, each an MPN ("LM358P"), an LCSC code ("C7950": MPN and maker from the catalog snapshot, parts that left it included) or {"mpn", "manufacturer"} (the maker picks among parts sharing a number; "lcsc" also works). A list or a JSON array string.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.0

TDQS

A4.5/5.0
Behavior4/5

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

Well beyond the annotations: it discloses per-status cache lifetimes (60/30/365/90 days), that readings are shared and kept, the distributor fallback order, and the rate-limit signal retry_after. The safety profile is already covered by readOnlyHint/idempotentHint, and this adds operational behavior an agent would otherwise have to discover by trial.

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?

Purpose and the sibling alternative are front-loaded, which is good, but roughly half the text enumerates reply fields (input, mpn, manufacturer, status, raw, source, observed_at, last_buy_date, status_counts) that an output schema already defines. That bulk is informative but does not earn its place under a schema that carries it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, read-only lookup, every decision an agent must make — which tool to use, what inputs are acceptable, how results are ordered, and how to interpret degraded responses like unknown, not_found, or lookup_failed — is present in the definition.

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 100%, so the baseline is 3, but the description adds meaning the schema only implies: the 50-item cap is restated as a hard limit, and the not_sent reasons ('10k', lcsc_code, placeholder, length, not_ascii) implicitly document which input forms are rejected as unusable. It does not add syntax detail beyond the schema's own examples, keeping it short of a 5.

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 and resource ('Lifecycle status of up to 50 parts in one call'), enumerates the possible statuses, names both data sources, and explicitly distinguishes itself from mouser_get_part and digikey_get_part. An agent can identify the tool and its scope without opening the schema.

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?

Gives explicit routing: 'Use it instead of mouser_get_part / digikey_get_part for lifecycle,' and explains the internal source-selection rule (Mouser first; DigiKey only when Mouser lacks the part or its daily limit is spent). This is direct when-to-use and when-not guidance against named alternatives.

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