Skip to main content
Glama

A2A Grocery — the agentic hub for retail grocery procurement

Verify Gtin

verify_gtin
Read-onlyIdempotent

Product record from gtinfetch.ai (signed); hub layer: seat, market, claim, price, availability. Is this GTIN real, and whose is it? Check-digit validation, the GS1 prefix, and the validated record(s) that carry it on this hub with their brand, maker and claim status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gtinYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and closed-world behavior. The description adds useful context beyond that: the record is signed from gtinfetch.ai, validation includes check-digit and GS1 prefix checks, and validated records carry brand, maker, and claim status.

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 description is compact and front-loads the key validation/ownership purpose. The initial fragment about the gtinfetch.ai record and hub layer is somewhat terse and jargon-heavy, but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be fully documented, and annotations cover the safety profile. Still, the description omits explicit usage routing versus siblings and does not clarify accepted GTIN input formats, leaving gaps for an agent choosing how to call it.

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 coverage for the single gtin parameter is 0%, so the description must compensate. It supplies semantic context by identifying the input as a GTIN subject to check-digit and GS1 prefix validation, but it does not specify accepted GTIN formats, lengths, or string constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific operation: check-digit validation, GS1 prefix checking, and returning validated records with brand, maker, and claim status. It clearly distinguishes a GTIN verification tool from generic item retrieval, though it does not explicitly name or contrast itself with sibling tools like get_item.

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 implied by the question 'Is this GTIN real, and whose is it?' and by the validation/ownership framing. However, there is no explicit when-to-use, when-not-to-use, or alternative routing to siblings such as get_item or get_label_and_claims.

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.