Skip to main content
Glama

nestegg-calculators

VAT

vat
Read-onlyIdempotent

Value-added tax (MwSt/USt, sales tax) on a price. By default adds the tax to a net price; with inclusive=true treats the amount as gross and extracts the tax. The rate is always an input (19 or 7 for Germany, etc.).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesThe price.
ratePctYesVAT rate in percent (e.g. 19 or 7).
inclusiveNofalse (default): amount is net, add the tax. true: amount is gross, extract the tax.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
netNoNet price.
taxNoTax amount.
grossNoGross price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the read-only and idempotent annotations, the description explains the calculation behavior (adding vs. extracting) and clarifies that the rate must always be supplied. No side effects or hidden behavior are omitted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, front-loaded with the core purpose, then the mode behavior, then a parameter note. Every sentence adds value without redundancy.

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?

For a simple pure-function tool with complete schema descriptions and an output schema, this description adequately covers the behavior, input modes, and rate requirement. No critical information is missing.

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 coverage is 100%, so the baseline is 3. The description mostly restates what the schema already says for amount, ratePct, and inclusive, adding only minor context about German VAT rates.

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 clearly identifies the tool's purpose: computing value-added tax on a price, with modes for net-to-gross and gross-to-net. It lacks an explicit verb like 'calculates' but the meaning is unambiguous and distinct from sibling tools.

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?

It gives clear usage conditions: by default it adds tax to a net price, and with inclusive=true it extracts tax from a gross amount. It does not explicitly name alternatives, but the two modes cover the main use cases.

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.