Skip to main content
Glama

Paid single GTIN validation

single_gtin_check

Validate one GTIN/UPC/EAN identifier including its check digit. Price: $0.01 USDC on Base via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gtinYes
payment_signatureNoOptional x402 v2 PAYMENT-SIGNATURE value. Omit it on the first call to receive the live payment requirement; supply the signed value on the second call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that the call is paid ($0.01 USDC on Base via x402), which is a genuine behavioral trait. However, it omits the two-step payment handshake, rate limits, and what happens on an invalid identifier, so coverage is partial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, front-loaded sentences with zero filler: the first states exactly what is validated, the second states the cost. Nothing needs to be trimmed or reordered.

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?

For a simple two-parameter tool with no output schema and no annotations, the definition covers purpose and price but never says what a result looks like (valid/invalid, normalized GTIN) or that the first unpaid call returns a payment requirement. Those gaps matter for a paid tool with no structured return contract.

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 is 50%: payment_signature is well documented in the schema, but gtin has no schema description. The description partially compensates by stating that accepted formats are GTIN/UPC/EAN and that the check digit is validated, adding meaning beyond the bare string type.

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 names a specific verb (validate) and resource (one GTIN/UPC/EAN identifier) and clarifies the scope includes check-digit validation, which lets an agent distinguish it from the plural sibling gtin_check. It stops short of explicitly naming the sibling or stating the difference, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing tells the agent when to pick single_gtin_check over gtin_check, free_remediation_sample, or the other catalog tools. The only routing hint is the implicit 'one' in the name and description, which the agent must infer.

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.