Skip to main content
Glama

gtinfetch – Agentic Commerce

Fetch GTIN

fetch_gtin
Read-onlyIdempotent

What is this GTIN? Returns the signed record for a GTIN-8/12/13/14: product, brand, maker, category and pack where a source page states them, each with the pages it was read from and the date it was read; seen_in markets and banners; confidence confirmed (two or more independent domains agree) or seen (one). A GTIN with no observation answers status unknown with no fields — never a guess. Pass market (hub market code; UK accepted for GB) to tag the ask with the market: a miss is queued as a lead for that market. Can it be sold there is the hub's gate, not this door's.

Input Schema

NameRequiredDescriptionDefault
gtinYes8, 12, 13 or 14 digits
marketNooptional hub market code, e.g. UK, US, FR

Output Schema

NameRequiredDescriptionDefault
as_ofNo
fieldsNo
gtin14Yes
statusYes
sourcesNo
signatureNo
confidenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / light
      Removed value: -{
      -  "type": "object"
      -}
  2. 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/idempotent/non-destructive/openWorld, and the description layers on semantics the annotations cannot: confidence tiers (confirmed vs seen, two independent domains vs one), the no-observation case returning 'status unknown' with no fields and 'never a guess', and the side effect that a market miss is queued as a lead. This is unusually rich behavioral disclosure.

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?

The critical information (what it returns, confidence, negative case) is front-loaded in the first sentences. It is dense and stylized ('this door's', 'the hub's gate'), which costs a little readability, but nearly every clause carries payload.

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?

Despite an output schema existing, the description usefully frames return shape and, more importantly, disambiguates confidence and empty-result semantics that a bare schema would not. Nothing an agent needs to call or interpret this tool 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 the baseline is 3, but the description adds real meaning beyond the schema: 'market' is a hub market code with the UK-for-GB alias, and passing it changes behavior by queuing a miss as a lead for that market. That is substance the schema's 'e.g. UK, US, FR' does not convey.

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?

Specific verb+resource ('Returns the signed record for a GTIN-8/12/13/14') with the exact scope of returned identity fields spelled out. An agent knows precisely what lookup this performs and what an empty result means, without opening the schema.

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 clear context for when to call (resolve a GTIN's identity, optionally tagging a market) and explicitly excludes a neighboring concern: 'Can it be sold there is the hub's gate, not this door's.' No siblings exist, so there is no alternative to route between, but the exclusion is valuable.

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