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

nbrain-egypt-eta-mcp

calculate_egypt_vat_wht

Calculate Egyptian EGP VAT at 14%, table tax, and withholding tax (1%, 3%, or 5%) from a net amount for accurate invoice tax totals.

Instructions

Calculate exact Decimal Egyptian EGP 14% VAT (T1), Table Tax (T2), and T4 Withholding Tax (1%, 3%, 5%).

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": {
      "net_amount": "<net_amount>"
    },
    "name": "calculate_egypt_vat_wht"
  }
}

Input Schema

NameRequiredDescriptionDefault
vat_rateNo14
wht_rateNo0
net_amountYes
table_tax_rateNo0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does add one genuinely useful behavioral fact beyond the schema: the computation is done in exact Decimal arithmetic, implying no floating-point drift, and it enumerates the supported withholding rates. However, it never states that this is a pure side-effect-free calculation, nor how the result is formatted or rounded.

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?

A single tight sentence with the calculation and its tax categories front-loaded, and zero filler. It is efficient, though the density of acronyms (T1, T2, T4) without expansion for the tax types costs some readability.

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?

The tool has 4 parameters at 0% schema coverage, no annotations, and no output schema, so the description is the only documentation. It omits the meaning of net_amount, which rate choices are valid combinations, and what fields come back (VAT amount, WHT amount, totals), leaving an agent unable to call it confidently on first attempt.

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 0%, and the bare schema exposes only opaque string fields. The description supplies real meaning for the rate parameters by naming the legal rate tiers (14% VAT, WHT 1%/3%/5%), which the schema does not. It leaves net_amount unexplained (currency assumed, inclusive/exclusive unknown) and does not clarify that rates are percentage strings where '0' disables the component.

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?

States a concrete verb (Calculate) plus the resources: Egyptian EGP 14% VAT (T1), Table Tax (T2), and T4 Withholding Tax at 1%, 3%, or 5%. An agent can distinguish this from the sibling tools (RIN validation, UUID computation, e-receipt chain verification) since those do not perform tax calculation. It stops short of explicitly naming those siblings, so it is clear but not differentiated by name.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance, no conditions for selecting a particular WHT rate (1% vs 3% vs 5%), and no prerequisites such as whether net_amount is VAT-inclusive or exclusive. It also does not say when to omit table tax or withholding entirely, which matters given both default to '0'.

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