Skip to main content
Glama

A2A Grocery — the agentic hub for retail grocery procurement

Verify Gtin

verify_gtin
Read-onlyIdempotent

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. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description adds that it performs check-digit validation and returns validated records with brand, maker, and claim status, which is useful behavioral context. However, it does not disclose rate limits, error conditions, or how the validation handles invalid GTINs, leaving some gaps.

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 a single, front-loaded sentence that asks the core question and lists the three functions. It is efficient with no wasted words, though the compound structure could be slightly clearer for parsing.

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

Completeness4/5

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

Given the tool's complexity (validation and record lookup), the description covers the essential actions and output elements (brand, maker, claim status). With an output schema present, the description needn't detail return values. It is nearly complete, missing only explicit usage guidelines and parameter constraints.

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 0%, but there is only one parameter, gtin, whose meaning is self-evident from the name and the description's mention of GTIN validation. With no additional parameter details needed, the baseline 3 is appropriate, though the description doesn't specify format requirements (e.g., GTIN-14) or whether it accepts different lengths.

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 clearly states a specific purpose: check-digit validation, GS1 prefix verification, and retrieving validated records carrying the GTIN. It distinguishes itself from siblings like get_item or get_label_and_claims by focusing on validation and ownership. However, it could more explicitly differentiate from similar verification tools in the list.

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 context is implied by the purpose: when you need to validate a GTIN or find its associated records. There is no explicit statement of when to use this over alternatives like get_item or get_label_and_claims, nor any prerequisites or exclusions. The description leaves usage inference to the agent.

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.