Skip to main content
Glama

MaCalculatriceEnLigne

Calculate Inheritance Tax

calculate_inheritance_tax
Read-onlyIdempotent

Calculate French inheritance tax (droits de succession) based on relationship and amount. Returns: {amount, abatement, taxable_base, tax_due, effective_rate_pct, marginal_rate_pct}.

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>",
      "relationship": "<relationship>"
    },
    "name": "calculate_inheritance_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesInherited amount in euros
relationshipYesRelationship to deceased: spouse, child, grandchild (parent alive, 1 594 € allowance), sibling, nephew_niece (7 967 €, 55 %), relative_up_to_4th_degree (55 %), other (beyond 4th degree or unrelated, 60 %)

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. Changed2 schema fields changed
    • changedInput schema / properties / relationship / description
      Previous value: -"Relationship to deceased: spouse, child, sibling, other"New value: +"Relationship to deceased: spouse, child, grandchild (parent alive, 1 594 € allowance), sibling, nephew_niece (7 967 €, 55 %), relative_up_to_4th_degree (55 %), other (beyond 4th degree or unrelated, 60 %)"
    • changedInput schema / properties / relationship / enum
      Previous value: -[
      -  "spouse",
      -  "child",
      -  "sibling",
      -  "other"
      -]New value: +[
      +  "spouse",
      +  "child",
      +  "grandchild",
      +  "sibling",
      +  "nephew_niece",
      +  "relative_up_to_4th_degree",
      +  "other"
      +]
  3. 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 is fully covered and the description correctly does not restate it. What is missing is domain behavior: which fiscal year's barème applies, whether the calculation is simplified (no prior donations, no life-insurance rules), and whether results are advisory rather than binding.

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 short sentences: purpose first, return fields second. No filler, no repetition of the title, and the scope qualifier is front-loaded where an agent will read it.

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 a fully documented 2-parameter schema and an output schema present, the definition covers what is needed to call the tool correctly; enumerating return fields is slightly redundant given the output schema. The residual gap is domain framing — fiscal year and simplification assumptions — which matters for a tax computation but is a modest omission at this complexity.

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% and the enum description already spells out relationship-specific allowances and rates, so the description adds no incremental meaning to either parameter. That is acceptable and the baseline 3 applies; the only omission is the currency assumption for 'amount', which the schema itself covers.

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 (calculate) plus a precisely scoped resource (French inheritance tax / droits de succession) with the two determining inputs. The jurisdiction-and-tax-type specificity clearly separates it from siblings such as calculate_french_income_tax or calculate_french_vat without needing to name 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 scope statement — an agent can infer this applies to French estate/inheritance amounts, not gifts or income. However, there is no explicit when-to-use, no exclusions (e.g. non-residents, life insurance, prior donations), and no prerequisite 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.