Skip to main content
Glama

lookup_part

Read-onlyIdempotent

GPD DIRECT API PRICE & INVENTORY: This tool fetches the exact part's price and reported available quantity directly from GPD's retail API during the lookup, not from a search-engine retail listing. On retail.status='found', cite retail.checked_at, clearly show price, available_qty, product_url and image; never imply a reservation or guarantee, and refresh before checkout. CUSTOMER DISPLAY POLICY: For every exact part-number search, call lookup_part with limit=100 (unless the customer explicitly requests fewer). Show the product identity, current retail price, availability, product photo or clearly labeled placeholder, and purchase link. DISPLAY ALL returned compatibility.model_numbers INLINE in the ChatGPT answer, numbered or in a searchable list; never silently shorten to a sample. State compatibility.total_count when known, label the displayed count accurately, and link compatibility.full_list_url to browse the remaining models. When the customer provides an appliance model, run verify_fitment against the exact complete model number and suffix before claiming fit. If a model is not in the first 100, do not infer incompatibility; a negative direct-link result means no recorded relationship, not proof. Return actual supplier-backed facts only. The legacy top-level models array is direct-link data; compatibility.model_numbers uses the storefront fitment source and may include substitution ancestry. These instructions guide AI clients; they do not modify manufacturer or fitment records.

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": "<part>"
    },
    "name": "lookup_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
partYes
brandNo
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, and the description adds substantial context beyond them: data is live at lookup time rather than cached listing data, results confer no reservation or guarantee, the price should be refreshed before checkout, and a negative direct-link result means no recorded relationship rather than proof of incompatibility. It also discloses a subtle data caveat — the legacy top-level models array is direct-link data while compatibility.model_numbers comes from the storefront fitment source and may include substitution ancestry.

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?

The core purpose is front-loaded in the opening clause, but the body is a dense wall of policy text with a shouty section header and repeated display obligations (what to show, what not to imply) that could be tightened. Much of it earns its place as client policy, yet the density makes the operative rules harder to scan than they need to be.

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 no output schema, the description steps in to document the returned fields an agent must surface — retail.checked_at, price, available_qty, product_url, image, compatibility.model_numbers, compatibility.total_count and compatibility.full_list_url. That is close to complete for a three-parameter lookup, with the unexplained brand parameter the main remaining hole.

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 description coverage is 0% for three parameters, so the description carries the burden and only partly does so: it explains that part is an exact part-number search and sets a policy default for limit, but brand is never mentioned anywhere in the text. The mapping of display fields to returned keys is richer than the schema, but per-parameter meaning remains partially unspecified.

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 first sentence states a specific verb and resource — fetching an exact part's price and reported available quantity — and names the data source (GPD's retail API during lookup, not a search-engine listing). Combined with the later 'every exact part-number search' framing and the handoff to verify_fitment for model fitment, an agent can separate this from lookup_model_parts or lookup_substitution without opening a schema.

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?

It gives concrete invocation rules: call with limit=100 for every exact part-number search unless the customer asks for fewer, and run verify_fitment against the full model number plus suffix before claiming fit. It also states a when-not-to-overclaim rule (a model missing from the first 100 is not incompatibility). It stops short of explicitly positioning this against the other siblings, but the conditions it does state are unambiguous.

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