Skip to main content
Glama

Saura: Saudi Business Calculators

ZATCA e-invoicing (FATOORA) wave checker

check_zatca_e_invoicing_wave
Read-onlyIdempotent

Finds which ZATCA e-invoicing Phase 2 (integration) wave a VAT-registered business in Saudi Arabia falls into, from its yearly revenue subject to VAT, using every wave ZATCA has announced (waves 1 to 25, thresholds from SAR 3 billion down to SAR 187,500). Returns the wave, its integration window, whether the deadline has passed, the Phase 2 requirements and the penalty ladder (labels in Arabic).

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": {
      "vat_status": "<vat_status>"
    },
    "name": "check_zatca_e_invoicing_wave"
  }
}

Input Schema

NameRequiredDescriptionDefault
vat_statusYesregistered = VAT-registered in Saudi Arabia; unregistered = not registered for VAT; nonresident = non-resident taxpayer
revenue_2021NoRevenue subject to VAT in 2021, SAR; omit if unknown
revenue_2022NoRevenue subject to VAT in 2022, SAR; omit if unknown
revenue_2023NoRevenue subject to VAT in 2023, SAR; omit if unknown
revenue_2024NoRevenue subject to VAT in 2024, SAR; omit if unknown
revenue_2025NoRevenue subject to VAT in 2025, SAR; omit if unknown
registered_before_2026_07_24NoWhether the business was VAT-registered before 24 July 2026 (wave 25 only covers businesses registered before that date)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior. The description adds useful behavioral context by disclosing that it returns the wave, integration window, deadline status, Phase 2 requirements, and penalty ladder with Arabic labels. It does not describe edge-case behavior for missing revenue data or multiple revenue years.

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?

The single sentence is front-loaded with the core action and resource, then supplies the wave range and return contents. It is dense but not wasteful, though the parenthetical threshold detail makes it long for one sentence.

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

Completeness3/5

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

For a tool without an output schema, the description does explain the return values adequately. However, it frames the tool only around VAT-registered businesses while the required vat_status enum includes unregistered and nonresident, leaving an agent without guidance on those cases.

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%, so the schema already documents all seven parameters, including the enum values and revenue-year fields. The description adds some framing about revenue subject to VAT but does not add parameter-level meaning beyond the schema.

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 states a specific verb and resource: finds the ZATCA e-invoicing Phase 2 wave for a VAT-registered Saudi business from yearly VAT-subject revenue. It also names the complete wave range and threshold span, so an agent can distinguish this from generic calculation siblings.

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 context is clear: use it for a VAT-registered business in Saudi Arabia with yearly revenue subject to VAT. It does not explicitly state when not to use it or how to handle unregistered/nonresident taxpayers, so it stops short of full routing guidance.

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