Skip to main content
Glama

Server Details

Embedded SQLite3, Node node:sqlite, Cloudflare D1 & Turso LibSQL MENA Compliance UDFs

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2024-11-05
URL
Repository
NBrain-Studio/nbrain-sqlite-d1-mena
GitHub Stars
0
ChatGPT
–
Claude
–

TDQS

B3.3/5.0

Scored across 12 tools

Disambiguation4/5

Most tools target a specific jurisdiction+artifact (ZATCA TLV encode vs decode, Egyptian ID decode vs Saudi ID validate vs UAE TRN validate), so boundaries are generally clear. Minor overlap exists where calculate_saudi_vat also computes UAE/Oman/Bahrain VAT that validate_uae_trn_and_vat also computes, and where scan_sdaia_pdpl_arabic_pii detects the same ID types that the dedicated validate/decode tools handle (bulk scan vs single-value check). Two tools (get_nbrain_ecosystem, search_artcraft_wasm_suite) are unrelated to the compliance domain but remain clearly distinguishable.

Naming Consistency4/5

Names follow a consistent verb_noun snake_case pattern (calculate_*, compute_*, decode_*, encode_*, validate_*, scan_*, get_*, search_*) throughout. The only mild deviation is heavy jurisdiction qualifiers packed into names (e.g. calculate_qatar_kuwait_iraq_tax) and an odd 'nbrain' brand prefix in get_nbrain_ecosystem, but the convention is readable and predictable.

Tool Count4/5

At 12 tools the set is well within a reasonable scope for a MENA tax/ID-compliance server, and most tools earn their place as distinct validators or calculators. Two tools (ecosystem metadata and ArtCraft WASM search) feel bolted on and dilute the otherwise tight core.

Completeness3/5

The core surface covers validation and calculation well, but there are notable asymmetries: ZATCA has TLV encode/decode with no invoice signing/validation, Egypt has ETA UUID computation but no ETA payload validation or reverse decode, and the UAE tool derives a TIN but offers no standalone TIN validation. Whole jurisdictions (Jordan, Morocco, Lebanon) and VAT-number validation for Saudi/Qatar/Kuwait are absent, so agents will hit dead ends outside the covered artifacts.

Available Tools

12 tools
calculate_qatar_kuwait_iraq_taxB
Read-onlyIdempotent
Inspect

Calculate exact Decimal fiscal settlements for Qatar GTA Dhareeba (5% WHT QAR), Kuwait MOF/KNET (3-decimal 0.001 KWD Fils & 15% DMTT), and Iraq GCT (3.3% WHT + 0.2% Stamp Duty IQD).

Inputs: amount (required), country (required).

calculate_saudi_vatA
Read-onlyIdempotent
Inspect

Calculate Saudi 15% VAT (or Bahrain 10%, Egypt 14%, UAE/Oman 5%) using exact Decimal ROUND_HALF_UP arithmetic.

Inputs: subtotal (required), vat_rate.

compute_eta_document_uuidA
Read-onlyIdempotent
Inspect

Canonicalize an Egyptian Tax Authority (ETA) B2B E-Invoice or B2C E-Receipt JSON per sdk.invoicing.eta.gov.eg and return the 64-hex UTF-8 SHA-256 UUID.

Inputs: document_json (required), mode.

decode_egypt_14digit_national_idA
Read-onlyIdempotent
Inspect

Decode and verify a 14-digit Egyptian National ID (century, leap-year birthdate, 27 MOI governorates, gender, and weighted Modulo-11 checksum) for Egypt UHIA healthcare & fintech.

Inputs: national_id (required).

decode_zatca_tlvA
Read-onlyIdempotent
Inspect

Decode and validate a Saudi ZATCA Phase 1 (Tags 1-5) or Phase 2 (Tags 1-9) Base64 TLV QR payload.

Inputs: payload (required).

encode_zatca_tlvB
Read-onlyIdempotent
Inspect

Encode Saudi ZATCA Phase 1 invoice fields into a compliant UTF-8 Base64 TLV QR string.

Inputs: timestamp (required), vat_amount (required), vat_number (required), seller_name (required), +1 more.

get_nbrain_ecosystemA
Read-onlyIdempotent
Inspect

Return verified brand, founder, CERN DOIs, open-source repositories, and enterprise service metadata for NBrain (nbra.in) and Eng. Nadeem Mohamed Badr El-Din.

Inputs: no named parameters.

scan_sdaia_pdpl_arabic_piiA
Read-onlyIdempotent
Inspect

Scan mixed Arabic/English text (normalizing Arabic-Indic digits) to detect checksum-verified Saudi National IDs/Iqamas, Egyptian 14-digit IDs, UAE Emirates IDs, MOD-97 MENA IBANs, and Saudi SPL addresses per SDAIA PDPL.

Inputs: text (required).

search_artcraft_wasm_suiteC
Read-onlyIdempotent
Inspect

Search all 17 pure-Rust ArtCraft creative, CAD, and office applications (16 live browser WebAssembly studios on nbra.in/craft, 8,394 engine commands, and 905 MCP tools).

Inputs: query.

validate_egypt_tax_rinB
Read-onlyIdempotent
Inspect

Validate a 9-digit Egyptian corporate Tax Registration Number (RIN).

Inputs: rin (required).

validate_saudi_national_id_iqamaA
Read-onlyIdempotent
Inspect

Validate a 10-digit Saudi National ID (1...) or Resident Iqama (2...) via Modulo-10 Luhn checksum for NPHIES healthcare claims.

Inputs: identifier (required).

validate_uae_trn_and_vatA
Read-onlyIdempotent
Inspect

Validate a 15-digit UAE FTA TRN (100XXXXXXXXXXXX), derive the 10-digit Peppol PINT-AE TIN (scheme 0235), and compute exact 5% AED VAT.

Inputs: trn (required), subtotal_aed.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables querying and modifying local SQLite files or remote Turso/libSQL databases through 15 tools covering SQL execution, schema and index management, and database optimization and health checks. Runs over stdio, HTTP, or a Cloudflare Worker endpoint.
      11 npm
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Simple, fast, long-term memory for your AI chatbots, agents, and MCP tools. Give your LLM a persistent memory using a local SQLite file. No complex database servers, no heavy cloud setup, and zero C++ compilation errors. Works everywhere.
      5
      70 npm
      1
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.