Skip to main content
Glama
MENA GS1 Pharmaceutical Track-and-Trace & Egypt Nafeza 19-Digit ACID MCP Server

MENA GS1 Pharmaceutical Track-and-Trace & Egypt Nafeza 19-Digit ACID MCP Server

verify_gs1_identifier

Verify GS1 Modulo-10 check digits and MENA country prefixes for GTIN, GLN, and SSCC codes to confirm identifier validity before track-and-trace use.

Instructions

Verify GS1 Modulo-10 check digit and MENA GS1 country prefix for GTIN-8/12/13/14, GLN-13, or SSCC-18.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "verify_gs1_identifier"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the two validation layers (Modulo-10 check digit and MENA country prefix) and the accepted identifier lengths, which is meaningful behavior beyond the schema, but it does not explain what a failed verification looks like, whether results are boolean or error codes, or whether the tool performs any network lookup.

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?

It is a single dense sentence with the validation logic and accepted identifier types front-loaded. No sentence is wasted and there is no filler.

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 one-parameter verification tool with no output schema, the description covers input scope and validation logic well. It is incomplete on output semantics: the agent cannot tell whether the tool returns a boolean, a corrected code, or detailed failure reasons, which matters for a verification primitive.

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 description coverage is 0% and the schema only declares 'code' as a string. The description compensates by specifying the identifier families and lengths the parameter must match (GTIN-8/12/13/14, GLN-13, SSCC-18), which materially narrows what the agent should pass.

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 names a specific verb ('Verify'), the exact resources checked (GS1 Modulo-10 check digit and MENA GS1 country prefix), and the identifier families accepted (GTIN-8/12/13/14, GLN-13, SSCC-18). This is precise enough to distinguish it from the sibling validation tools for EPCIS, Nafeza, and pharma-pack data.

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 verb and resource list: an agent can infer it should be called when checking a GS1 identifier. However, the description does not state when not to use it, whether it should be called before other validation tools, or what inputs are out of scope beyond the identifier list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.