Skip to main content
Glama

call402

Product price and stock check

product_price
Read-only

Reads one public product page and returns its current price, currency, variant price range, in-stock flag and availability, plus title, brand, SKU, GTIN, MPN, rating, review count and image, from the store's own product data. Works best on Shopify, DTC and other stores that publish schema.org product data; some large retailers block automated checks and those come back free. One product URL per call. Flat price per product checked. Price: $0.01 per successful call (x402 USDC on eip155:8453). Failed or empty calls are never charged.

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": {
      "url": "<url>"
    },
    "name": "product_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesOne public product page URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-idempotent/non-destructive, and the description adds substantial context they don't cover: blocked retailers, uncharged failed or empty calls, and an explicit per-call price ($0.01 via x402 USDC on eip155:8453). Pricing and billing-failure semantics are exactly the kind of thing structured fields cannot express.

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?

Purpose and returned fields are front-loaded, and each sentence carries information. There is slight redundancy between 'Flat price per product checked' and '$0.01 per successful call', but overall the block is dense without being padded.

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?

With no output schema, the description must describe return values — and it does so field by field — while also covering failure/blocking behavior and billing. For a one-parameter read tool, an agent has everything needed 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 100% for the single 'url' parameter. The description adds only the constraint that exactly one product page URL per call is accepted, clarifying there is no batch form — helpful but marginal against an already-documented schema.

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?

The description names a concrete verb and resource ('Reads one public product page') and enumerates the exact fields returned: price, currency, variant range, stock flag, title, brand, SKU, GTIN, MPN, rating, review count, image. No sibling tool in the list overlaps with product-price lookup, so the agent can route to it unambiguously.

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?

It gives real when-it-works/when-it-fails guidance: best on Shopify/DTC stores publishing schema.org data, and large retailers may block automated checks. The 'one product URL per call' constraint is stated. It stops short of naming an alternative path for blocked retailers, but that is a minor gap.

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