Skip to main content
Glama

Verify Serialization

verify_serialization
Read-onlyIdempotent

Verify a serialised pack (GTIN + serial + lot + expiry) against the serialisation regime of the jurisdiction (DSCSA · FMD · UK · KR; none-national elsewhere).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lotNo
gtinYes
expiryNo
serialYes
jurisdictionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already capture safety (readOnlyHint, idempotentHint, no destructive). The description adds the behavioral nuance of jurisdiction-specific enforcement and the fallback for non-national areas. It does not, however, disclose specifics like whether unknown formats fail hard or whether strict validation applies, nor what happens when the jurisdiction value is unsupported. No contradiction with annotations.

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 sentence that packs in the essential scope: what is verified, the components, and the jurisdictional context. No fluff and the critical decision factor (jurisdiction regimes) is front-loaded. It could benefit from a brief usage hint, but it is appropriately concise for the tool's complexity.

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?

Given the tool has 5 parameters (3 required), no enums, an output schema (not included), and low schema coverage, the description does not fully compensate. It omits expected return values (though output schema may cover that), any error conditions (e.g., invalid jurisdiction, missing required fields), or date format for expiry. An agent might misuse jurisdiction values or misunderstand the fallback. Adequate but missing several pieces that would make it complete.

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%, so the description must compensate. It names the parameters in the pack (GTIN, serial, lot, expiry) but provides no details on formats, constraints, or meaning beyond what the schema names. The description clarifies the role of jurisdiction (determines regime), which adds context, but lot/expiry remain loosely defined (optional, no format guidance). Baseline is low due to coverage, and description only partially fills the gap.

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?

The description clearly identifies the verb ('Verify') and the resource ('a serialised pack') with its key components (GTIN + serial + lot + expiry). It specifies the regulatory jurisdictions (DSCSA, FMD, UK, KR) and falls back to 'none-national elsewhere', which fully distinguishes it from sibling tools that target other supply-chain actions.

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?

The description implies usage when a serialised pack needs to be verified against jurisdiction-specific rules, and hints at varying applicability by jurisdiction. However, it does not explicitly state when to use this tool vs alternatives (e.g., gate_transaction, resolve_jurisdiction, get_item). Lacks guidance on prerequisites, such as having a valid jurisdiction or when a simpler lookup would suffice.

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.