Skip to main content
Glama
AnderRahe

Quaderno MCP Server

by AnderRahe

Calculate Tax

calculate_tax

Determine the applicable tax rate for a transaction using customer location, product type, and optional tax ID, returning tax rate, tax name, and reverse charge status.

Instructions

Calculate the applicable tax rate for a transaction based on customer location, product type, and optionally a tax ID. Returns the tax rate, tax name, and whether reverse charge applies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountNoTransaction amount — used to calculate the tax amount
tax_idNoCustomer tax ID (e.g. VAT number). If valid, reverse charge may apply
to_cityNoCustomer city
tax_codeNoTax code for the product/service (e.g. eservice, saas, ebook, standard)
to_countryYesISO 3166-1 alpha-2 country code of the customer (e.g. DE, US, GB)
to_postal_codeNoCustomer postal code — required for US tax calculations

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It helpfully discloses the return content (tax rate, tax name, reverse-charge flag) which compensates for the missing output schema, but says nothing about edge cases such as jurisdiction-specific requirements, failure modes, or latency/auth considerations.

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?

Two tight sentences: the purpose first, the return shape second. Every clause earns its place and nothing is padded.

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 usefully states what comes back, and the 100%-covered input schema handles the inputs. It misses only operational edge cases (e.g. that postal code is mandatory for US) which the schema partly covers.

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 100%, so every parameter is already documented in the schema. The description only restates the main input categories (location, product type, tax ID) without adding syntax or value constraints, so baseline 3 applies.

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?

Specific verb+resource ('Calculate the applicable tax rate for a transaction') with an explicit basis (customer location, product type, optional tax ID). It is clearly distinguished in kind from its siblings (validate_tax_id, create_invoice), though it never names or routes against them.

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 description—you call it to determine a transaction's tax treatment—but there is no explicit when-to-use, when-not, or relationship to validate_tax_id, which an agent might otherwise confuse it with.

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