Skip to main content
Glama

Get product offers

get_product
Read-only

Get one product by id (from search results, e.g. "c3:2yh8WH5") with every known offer, one per merchant, cheapest first. Prices are USD. Give the user best.buy_url (a link we may earn a commission on; disclose that). as_of says how fresh each price is.

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

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare read-only and open-world, so the description adds real value: one offer per merchant, cheapest-first ordering, USD pricing, the as_of freshness field, and the affiliate-commission disclosure obligation. It does not cover failure modes (product not found) or the full set of returned fields, which matters since there is no output schema.

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?

Three tight sentences, front-loaded with the action and scope, then return-shape facts, then the user-facing instruction. No filler and nothing repeated from the schema.

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 does most of the work by describing the offer list, ordering, currency, freshness field, and the affiliate link. Minor gaps remain around error behavior and any other response fields an agent might rely on.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry the burden — and it does, explaining that the id originates from search results and showing a concrete sample format ('c3:2yh8WH5'). That is meaningful provenance and format guidance beyond the bare string constraint.

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 ('Get one product by id') plus the exact scope of what comes back: every known offer, one per merchant, cheapest first. The parenthetical 'from search results' also signals how it relates to search_products, so an agent can tell lookup-by-id apart from discovery.

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?

Clearly says the id must come from search results and gives an example id, which establishes the prerequisite. It also prescribes downstream behavior (surface best.buy_url, disclose the commission). It stops short of naming alternatives like get_comparison or get_deals or saying when not to use this tool.

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.