Skip to main content
Glama

MaCalculatriceEnLigne

Calculate French VAT

calculate_french_vat
Read-onlyIdempotent

Calculate French VAT (TVA) — convert between HT (before tax) and TTC (after tax). Supports all 4 French VAT rates. Returns: {amount_ht, amount_ttc, vat_amount, vat_rate}.

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": "calculate_french_vat"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoInput mode: ht=before tax, ttc=after taxht
rateNoVAT rate percentage20
amountYesAmount in euros

Output Schema

NameRequiredDescriptionDefault
resultNoComputed result (fields depend on the tool).
sourceNoLegal or official source.
formulaNoMethod used.
reference_urlNomacalculatriceenligne.com page to share.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / formula / description
      Previous value: -"Human-readable formula or method used (e.g. \"I=P·r·t\", \"Magnus formula\")."New value: +"Method used."
    • changedOutput schema / properties / reference_url / description
      Previous value: -"Link to a calcul2 page documenting the calculation in detail."New value: +"macalculatriceenligne.com page to share."
    • changedOutput schema / properties / result / description
      Previous value: -"Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools)."New value: +"Computed result (fields depend on the tool)."
    • changedOutput schema / properties / source / description
      Previous value: -"Authoritative source for the rule or formula (e.g. \"Article 197 CGI\", \"NF DTU 21\")."New value: +"Legal or official source."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile needs no restating. The description adds the supported-rate coverage and lists the returned fields, but for a financial calculation it omits genuinely useful behavior such as rounding/precision rules and what happens on invalid combinations — and the return-field list is partly redundant with the existing output schema.

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 compact sentences with the purpose front-loaded, followed by scope and return shape. Nothing is padded and there is no restatement of the tool name or title.

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?

For a simple three-parameter pure calculator with full schema coverage, an output schema, and strong read-only annotations, the description covers purpose, scope, and inputs adequately. The only meaningful omission is rounding/precision behavior, which matters for monetary output but is not strictly required to invoke the tool correctly.

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%, with both enum parameters documented inline (mode ht/ttc, rate 2.1/5.5/10/20), so the schema carries the parameter burden. The description reinforces the HT/TTC meaning and rate coverage but adds no format, default, or edge-case semantics beyond what the schema already provides; baseline 3 applies.

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 operation (VAT conversion between HT and TTC) on a specific resource (French TVA), with the 'French' qualifier separating it from siblings like calculate_canada_sales_tax. The bidirectional direction of conversion is spelled out, so an agent knows exactly what computation this performs.

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 only implied: the 'convert between HT and TTC' phrasing tells an agent the tool is for tax-inclusive/exclusive conversions, but there is no explicit when-to-use or when-not-to-use statement and no routing guidance relative to the many other calculate_* siblings. Given the sibling set is mostly unrelated tax/benefit calculators, the omission is low-risk but still a gap.

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.