Skip to main content
Glama
nbrain-egypt-eta-mcp

nbrain-egypt-eta-mcp

verify_eta_ereceipt_chain

Verifies cryptographic UUIDs and sequential previousUUID links across Egyptian POS B2C E-Receipts to detect broken or tampered receipt chains.

Instructions

Verify cryptographic UUID and sequential previousUUID links across an array of Egyptian POS B2C E-Receipts.

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": {
      "receipts_json": "<receipts_json>"
    },
    "name": "verify_eta_ereceipt_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
receipts_jsonYesJSON array of ETA E-Receipt objects

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full disclosure burden, yet it does not say whether the operation is read-only, whether it fails fast on the first broken link or reports all failures, or how a chain break is surfaced. With no output schema either, an agent cannot predict the shape or semantics of the verification result.

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?

One sentence with the core action and scope front-loaded and no filler wording. Every element – cryptographic UUID, previousUUID links, Egyptian POS B2C E-Receipts – narrows the meaning.

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?

For a verification tool with no annotations and no output schema, the definition leaves critical gaps: what a pass/fail result looks like, whether per-receipt or aggregate results are returned, and what happens on malformed input. It identifies the checks performed but not the outcome contract an agent needs to act on the result.

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 100% for the single parameter (receipts_json, a JSON array of ETA E-Receipt objects), and the description only restates that it is an array of E-Receipts. No added guidance on ordering requirements, minimum size, or serialization format beyond what the schema already says, so the baseline 3 applies.

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 uses a specific verb (verify) and a precise resource: cryptographic UUID integrity plus sequential previousUUID linkage across an array of Egyptian POS B2C E-Receipts. This is clearly distinct from siblings like compute_eta_document_uuid, which generates rather than checks UUIDs, though no sibling is named 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?

Usage is only implied by the word 'verify' – an agent can infer this is a validation/audit step on already-fetched receipts. There is no statement of when to prefer this over compute_eta_document_uuid, no prerequisite (e.g. receipts must be from the same chain/sequence), and no exclusion for mixed or partial batches.

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