Skip to main content
Glama
nbrain-pharma-islamic-customs-mcp

nbrain-pharma-islamic-customs-mcp

sfda_gs1_audit_pack

Audits GS1 DataMatrix and SSCC-18 pharmaceutical pack data against Saudi SFDA RSD, UAE Tatmeen, or Bahrain NHRA rules to flag compliance issues before customs or market entry.

Instructions

Audits a GS1 DataMatrix / SSCC-18 pharmaceutical pack for Saudi SFDA RSD, UAE Tatmeen, or Bahrain NHRA.

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": {
      "payload": "<payload>"
    },
    "name": "sfda_gs1_audit_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYes
authorityNo
reference_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say whether the audit is read-only or mutating, whether it validates signatures/GTIN/expiry, what a pass/fail outcome looks like, or how invalid payloads are handled. Beyond the one-line purpose, an agent has no behavioral expectations to work with.

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?

A single front-loaded sentence with no filler, which is efficient. It is arguably too terse for a three-parameter compliance tool, but no sentence is wasted or redundant.

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

Completeness2/5

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

With no annotations, no output schema, and 0% parameter documentation, the description is the only source of guidance and it covers only the purpose and the authority list. Critical facts an agent needs before calling — payload format, meaning of reference_date, and the shape of the audit result — are all absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters. The description only incidentally maps the authority enum values to human-readable regime names; it leaves 'payload' completely unexplained (raw element string, scan data, or encoded image?) and says nothing about 'reference_date' or what it is used to check (expiry, shelf life, validity window).

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?

States a specific verb ('Audits') and a concrete resource ('GS1 DataMatrix / SSCC-18 pharmaceutical pack'), plus the three regulatory regimes it covers. This clearly separates it from the encoding sibling sfda_gs1_encode_datamatrix, though it never names that sibling explicitly.

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 regulatory scopes imply the context of use (SFDA RSD / UAE Tatmeen / Bahrain NHRA compliance checking), but there is no explicit when-to-use, no prerequisite guidance (e.g. encode a barcode first), and no statement about what to do when an authority is not applicable.

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