Skip to main content
Glama

get_product_details

Fetches detailed product data from a product page URL, including variants, per-variant prices, availability, images, attributes, and supported checkout modes.

Instructions

Retrieves detailed product information for a given product page URL. Returns product metadata, supported checkout modes (canCheckout: login / guest), variant dimension names (e.g. Color, Size), and per-variant price, availability, image, attributes, and monetizationUrl.

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": {
      "url": "<url>"
    },
    "name": "get_product_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull product page URL to fetch details for
allVariantsNoWhen true, returns all available variants for the product

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.6

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full burden. It does disclose the return surface well (canCheckout values, variant dimensions, per-variant price/availability/image/attributes/monetizationUrl), but says nothing about auth requirements, rate limits, failure modes for invalid URLs, or how 'allVariants' changes result size.

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 front-loaded sentences: the first gives the action and scope, the second enumerates the payload. The return-value sentence is long but each element listed is distinct content, not filler.

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 and no annotations, the description does the needed work by enumerating what comes back, including checkout-mode flags and per-variant data. It is only missing behavioral context around permissions and error handling.

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%, so both parameters are already documented in the schema. The description reinforces meaning by describing per-variant output and variant dimension names, but adds no format or constraint details beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Retrieves detailed product information') scoped to a 'given product page URL', which implicitly separates it from list-oriented siblings like search_products. It never names an alternative or explicitly marks the distinction, so it falls short of a 5.

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?

Usage is only implied by the phrase 'for a given product page URL' – an agent can infer it is the per-URL detail lookup, but there is no explicit when-to-use, when-not-to-use, or prerequisite guidance.

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