Skip to main content
Glama

web_identify

Read-onlyIdempotent

WHICH PRODUCT a barcode (or a brand + model number, or a product name) is, read from the web: Google web + shopping results (shops, barcode databases, makers) read by a language model, a shop page's own barcode confirming it where one does, then the same product on our Amazon and Walmart records. USE WHEN the user has a UPC / EAN that product (gtin) does not resolve, a supplier line with a barcode or model number, or asks what a barcode is. DON'T USE for a barcode our records hold (product with gtin is cheaper), for an ASIN or a Walmart item (already identified: product), or for where else it is sold (web_offers). RETURNS outcome (identified | not_identified), identity (name, brand, model, size, pack, category, confidence high | medium | low, confirmed_by barcode_on_page | search_results | our_records, evidence[] with source, url, title), listings[] (the same product per marketplace: marketplace, product_id, title, brand, price, currency, product_url, match with matched_by and confidence), search, searched_at. HONESTY: not_identified means the web results name no one product with enough confidence, not that it does not exist; a low-confidence guess is shown as such. LATENCY 10-40 SECONDS; if still running the tool says so: call again with the same arguments. COST paid plans. 40 credits identified, 32 when the search ran and the web names no one product; a failed search is free. The same input asked again within 24 hours is answered from that search at the same price. 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "web_identify"
  }
}

Input Schema

NameRequiredDescriptionDefault
gtinNoA barcode: UPC-12, EAN-13, GTIN-14 or ISBN-13.
brandNoThe product's brand (with model or title).
modelNoModel / part number (MPN), with brand.
titleNoThe product's name, when there is no barcode.
marketplacesNoWhere to find its listings: Amazon marketplaces and walmart, comma-separated.us,walmart
max_age_hoursNoAnswer from an identification of the same input finished within this many hours (same price). 0 = a fresh search.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, openWorld, idempotent, non-destructive), yet the description adds substantial context they cannot carry: 10-40 second latency with an explicit "call again with the same arguments" retry rule, credit cost per outcome (40 identified / 32 not identified / free on failure / overage billed via credits_detail), and a 24-hour cached-answer pricing rule. It also discloses the honesty contract for not_identified and low-confidence results, which is exactly the kind of failure-mode information an agent needs.

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?

Dense but deliberately structured with front-loaded caps-labelled blocks (USE WHEN, DON'T USE, RETURNS, HONESTY, LATENCY, COST) so an agent can scan to the section it needs. It is long, and the RETURNS block borders on verbose field enumeration, but almost every sentence carries operational 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, and the description compensates fully by enumerating outcome, identity, listings, and evidence fields plus their possible values. Combined with latency, retry, cost, and failure-mode disclosure, an agent has everything needed to call it correctly and interpret the result.

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?

Schema description coverage is 100%, so the schema already documents gtin formats, brand/model pairing, title fallback, marketplaces default, and max_age_hours caching. The description reinforces the input modes (barcode vs brand+model vs product name) and the 24-hour repeat rule but adds little syntax or format detail beyond the structured fields, so it sits at the baseline.

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?

"WHICH PRODUCT a barcode ... is, read from the web" names a specific resource and the resolution method (Google web + shopping, shop-page barcode, then our Amazon/Walmart records). It is immediately distinguishable from product (record lookup) and web_offers (where else it is sold), which it names explicitly.

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?

Explicit USE WHEN conditions (unresolved UPC/EAN, supplier line with barcode or model number, "what is this barcode") and explicit DON'T USE cases with the correct alternative for each: product for held barcodes, product for ASIN/Walmart items, web_offers for other sellers. Routing is fully determined.

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.