Skip to main content
Glama

get_product

Read-only

Retrieve complete details for a bicycle part by part number—specs, compatibility, price, stock, and restock—to compare candidates or confirm fit before recommending.

Instructions

Get everything the store knows about one part: description, technical attributes (speed, wheel size, brake type, axle standard and so on), compatibility list, price, stock status, units on the shelf and restock days. Use it to compare two or three candidates from search_products or to confirm that a part fits the buyer's bike before recommending it.

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": {
      "id": "<id>"
    },
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPart number as returned by `search_products`. Case and dashes do not matter. At most 100 characters.

Output Schema

NameRequiredDescriptionDefault
idYesPart number, for example `VEL-CH-1042`. Unique and stable for a given seed.
fitsYesCompatibility tags: bike types and standards the part fits. Empty means universal.
brandYesFictional brand name.
stockYesStock status.
titleYesProduct title.
categoryYesProduct category.
price_usdYesPrice in US dollars.
attributesYesTechnical attributes such as `speed`, `wheel_size` or `brake_type`.
descriptionYesPlain-text description.
price_centsYesPrice in whole cents; authoritative, `price_usd` is the same amount for display.
restock_daysYesDays until a backordered part ships; absent for other statuses.
quantity_availableYesUnits on the shelf (zero unless `stock` is in stock or low stock).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that the response is the store's full knowledge of a single part, but it doesn't discuss latency, misses (unknown part number), or rate limits. Some of the field listing overlaps with the output schema, which already documents return values.

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, both earning their place: the first front-loads the payload contents, the second supplies the decision context. The parenthetical technical-attribute examples (speed, wheel size, brake type) are slightly long but genuinely orient a bike-shop agent.

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 one-parameter read tool with full schema coverage, complete annotations, and an output schema that documents the return shape, nothing an agent needs in order to call it correctly is missing. The description focuses on the parts structured data can't express: what decision the result supports.

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 id parameter is fully described there, including case/dash insensitivity and the 100-character cap. The description adds only the implicit point that the lookup is for exactly one part, so it neither compensates nor detracts. Baseline 3 applies.

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?

Specific verb ("Get") plus a precisely scoped resource ("one part"), followed by an enumeration of what comes back: description, technical attributes, compatibility, price, stock status, units, restock days. That enumeration makes it unmistakable against search_products, which returns candidates rather than a single part's full record.

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 two explicit when-to-use cases: comparing two or three candidates found via search_products, and confirming fit before recommending a part. It names the sibling that feeds it and states the decision it supports, so an agent knows both the trigger and the upstream call.

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