Skip to main content
Glama

get_part

Read-onlyIdempotent

Retrieve the full DigiKey record for a single part number, including parameters, price breaks, stock, lifecycle, RoHS, lead time, and datasheet URL.

Instructions

Full DigiKey record for one part: every parameter, packaging options with price breaks, stock, lifecycle, RoHS, lead time, datasheet URL.

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": "get_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
part_numberYesManufacturer part number or DigiKey part number

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 readOnlyHint, idempotentHint and openWorldHint, so the safety profile and external-source nature are covered. The description adds the shape of the fetched record, which helps an agent decide whether the call is worth it, but says nothing about caching/freshness, upstream rate limits, or failure behavior when a part number is not found—all relevant for an open-world lookup.

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?

One sentence, front-loaded with the core action, then a compact enumeration of what comes back. No filler, nothing redundant.

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, return values need not be spelled out, and the annotations cover the read-only/idempotent profile; the single well-documented parameter is fully specified. The only real omission is routing guidance versus siblings such as get_price or compare_parts.

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 coverage is 100% and the single parameter already documents that it accepts a manufacturer or DigiKey part number. The description adds no further meaning about the identifier format, ambiguity between MPN and DK number, or any optional narrowing, so the schema carries the burden.

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 (fetch the full record for one part) and enumerates the payload: parameters, packaging with price breaks, stock, lifecycle, RoHS, lead time, datasheet URL. The word 'Full' implicitly sets it apart from narrower siblings like get_price, though no sibling is named explicitly.

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 infers this is the tool for a complete part lookup when the enumerated fields are all needed. There is no explicit when-to-use statement, no pointer to get_price for a lighter pricing call, and no guidance on batching or alternatives.

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