Skip to main content
Glama

Get product details

get_product
Read-onlyIdempotent

Returns one published product by id, slug or sku: long and short description (HTML), prices, stock status, attributes (flavour, nicotine strength), variations, images, categories and SEO title and description.

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
idNoNumeric ID.
skuNo
slugNoURL slug.
renderedNoAlso return the visible text of the public page. Use this when the content comes from the theme template rather than the editor.none

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 readOnly, idempotent, non-destructive and closed-world, so only extra context counts. The description does add that only published products are returned and enumerates the response payload, but says nothing about not-found behavior or whether supplying multiple identifiers is an error.

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?

A single front-loaded sentence that names the verb, the lookup keys, and then the payload as a compact list. No filler and nothing buried at the end.

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 correctly carries the burden of describing return contents, and it does so thoroughly. It falls short only on edge cases: no required parameters are declared, yet no statement that at least one identifier must be supplied or how misses are reported.

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 75%, so the baseline is 3; the schema already documents id, slug and the rendered enum including its use case. The description restates the three lookup keys but never clarifies exclusivity or precedence (e.g. if both id and sku are sent), which is the one semantic gap the schema leaves.

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 and resource ("Returns one published product") plus the three lookup keys and the exact payload (descriptions, prices, stock, attributes, variations, images, categories, SEO). "One published product" also separates it from the sibling list_products without naming it.

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: fetch a single product when you already have an id, slug or sku. There is no explicit when-to-use vs. list_products, no guidance on choosing among the three identifiers, and no statement about what happens for unpublished or unknown products.

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