Skip to main content
Glama

Get product details

get_product
Read-only

Full details of one product: every variant (sku, color, size, price, finalPrice, inStock), images, description and size chart (cm).

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

Input Schema

NameRequiredDescriptionDefault
handleYesProduct handle/code from search_products, e.g. QS-005

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description then adds genuine context beyond that: it lists the returned payload, including that every variant is expanded and that the size chart is in centimeters — non-obvious details with no output schema to carry them.

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 sentence, front-loaded with the scope ('one product') and then the field inventory. No filler, and the parenthetical field list keeps it dense without becoming a bulleted dump.

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 carries the return-value burden and does so thoroughly by enumerating variants, images, description, and size chart units. Minor gaps remain: nothing about behavior for an unknown handle or about large catalogs with many variants.

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?

Only one parameter exists and schema description coverage is 100%, with the schema already stating the handle format and example (QS-005). The description adds no further meaning about the handle, so the 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?

Names a specific verb ('full details of one product') and enumerates exactly what is returned (variants with sku/color/size/price/finalPrice/inStock, images, description, size chart in cm). This implicitly separates it from search_products by scoping it to a single product, though it never names that sibling outright.

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: 'one product' plus the schema note that the handle comes 'from search_products' sketches a search-then-detail flow, but the description itself contains no explicit when-to-use, when-not, or alternative-tool guidance.

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