Skip to main content
Glama

Resolve a QR code, GTIN or product page

resolve_product
Read-onlyIdempotent

Use this when someone pastes or scans what is printed on a label or package: a ProofPass QR link (/q/…), a GS1 Digital Link (/01/), a bare GTIN or a ProofPass product page address. Resolves what is printed on a label or pasted from a browser to the public product: a ProofPass QR link or its 7-character code (/q/), a GTIN or GS1 Digital Link (/01/), a product page address or "manufacturer-slug/product-slug". Returns the identifiers and every current document exactly as the public product page shows them; hidden products, unchecked or paused manufacturers and archived versions are never returned. Do not use for a free-text product name (use search_products) or for products in the person's own account (use get_my_product).

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": {
      "product": "<product>"
    },
    "name": "resolve_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
productYesQR link or code, GTIN, GS1 Digital Link, product page URL, "manufacturer-slug/product-slug" or a product id from search_products
languageNoLanguage of the answer: "de" (German, default), "en" (English) or "pl" (Polish). Product and account answers are written in German and English; content without a translation comes in German.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds genuinely non-obvious behavior on top. It discloses the return scope (identifiers plus every current document, mirroring the public page) and the visibility filters: hidden products, unchecked or paused manufacturers, and archived versions are never returned.

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 trigger condition and well organized into use / behavior / do-not-use segments. The second sentence re-enumerates the input formats already listed in the first, which is mild redundancy but the rest of the wording is dense and purposeful.

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 only two parameters and no output schema, the description carries the burden of describing results and does so: identifiers plus all current documents, as rendered on the public product page, with explicit exclusion of hidden/archived content. Nothing an agent needs in order to call this correctly is missing.

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 baseline is 3, and the description earns a step up by expanding on the accepted input shapes beyond the schema's terse "QR link or code, GTIN, GS1 Digital Link, product page URL" — it spells out the /q/<code> 7-character form and the /01/<gtin> form. The language parameter is left entirely to the schema, which documents it fully, so no penalty.

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 (resolve) and resource (product) and enumerates the exact accepted inputs: ProofPass QR link (/q/…), GS1 Digital Link (/01/<gtin>), bare GTIN, product page address, or manufacturer-slug/product-slug. It also explicitly contrasts itself with search_products and get_my_product, so an agent can distinguish it from siblings without opening any 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?

Gives a concrete triggering scenario ("when someone pastes or scans what is printed on a label or package") plus two explicit exclusions with the correct alternatives named for each: free-text names go to search_products, own-account products go to get_my_product. When-to-use, when-not-to-use, and routing are all covered.

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