Skip to main content
Glama

Get product details

get_product
Read-only

One product's details: by url, or by a product_id from search_products. When the shop's own page is read, product.details adds what the page shows: variants (size, colour, SKU, price, stock; 100 at a time, with variant_count: when there are more, get_results with the next_cursor reads the next 100, free), option_names, images, identifiers such as GTIN, brand, category_path, description, seller (who sells this listing: the shop itself, or on a marketplace such as Amazon the third-party seller with a link to their storefront) and warnings for fields the page doesn't give. For a product sold by several shops, the answer also lists every shop's price, shipping, stock notes and a direct link (marketplace: true with seller when a third-party seller on that shop sells it; other_market: true for a shop outside the asked country, listed last), plus a few reviews. Costs credits; failed reads are free. Needs sign-in.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoThe product page URL.
formatNostructured: common product fields. raw: also the shop's own JSON, unchanged (not every shop has it).structured
product_idNoA product_id from search_products.
max_creditsNoOptional budget. If the request could cost more, nothing runs and nothing is charged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint/destructiveHint, it discloses that reads cost credits while failed reads are free, that sign-in is required, the 100-variant batch limit, that 'warnings' are returned for fields the page lacks, and how multi-shop results and out-of-country shops are ordered. These are exactly the cost, auth and failure behaviours annotations cannot express.

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?

The key fact and both addressing modes are front-loaded, and nearly every clause carries real information (cost, auth, pagination, marketplace flags). It reads as one very long run-on sentence with several nested colons, which costs some scannability.

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?

There is no output schema, so the description must describe return shape — and it does, covering variants with their fields, option_names, images, identifiers, seller semantics, warnings, cross-shop pricing and reviews. For a complex open-world reader with four optional params, an agent has everything needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description still adds meaning by tying product_id to its origin tool, framing url vs product_id as alternative addressing, and implying how max_credits interacts with the stated credit cost. It does not explain the 'raw' format mode beyond what the schema already says.

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 precise verb+resource ('One product's details') and immediately defines the two addressing modes (url or product_id). It names the sibling search_products as the source of product_id, so an agent can distinguish this from the search tool without opening either schema.

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?

Explicitly states how to obtain inputs (product_id from search_products), how to reach further results (get_results with next_cursor when variant_count exceeds 100), and the pagination cost ('free'). It also distinguishes the marketplace/other_market listing cases, giving concrete conditions rather than leaving the agent to infer.

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.