Skip to main content
Glama

CalcPronto: exact calculators (tax, payroll, loans, VAT, EU261)

VAT calculator (net / gross)

vat_calculate
Read-onlyIdempotent

Net, VAT and gross amounts. Uses the country's standard rate unless rate_pct is given. amount_includes_vat=True to extract VAT from a gross price.

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": {
      "amount": "<amount>"
    },
    "name": "vat_calculate"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYes
countryNo
rate_pctNo
amount_includes_vatNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavior: the default rate source is the country's standard rate unless overridden, and the flag flips gross-to-net extraction. It omits edge behavior such as rounding rules or what happens if country is null and no rate is given.

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?

Three short clauses, front-loaded with the output concept before the conditional rules. Slightly telegraphic phrasing ('Net, VAT and gross amounts.') but no wasted sentences and no redundancy with the schema.

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?

The presence of an output schema means return values need not be described, and the core rate-selection logic is covered. However, for a calculation tool with zero schema descriptions, the fallback when country is omitted and the handling of unsupported countries or negative amounts remain unspecified.

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% across 4 parameters, so the description is the only source of meaning. It successfully explains rate_pct, amount_includes_vat, and the role of country in rate selection, but leaves the amount parameter's currency/units and the country's expected format (code vs name) undocumented.

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?

The description names the concrete outputs (net, VAT and gross amounts) and the two computation directions, so an agent knows exactly what it computes. It does not explicitly distinguish itself from siblings like vat_rates or vat_cross_border, leaving that differentiation to inference from the tool name.

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?

It gives useful conditional guidance for how to call it (default standard rate unless rate_pct is supplied; amount_includes_vat=True for gross prices) but says nothing about when to pick this tool over vat_rates or the salary net/gross siblings. Usage context is implied by the parameter guidance rather than stated as an explicit rule.

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.