Skip to main content
Glama

shopify_product_get

Read-onlyIdempotent

Fetch a single Shopify product by global ID to retrieve its description and first 50 variants, including SKU, price, and inventory; use the gid:// format, not a bare number.

Instructions

Get one product with its description and its first 50 variants, including each variant's SKU, price and inventory. Takes a global ID (gid://shopify/Product/...), not a bare number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
variablesYesWhich product to fetch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld), so the bar is lower; the description adds real value by disclosing that only the first 50 variants are returned, a scope limit the annotations cannot express. It stops short of saying how to retrieve the remaining variants.

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?

Two tight sentences, front-loaded with what is returned and followed by the input constraint; nothing is redundant.

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 does the work of describing the return payload (description plus variant SKU/price/inventory), which is enough to call the tool correctly. The absence of any hint on paging past the first 50 variants is the only minor gap.

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 id parameter is already documented in the schema, so the baseline is 3. The 'not a bare number' emphasis reinforces the format but adds no new syntax or semantics beyond the schema.

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?

States a specific verb ('Get') and resource ('one product'), and enumerates the payload (description plus first 50 variants with SKU, price, inventory), which cleanly distinguishes it from shopify_products_list and shopify_product_update.

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?

The single-record scope implies it is for fetching a known product rather than browsing, but the description never names an alternative (e.g. shopify_products_list) or states when not to use it. The ID-format warning is parameter guidance, not usage routing.

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