Skip to main content
Glama

EU VAT Calculator API - net/gross, 2026 rates, B2B reverse charge & batch

eu_vat_calculator
Read-onlyIdempotent

Calculate net, VAT and gross for 30 European countries (EU27 + UK, CH, NO) with 2026 standard & reduced rates, intra-EU B2B reverse charge (Art. 196), batch invoice lines (up to 100 items), and mode=rates full rate table. Returns typed numeric JSON + currency + EU membership. Deterministic, < 2 ms, zero external calls. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/eu-vat-calculator.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "amount": 100,
      "country": "DE",
      "amountIs": "net"
    },
    "name": "eu_vat_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
b2bNoSet true for B2B supply; with a different EU27 sellerCountry applies 0% reverse charge (Art. 196)
modeNocalculate = compute net/VAT/gross (default); rates = return the full 2026 30-country VAT rate tablecalculate
rateNoRate tier: std (standard), red1 (first reduced), or red2 (second reduced)std
itemsNoOptional batch list of up to 100 invoice lines [{country, amount, amountIs?, rate?, b2b?, sellerCountry?}]
amountNoMonetary amount to calculate VAT on, e.g. 100.00 (required for single calculation)
countryNoDestination country ISO-2 code (e.g. DE, FR, BG, UK, CH, NO) or full nameDE
amountIsNonet (add VAT to net price) or gross (extract VAT from gross price)net
buyerVatIdNoOptional buyer VAT ID (implies B2B when provided with sellerCountry)
customRateNoOptional custom VAT rate in percent (0-100, overrides rate)
sellerCountryNoOptional seller ISO-2 country code for intra-EU B2B reverse charge detection

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • changedInput schema / properties / amount / description
      Previous value: -"Monetary amount to calculate VAT on, e.g. 100.00"New value: +"Monetary amount to calculate VAT on, e.g. 100.00 (required for single calculation)"
    • changedInput schema / properties / amountIs / description
      Previous value: -"net (without VAT) or gross (with VAT)"New value: +"net (add VAT to net price) or gross (extract VAT from gross price)"
    • addedInput schema / properties / b2b
      Added value: +{
      +  "default": false,
      +  "description": "Set true for B2B supply; with a different EU27 sellerCountry applies 0% reverse charge (Art. 196)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / buyerVatId
      Added value: +{
      +  "description": "Optional buyer VAT ID (implies B2B when provided with sellerCountry)",
      +  "type": "string"
      +}
    • changedInput schema / properties / country / description
      Previous value: -"Country code, e.g. DE, FR, BG"New value: +"Destination country ISO-2 code (e.g. DE, FR, BG, UK, CH, NO) or full name"
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "AT",
      -  "BE",
      -  "BG",
      -  "HR",
      -  "CY",
      -  "CZ",
      -  "DK",
      -  "EE",
      -  "FI",
      -  "FR",
      -  "DE",
      -  "GR",
      -  "HU",
      -  "IE",
      -  "IT",
      -  "LV",
      -  "LT",
      -  "LU",
      -  "MT",
      -  "NL",
      -  "NO",
      -  "PL",
      -  "PT",
      -  "RO",
      -  "SK",
      -  "SI",
      -  "ES",
      -  "SE",
      -  "CH",
      -  "UK"
      -]New value: +[
      +  "AT",
      +  "BE",
      +  "BG",
      +  "HR",
      +  "CY",
      +  "CZ",
      +  "DK",
      +  "EE",
      +  "FI",
      +  "FR",
      +  "DE",
      +  "GR",
      +  "HU",
      +  "IE",
      +  "IT",
      +  "LV",
      +  "LT",
      +  "LU",
      +  "MT",
      +  "NL",
      +  "NO",
      +  "PL",
      +  "PT",
      +  "RO",
      +  "SK",
      +  "SI",
      +  "ES",
      +  "SE",
      +  "CH",
      +  "UK",
      +  "GB",
      +  "EL"
      +]
    • changedInput schema / properties / customRate / description
      Previous value: -"Your own VAT rate in percent (overrides rate)"New value: +"Optional custom VAT rate in percent (0-100, overrides rate)"
    • addedInput schema / properties / items
      Added value: +{
      +  "description": "Optional batch list of up to 100 invoice lines [{country, amount, amountIs?, rate?, b2b?, sellerCountry?}]",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / mode
      Added value: +{
      +  "default": "calculate",
      +  "description": "calculate = compute net/VAT/gross (default); rates = return the full 2026 30-country VAT rate table",
      +  "enum": [
      +    "calculate",
      +    "rates"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / rate / description
      Previous value: -"std, red1 or red2"New value: +"Rate tier: std (standard), red1 (first reduced), or red2 (second reduced)"
    • addedInput schema / properties / sellerCountry
      Added value: +{
      +  "description": "Optional seller ISO-2 country code for intra-EU B2B reverse charge detection",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "country",
      -  "amount"
      -]
  2. Changed2 schema fields changed
    • changedInput schema / properties / amount / description
      Previous value: -"Amount"New value: +"Monetary amount to calculate VAT on, e.g. 100.00"
    • addedInput schema / required
      Added value: +[
      +  "country",
      +  "amount"
      +]
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/open-world, but the description adds genuinely new behavior: deterministic output, sub-2 ms latency, zero external calls, rate limiting at 5 calls/day per IP, and both auth paths (X-API-Key header vs x402 per-call payment). Those are exactly the operational facts an agent needs before invoking and before retrying.

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?

One dense paragraph that front-loads capability before commercial/access details, which is the right ordering. It's efficient but packed tightly — the pricing URL and x402 link are long and could be trimmed without losing decision-relevant meaning.

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

Completeness5/5

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

With 10 parameters, no output schema, and no required fields, the description covers what an agent still needs: a rough return shape ('typed numeric JSON + currency + EU membership'), latency/determinism guarantees, auth options, and rate limits. Nothing material for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3; the description earns one extra point by calling out the non-obvious semantics in prose — mode=rates switches the tool from calculation to lookup, and b2b + differing sellerCountry triggers 0% reverse charge under Art. 196. It doesn't clarify customRate precedence or buyerVatId implications beyond what the schema states.

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?

States a concrete verb and resource — 'Calculate net, VAT and gross for 30 European countries' — plus scope qualifiers (2026 rates, EU27+UK/CH/NO, reverse charge, batch, rates table). An agent can distinguish it from siblings like eu_vat_number_validation or sales_tax_calculator purely from the first sentence.

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?

Gives clear usage context: batch mode for up to 100 invoice lines, mode=rates to fetch the full table, and b2b flag for intra-EU reverse charge. It also discloses the access tiers (5 free calls/day per IP, paid via Radar API key or x402), which helps an agent decide whether to call at all. It stops short of naming a specific sibling to use instead, so it's a 4 rather than a 5.

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