NBrain Saudi ZATCA MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| decode_zatca_tlvA | Decode and validate a Saudi ZATCA Phase 1 (Tags 1-5) or Phase 2 (Tags 1-9) Base64 TLV QR payload. |
| encode_zatca_tlvA | Encode Saudi ZATCA Phase 1 invoice fields into a compliant UTF-8 Base64 TLV QR string. |
| validate_saudi_vat_numberB | Validate whether a string conforms to Saudi ZATCA 15-digit VAT registration format (3XXXXXXXXXXXXX3). |
| calculate_saudi_vatA | Compute exact Saudi 15% VAT (or custom VAT percentage) using Decimal ROUND_HALF_UP halala arithmetic. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool targets a distinct operation: decoding TLV, encoding TLV, validating a VAT number, and computing VAT. There is no overlap between QR payload handling and VAT arithmetic, so an agent can pick the right tool unambiguously.
All four names follow a strict verb_noun snake_case pattern (decode_/encode_/validate_/calculate_ + domain object). The two TLV tools are symmetrically named, reinforcing predictability.
Four focused tools are reasonable for a narrow ZATCA QR/VAT utility server, and each earns its place. It sits at the thin end of the ideal range, with no redundancy but little headroom.
The set covers a sensible round trip (encode/decode TLV, VAT validation, VAT calculation), but decode handles Phase 1 and Phase 2 while encode only supports Phase 1 fields, leaving an asymmetric gap. There is also no tool to validate or generate a QR directly from a full invoice object, forcing agents to compose steps manually.