Skip to main content
Glama

Look up a product

get_product

Fetch one product by its numeric ID: name, brand, current price in pence (null when last checked over 24 hours ago), stock state and rating. buyUrl is the link to give a user who wants to buy it; never rebuild an Amazon link from the ASIN. IDs come from search_products.

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
idYesNumeric product ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses that price may be null when last checked over 24 hours ago, that buyUrl must be given to the user rather than rebuilt from the ASIN, and that stock state is returned. It does not cover not-found behavior or any auth/rate-limit characteristics, which keeps it short of a 5 for an unannotated read tool.

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?

Two dense sentences with zero filler: the return payload leads, followed by the critical buyUrl constraint and the ID provenance. Every clause carries actionable information.

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

Completeness5/5

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

There is no output schema, so the description must describe returns, and it does so field by field including nullability of price and the correct use of buyUrl. For a single-parameter lookup tool this leaves nothing an agent needs in order to call it and interpret the result.

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 already 100%, so the schema documents the single id parameter, and the description goes further by specifying where that ID must come from ('IDs come from search_products'), which is meaning the schema cannot convey. The 'numeric ID' framing reinforces the type correctly.

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 ('Fetch one product by its numeric ID') and immediately enumerates the returned fields (name, brand, price, stock state, rating). It also distinguishes itself from the sibling lookup path by noting IDs come from search_products, so an agent can tell it apart from search_products without opening a schema.

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 clearly establishes when to use this tool: when you already have a numeric ID sourced from search_products. It does not state what to do if the ID is unknown or invalid, and it gives no explicit 'do not use for browsing' exclusion, but the prerequisite routing is clear.

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