Skip to main content
Glama

Catalog Check

catalog_check
Read-only

Check if a designated part is available off the shelf. Pass a part designation or handle to receive a status code indicating if it's stocked, not stocked, or not catalogued.

Instructions

Is this exact part something you can buy off the shelf?

Pass a canonical designation ("ISO 4762 M4×12 A2", "608-2RS") or the handle of a part whose designation was stamped when it was generated. Offline and deterministic.

Returns {ok, code, standard, size, length, stocked, grade_ok, reason, nearest, lengths, grades, fidelity, captured, market}, where code is: stocked the size/length exists and the material is listed (for a cut-to-length product like threaded rod, any length up to the longest stock bar counts, with a note that it is a cut) not_stocked the size exists but the LENGTH is not a stocked rung — nearest names the rungs either side size_not_stocked the standard does not cover this size at all grade_not_listed the size exists, that material does not not_catalogued the product standard is outside this corpus's coverage. That is an absence of evidence, explicitly NOT a claim that the part is unavailable — check not_covered from catalog_search undesignated there was no designation to check ok is True only for stocked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handleNo
designationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark this as read-only and not open-world, but the description adds substantial behavioral context: it is offline and deterministic, 'ok' is true only for 'stocked', and 'not_catalogued' is carefully framed as absence of evidence rather than unavailability. This goes well beyond the annotation signals.

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?

The description is dense but well organized: a one-line purpose, input guidance, then a structured enumeration of return codes with precise meanings. Every sentence contributes usable information, and the most important constraint ('ok is True only for stocked') is placed at the end as a crisp summary.

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?

Given the absence of an output schema, the description thoroughly explains the return shape: the code values, the meaning of 'nearest', the cut-to-length nuance, and the false-negative caveat. Even though a few tuple fields like 'fidelity' and 'market' are not individually defined, the agent has enough to invoke the tool correctly and interpret its primary result.

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

Parameters5/5

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

The schema provides no descriptions for the two parameters, so the description must carry the full burden. It does so clearly: 'designation' is explained with concrete examples, and 'handle' is tied to a part whose designation was stamped at generation time. The agent can understand both how to populate the parameters and how they relate.

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?

The opening question 'Is this exact part something you can buy off the shelf?' plus the detailed code semantics make the tool's purpose unmistakable: check stock availability for an exact standardized designation or generated handle. It also differentiates itself from the sibling catalog_search by explicitly contrasting 'not_catalogued' here with 'not_covered' there.

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?

The description tells the agent exactly what inputs to pass and when the tool is the right choice: whenever an exact off-the-shelf availability question needs a deterministic answer. It also names a concrete alternative action for one outcome (check 'not_covered' from catalog_search), though it does not enumerate exclusions or compare against closely related siblings like catalog_nearest.

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

Deploy Server

Other Tools