Skip to main content
Glama

Jithox EU Import Preflight

Validate an EORI number

validate_eori
Read-only

Structural check of an EORI number and, when the EU EOS provider is configured, an authoritative existence check. Provider outage or unknown status returns 'unavailable'/'needs_review', never a false 'invalid'. Structural validity is not proof of customs authorisation. Read-only preflight; not customs/tax/legal advice, not a customs decision or clearance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eoriNoAn EORI number, e.g. "BE0123456749".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
billingYes
productYes
receiptYes
decisionYes
retryableYes
capabilityYes
provenanceYes
generatedAtYes
limitationsYes
schemaVersionYes
receiptEnvelopeNo
decisionCategoryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / receiptEnvelope
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "algorithm": {
      +      "type": "string"
      +    },
      +    "canonicalizationVersion": {
      +      "type": "string"
      +    },
      +    "keyId": {
      +      "type": "string"
      +    },
      +    "payload": {
      +      "type": "object"
      +    },
      +    "publicKeyUrl": {
      +      "type": "string"
      +    },
      +    "receiptVersion": {
      +      "type": "string"
      +    },
      +    "resultHash": {
      +      "type": "string"
      +    },
      +    "signature": {
      +      "type": "string"
      +    },
      +    "verificationUrl": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "receiptVersion",
      +    "canonicalizationVersion",
      +    "algorithm",
      +    "keyId",
      +    "payload",
      +    "signature",
      +    "publicKeyUrl",
      +    "verificationUrl"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "billing": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "billable": {
      +          "type": "boolean"
      +        },
      +        "category": {
      +          "enum": [
      +            "billable",
      +            "non_billable"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "billable",
      +        "category"
      +      ],
      +      "type": "object"
      +    },
      +    "capability": {
      +      "const": "validate_eori"
      +    },
      +    "data": {
      +      "type": "object"
      +    },
      +    "decision": {
      +      "enum": [
      +        "valid",
      +        "invalid",
      +        "not_found",
      +        "unavailable",
      +        "not_ready",
      +        "needs_review"
      +      ],
      +      "type": "string"
      +    },
      +    "decisionCategory": {
      +      "enum": [
      +        "proceed",
      +        "review",
      +        "blocked",
      +        "no_result",
      +        "invalid_input",
      +        "unavailable",
      +        "stale"
      +      ],
      +      "type": "string"
      +    },
      +    "generatedAt": {
      +      "type": "string"
      +    },
      +    "limitations": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "product": {
      +      "const": "com.jithox/eu-import-preflight"
      +    },
      +    "provenance": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "checksum": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "date": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "freshness": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "source": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "source",
      +        "date",
      +        "checksum",
      +        "freshness"
      +      ],
      +      "type": "object"
      +    },
      +    "receipt": {
      +      "oneOf": [
      +        {
      +          "type": "null"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "keyId": {
      +              "type": "string"
      +            },
      +            "publicKeyUrl": {
      +              "type": "string"
      +            },
      +            "receiptId": {
      +              "type": "string"
      +            },
      +            "signature": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "receiptId",
      +            "keyId",
      +            "signature",
      +            "publicKeyUrl"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "retryable": {
      +      "type": "boolean"
      +    },
      +    "schemaVersion": {
      +      "const": "jithox.fleet-trust-contract/v1"
      +    }
      +  },
      +  "required": [
      +    "schemaVersion",
      +    "product",
      +    "capability",
      +    "decision",
      +    "decisionCategory",
      +    "data",
      +    "provenance",
      +    "limitations",
      +    "receipt",
      +    "billing",
      +    "retryable",
      +    "generatedAt"
      +  ],
      +  "title": "Jithox Fleet Trust Contract V1 — validate_eori",
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, openWorldHint, destructiveHint), the description discloses critical behavior under provider outage or unknown status, stating it returns 'unavailable'/'needs_review' and never a false 'invalid'. It also clarifies the configuration dependency and disclaims legal/customs decision authority, adding substantial transparency.

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?

The description is three sentences, front-loaded with the core purpose, and every sentence contributes unique value (function, edge-case behavior, limitations). No redundant or filler content exists.

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

Completeness5/5

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

Given the single-parameter input, existing output schema, and annotations, the description covers the key operational aspects: conditional behavior, provider unavailability, the meaning of structural validity, and disclaimers. It is sufficiently complete for an agent to understand when and how to use it.

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?

The input schema fully describes the 'eori' parameter with an example and length constraints (100% coverage). The description does not add further parameter-level semantics beyond the schema, so the baseline of 3 is appropriate.

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 explicitly states the tool performs a 'structural check' and, conditionally, an 'authoritative existence check' of an EORI number. This clearly differentiates it from siblings that handle import measures, costs, receipts, and tariff codes.

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

Usage Guidelines4/5

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

The description provides clear context that this is a read-only preflight used for EORI validation, and it cautions against relying on structural validity as proof of customs authorisation. However, it does not explicitly name alternative tools for exclusion, so it falls short of a full 5.

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.

Resources