Skip to main content
Glama

Get a product

get_product
Read-onlyIdempotent

One product with its variants, prices, availability and store link.

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

Input Schema

NameRequiredDescriptionDefault
storeYesThe store, from find_stores or search_all_stores (its `store` field).
localeNoLanguage of the returned text: ar (Arabic) or en (English).
productIdYesProduct id (UUID) as returned by search_products.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / locale / description
      Added value: +"Language of the returned text: ar (Arabic) or en (English)."
    • addedInput schema / properties / productId / description
      Added value: +"Product id (UUID) as returned by search_products."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered and the description cannot contradict it. The description does add useful return-payload context (variants, prices, availability, store link), which matters since no output schema exists, but it says nothing about missing-product behavior, price freshness, or locale fallback.

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?

A single front-loaded sentence fragment with zero filler, and the returned fields are listed in a sensible order. It is a fragment without a verb, which slightly hurts readability, but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read tool with fully described parameters and complete annotations, the definition is close to sufficient, and it does sketch the return shape in the absence of an output schema. It stops short of describing behavior when the productId is unknown or what locale default applies, which would round out a lookup tool.

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%, with each of the three parameters documented in the schema itself, including the enum for locale and the UUID format for productId. The description adds no parameter meaning beyond that, which is the expected baseline when the schema does the heavy lifting.

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?

The description names a single concrete resource and enumerates its payload (variants, prices, availability, store link), and the word 'One' implicitly distinguishes it from the list-style search_products sibling. It lacks an explicit retrieval verb, so the action is inferred rather than stated, but the intent is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance and no mention of any alternative. An agent must infer on its own that search_products is the discovery step and this is the detail fetch, and nothing states what to do if the product is not found or how store/productId relate to prior calls beyond the schema hints.

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.