Skip to main content
Glama

web_product

Read-only

Product page extractor (price, stock, variants) — Fetch any store product page and return normalized product data from its schema.org JSON-LD (Product, ProductGroup variants, Offer, AggregateOffer), microdata or Open Graph product tags: name, brand, SKU/GTIN/MPN, images, price (lowest in-stock offer, low/high range), currency, availability and inStock flag, seller, rating, up to 30 variants (size/color/price/stock) and a completeness score. 404 (not charged) when the page publishes no product data. Pass url. Price: $0.006 USDC (Base, via x402).

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
urlYeshttps://www.adafruit.com/product/4296

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), yet the description adds substantial behavior beyond them: the extraction sources (schema.org JSON-LD, microdata, Open Graph), the aggregation rule for price (lowest in-stock offer with low/high range), the 30-variant cap, a completeness score, and the 404-not-charged failure mode. Cost and payment rail ($0.006 USDC via x402 on Base) are disclosed, which is critical for an agent deciding whether to call.

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?

Front-loaded with the purpose and parenthetical summary, and every clause (data sources, field list, 404 behavior, price) carries information. It is a single very dense sentence with stacked parentheticals, which makes it harder to scan than a short bulleted structure would be, but there is no filler.

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 burden of describing return values and does so thoroughly (fields, variant limit, price aggregation, completeness score). Failure semantics (404 when no product data) and cost are also present, leaving nothing essential an agent needs before calling.

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?

Only one parameter exists and schema description coverage is 100%, with an example URL in the schema, so the baseline is 3. The description adds little beyond 'Pass url' — it implies the target must be a store product page, but gives no guidance on URL format, redirects, or whether non-product URLs still incur a charge.

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 any store product page and return normalized product data') and enumerates the returned fields (price, stock, variants, SKU/GTIN, availability), so the agent knows exactly what it gets. The narrow resource type makes it easy to separate from generic extractors like web_extract or web_article without needing explicit naming.

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

Usage Guidelines3/5

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

Usage is only implied by the resource type ('any store product page'); there is no explicit statement of when to prefer this over web_extract, web_markdown, or ai_product_attributes, and no exclusions or prerequisites. An agent can infer the fit, but the definition does no routing work.

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