Skip to main content
Glama

web_product

Read-onlyIdempotent

The product ONE SHOP'S PAGE sells, read now from its URL: name, brand, model, barcode, price, currency, stock, condition, size, color - from the page's own product data when it carries it, else read by a language model. USE WHEN the user gives a product URL on a shop's site (not Amazon / Walmart) and wants its price or details, or wants it matched to Amazon / Walmart (match=true). DON'T USE for Amazon or Walmart URLs (product), for finding other shops (web_offers) or for a whole page's text (web_page). RETURNS outcome (product | no_product), product, extraction (structured | model), tier (direct | residential | browser), final_url, read_at, listings[] with match=true. HONESTY: a page that none of the three routes delivers is not read (nothing billed); search engines, social networks and non-public addresses are never read. LATENCY 1-90 SECONDS. COST paid plans: the page (1 plain request, 4 residential route, 15 read in a browser, + 12 for each further browser try) + 1 when the page carries its own product data or + 5 when the model reads it; + 10 for a matched listing; a page not read is free. A call that uses more than its listed price covers (several browser tries, a very large page, a long model read) is billed by what it used (credits_detail).

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": "web_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe shop's product page URL (http or https).
matchNoAlso find the same product on our Amazon / Walmart records.
marketplacesNomatch=true: Amazon marketplaces and walmart, comma-separated.us,walmart
max_age_hoursNoAnswer from a read of the same URL within this many hours (same price). 0 = a fresh read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds substantial context beyond them: the three extraction routes (structured | model | browser), the honesty rule that unreadable/non-public/search-engine pages are never read and not billed, a 1–90 second latency range, and a full credit cost breakdown including overage billing via credits_detail.

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?

Well front-loaded and labeled (USE WHEN, DON'T USE, RETURNS, HONESTY, LATENCY, COST), so an agent can scan to the relevant block. The COST sentence is a dense parenthetical that takes effort to parse, which keeps it from a 5, but every section carries information an agent needs.

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 takes on the return contract itself and delivers it: outcome enum, product, extraction mode, tier, final_url, read_at, and listings[] when matching. Combined with the honesty and billing rules, an agent has everything needed to call this correctly and predict the cost.

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%, so the baseline is 3, but the description adds meaning on top: it explains that `match=true` is what triggers matching to Amazon/Walmart records, that matches appear in `listings[]` and cost +10, and it frames `max_age_hours` implicitly through the fresh-read/cached-read cost model. It stops short of restating the comma-separated marketplaces syntax, which the schema already handles.

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 — read a shop's product page from its URL — and enumerates exactly what is returned (name, brand, model, barcode, price, currency, stock, condition, size, color). It explicitly contrasts itself with `product` (Amazon/Walmart), `web_offers` and `web_page`, so an agent can route 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 Guidelines5/5

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

Uses explicit USE WHEN / DON'T USE blocks with named alternatives and the condition that selects each: shop URL not Amazon/Walmart here, Amazon/Walmart goes to `product`, other shops to `web_offers`, whole-page text to `web_page`. The match=true path is also stated as a distinct use case.

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.