Skip to main content
Glama

get_product

Read-only

Retrieve a single product by ID, including its prices, variants, stock, tax and file settings. Product IDs come from a page response (data.product.id on get_checkout_page). Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productIdYesThe ID of the product to retrieve. Find it on a page response as `data.product.id` (see `get_checkout_page`).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the description's 'Read-only' simply restates that. The list of included sub-resources (prices, variants, stock, tax, file settings) adds some scope context, but nothing about permissions, error behavior, or data staleness is disclosed, which is acceptable given the lower bar set by annotations.

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 compact sentences, front-loaded with the action and scope, followed by the one piece of operational guidance an agent needs (where to get the ID). No filler or redundant restatement of the tool name.

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 a fully covered single-parameter schema, an output schema covering return values, and annotations covering the safety profile, the description supplies everything essential for correct invocation. Only auth/permission context and any error semantics are absent, which are minor gaps for a simple read tool.

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 100% and the single parameter already documents both the format pattern and the provenance of the ID. The description merely echoes the same ID-source guidance, adding no syntax or filtering detail beyond the schema, so the baseline of 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 (Retrieve) plus resource (a single product by ID) with an explicit enumeration of the returned sub-resources (prices, variants, stock, tax, file settings). The 'single product by ID' + 'Read-only' framing clearly separates it from update_product and the get_* siblings that target other entities.

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 description tells the agent where the required productId comes from (data.product.id on get_checkout_page), which is practical usage guidance. However, it never states when to reach for this tool versus other getters/updaters or what prerequisites exist, so usage is implied rather than explicit.

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