Skip to main content
Glama

Validate Part Number

validate-pn
Read-onlyIdempotent

Validate a part number and check whether it exists in the PartsTable catalog (26,182,530 distinct part numbers, measured 2026-11-23), from government, OEM, and commercial authority sources. Returns structural validity and catalog existence.

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": {
      "partNumber": "<partNumber>"
    },
    "name": "validate-pn"
  }
}

Input Schema

NameRequiredDescriptionDefault
partNumberYesThe part number to validate

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / manufacturer
      Removed value: -{
      -  "description": "Expected manufacturer, or omit to auto-detect",
      -  "type": "string"
      -}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and closed-world behavior, so the description isn't obligated to cover safety. It does add real context beyond that: the catalog size, the measurement date, and which authority sources feed the catalog, plus the exact nature of the return (validity + existence). It stops short of describing normalization handling or lookup latency characteristics.

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

Conciseness4/5

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

Two sentences, front-loaded with the core action and the return contract. The catalog count and measurement date are slightly extraneous but short and they establish lookup coverage, so little is wasted.

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 one-parameter read tool with no output schema, the description supplies what an agent needs: what is validated, what is returned, and the scope of the catalog being checked. Only input formatting expectations are left unaddressed.

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?

With a single required parameter at 100% schema coverage, the schema already carries the semantics ('The part number to validate'), so the baseline is 3. The description adds no formatting guidance — whether dashes, spaces, or case matter, or whether non-normalized input is rejected versus normalized internally.

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 verb and resource ('Validate a part number') and states the two outputs: structural validity and catalog existence. This separates it implicitly from retrieval-oriented siblings like get-part or search-parts, though the distinction is never made explicit.

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 can infer this is the check-before-use tool, but the description never says when to prefer it over normalize-pn, get-part, or get-substitutes, nor does it mention any prerequisites or follow-up steps.

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.

Resources