Skip to main content
Glama

Get product details

get_product
Read-only

Fetch full catalog product details by numeric ID or slug, including variations, images, attributes, shipping, packaging, compliance data, and public page URL.

Instructions

Get full details for one catalog product by numeric id or slug, including variations (with their catalog variation ids), its public page url, images, attributes, shipping, packaging and compliance data. Note: wholesale price is null unless HERTWILL_API_KEY is configured.

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": {
      "id_or_slug": "<id_or_slug>"
    },
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoReturn the description in this language. Names are not translated.
id_or_slugYesNumeric product id (e.g. '11180') or product slug.

Output Schema

NameRequiredDescriptionDefault
dataYes
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds valuable behavior beyond annotations by noting that wholesale `price` is null unless HERTWILL_API_KEY is configured, which is a non-obvious conditional data-availability constraint.

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?

The definition is two tight sentences. The core purpose and accepted identifiers are front-loaded, the returned data categories are listed compactly, and the API-key caveat follows with no extraneous wording.

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?

The tool is simple, has full schema coverage, and has an output schema, so the description does not need to explain return shapes in detail. It covers the key data scope and an important authorization-dependent caveat, though it could have mentioned alternative discovery tools like search_products for agents that lack an id or slug.

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 schema already documents `id_or_slug` as a numeric product id or slug and `lang` as the language for returned descriptions. The description duplicates the id-or-slug meaning but adds no further parameter semantics, so the baseline of 3 is appropriate.

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?

The description states a specific verb and resource: 'Get full details for one catalog product.' It also specifies accepted identifiers (numeric id or slug) and names what the returned details include, so an agent can distinguish this lookup from search or sync operations.

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?

The description gives clear usage context: retrieve full details for a single known product identified by id or slug. It does not explicitly name alternatives such as search_products for finding an id, but the 'one catalog product by numeric id or slug' framing makes the intended use case clear.

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