Skip to main content
Glama

EU VAT Calculator API - net/gross with each country's rate

eu_vat_calculator
Read-onlyIdempotent

Add or remove VAT for 30 European countries using their standard and reduced rates (or your own rate): net, VAT and gross amounts. Rates are built in, no outside call. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €9/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
rateNostd, red1 or red2std
amountNoAmount
countryNoCountry code, e.g. DE, FR, BGDE
amountIsNonet (without VAT) or gross (with VAT)net
customRateNoYour own VAT rate in percent (overrides rate)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/openWorld annotations: it discloses that rates are built in with no external call, that files are deleted immediately with nothing stored, and it spells out concrete rate limits (5 calls/day per IP) and both authentication paths (X-API-Key, x402 at $0.001/call). This is exactly the auth, quota, and data-retention detail an agent needs to plan calls.

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 front-loaded paragraph that leads with the capability, then moves to privacy, limits, and pricing — each clause carries information. The density of pricing URLs and payment mechanics is slightly noisy but justified for a metered paid API.

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

Completeness4/5

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

With no output schema, the description correctly names the returned values (net, VAT, gross), and annotations plus description together cover safety, cost, and access. Remaining gaps — rounding behavior and whether reduced rates are tied to specific goods categories — are minor for a straightforward calculator.

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 100%, so the baseline is 3, but the description adds real meaning: it clarifies that 'std' and the opaque 'red1'/'red2' enum values are standard and reduced rates, and that a custom rate may be substituted. It still says nothing about the semantics of amountIs relative to amount beyond what the schema states, or about rounding/precision.

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 specific verb and resource — 'Add or remove VAT for 30 European countries' — and names the outputs (net, VAT, gross) plus the custom-rate override. An agent can distinguish this from the sibling eu_vat_number_validation (which validates IDs rather than computing amounts) without opening the schema.

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

Usage Guidelines3/5

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

Usage is implied by the task itself (a VAT arithmetic tool), but there is no explicit when-to-use/when-not guidance, no mention of choosing between standard vs reduced rates, and no routing to alternatives. The only conditional context given is commercial (free tier vs API key vs x402), which is access guidance rather than selection 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