Skip to main content
Glama

Get one product

get_product
Read-only

Look up a single product in full, by exactly one of productId, sku or handle. productId is the reliable lookup; SKU and handle are resolved by searching, which is slower and can match more than one product. A result with found: false and exhaustive: false means the search gave up before covering the catalogue, which is NOT the same as the product not existing.

Input Schema

NameRequiredDescriptionDefault
skuNoLook up by SKU. May match a variant rather than a product — the result says which.
handleNoLook up by URL handle/slug. Only Shopify and Wix products have one.
sourceNoSame meaning as in search_products.
productIdNoThe id exactly as search_products returned it. The reliable lookup.
includeVariantsNoInclude the full variant list (default false). Fifty variants is a lot of text.

Output Schema

NameRequiredDescriptionDefault
noteNo
foundYes
sourceNo
productYesThe product in full, with images and (on request) variants
ambiguousYesEvery match, when more than one product matched
matchedByNo
exhaustiveNofalse with found: false means the search gave up, not that the product is absent
matchedVariantNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly and non-destructive, so safety is covered. The description adds genuinely non-obvious behavior: the found:false / exhaustive:false combination does not mean the product is absent, and SKU lookups may resolve to a variant rather than a product — semantics an agent could easily misread from the output schema alone.

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?

Three sentences, each doing work: the operation, the parameter hierarchy, and the failure-mode caveat. Front-loaded and free of filler, with only minor overlap between the SKU/handle sentence and the schema descriptions.

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 and read-only annotations already present, the description supplies what structured fields cannot: the exclusivity rule and the interpretation of the ambiguous found/exhaustive result pair. The one gap is that the 'source' parameter is delegated entirely to search_products rather than described here.

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%, so all five parameters are already documented, including the source enum and includeVariants default. The description's one real addition is the implicit 'exactly one of' exclusivity constraint, which the schema does not encode (no oneOf), but the rest restates schema content.

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?

Opens with a specific verb and resource ('Look up a single product in full') and immediately constrains the scope to exactly one of three lookup keys. It is clearly distinct from search_products, which it references as the underlying mechanism for SKU/handle resolution.

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?

Gives actionable selection guidance among the three lookup parameters, explicitly recommending productId as the reliable path and flagging SKU/handle as slower, possibly many-to-one lookups. It stops short of stating when to prefer search_products first or when this tool should not be used.

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