Skip to main content
Glama

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}. See list_bundles for related 'finance-france' calculators.

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. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools).
sourceNoAuthoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21").
formulaNoHuman-readable formula or method used (e.g. "I=P·r·t", "Magnus formula").
reference_urlNoLink to a calcul2 page documenting the calculation in detail.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "formula": {
      +      "description": "Human-readable formula or method used (e.g. \"I=P·r·t\", \"Magnus formula\").",
      +      "type": "string"
      +    },
      +    "reference_url": {
      +      "description": "Link to a calcul2 page documenting the calculation in detail.",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools)."
      +    },
      +    "source": {
      +      "description": "Authoritative source for the rule or formula (e.g. \"Article 197 CGI\", \"NF DTU 21\").",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare this a read-only, idempotent, non-destructive, closed-world computation, so the safety profile is fully covered. The description's additional content is a list of return fields, which largely duplicates the existing output schema rather than adding behavior. It discloses nothing about simplifying assumptions (e.g. single heir, no prior donations within the statutory look-back period), which materially affect the result.

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?

Two short sentences, front-loaded with purpose, with no filler or hedging. The second sentence spends words enumerating return fields that the output schema already provides, which is the only redundancy.

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 full output schema, complete parameter coverage, and four annotations, the definition supplies everything an agent needs to invoke it correctly. A note on the tax-model simplification assumptions (single beneficiary, no prior gifts) would be the remaining gap for a financial calculation.

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%, and the relationship enum already documents each bracket's allowance and rate in the schema itself. The description only restates 'based on relationship and amount', adding no new meaning beyond the schema. Baseline 3 applies where the schema does the heavy lifting.

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?

The description names a specific verb and resource ('Calculate French inheritance tax (droits de succession)') and states the two driving inputs (relationship, amount). It is clearly distinguishable from siblings such as calculate_french_income_tax or calculate_property_transfer_tax without opening any schema.

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 by the domain ('inheritance tax'), and the sole routing hint is a pointer to list_bundles for related 'finance-france' calculators. There is no explicit statement of when this tool applies versus when to use a sibling calculator, nor any prerequisites or exclusions.

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.

Resources