Skip to main content
Glama

MaCalculatriceEnLigne

Calculate French Income Tax

calculate_french_income_tax
Read-onlyIdempotent

Calculate French income tax (IR) 2026 on 2025 income per Article 197 CGI: progressive brackets with family quotient, family-quotient cap (1,807 EUR per extra half-share beyond 1 share single / 2 shares couple, 903.50 EUR per quarter share) and décote (897 EUR single / 1,483 EUR couple minus 45.25% of tax). Not implemented: the 4,262 EUR cap for single parents (parent isolé) and the special 1,079 / 1,801 EUR cases of art. 197 I-2; DOM reductions. Returns: {income, family_quotient, tax_before_cap, qf_cap, tax_after_cap, decote, total_tax, effective_rate_pct, marginal_rate_pct, brackets}.

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": {
      "income": "<income>"
    },
    "name": "calculate_french_income_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
partsNoNumber of fiscal shares (1=single, 2=married, +0.5 per child)
coupleNotrue = joint taxation (married/PACS couple, base 2 shares); false = individual taxation (base 1 share)
incomeYesAnnual net taxable income 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. Changed1 schema field changed
    • addedInput schema / properties / couple
      Added value: +{
      +  "default": false,
      +  "description": "true = joint taxation (married/PACS couple, base 2 shares); false = individual taxation (base 1 share)",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description goes well beyond them by spelling out the exact bracket logic, family-quotient cap amounts, and décote formula. It also proactively discloses unsupported edge cases, which is exactly the kind of behavioral caveat an agent needs; only rounding/precision behavior is left unstated.

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?

Single front-loaded paragraph that leads with the core computation, then caps, then exclusions — dense but every clause carries information. The trailing enumeration of return keys is largely redundant given an output schema exists and is the one place the text does not earn its space.

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 3-parameter deterministic calculator, the description covers formula, caps, exclusions, and output shape thoroughly. The main deductions are the duplicated return-field list (output schema already exists) and the absence of any note on rounding or on where excluded filers should go.

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 income, parts, and couple are already documented in the schema. The description adds conceptual context (extra half-share beyond 1 or 2 shares, quarter shares) that clarifies how parts interacts with the quotient, but it adds no syntax or format detail beyond the schema. 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 verb and resource plus jurisdiction and tax year ('Calculate French income tax (IR) 2026 on 2025 income per Article 197 CGI'), which cleanly separates it from siblings like calculate_french_vat or calculate_belgian_salary. An agent knows exactly which computation this tool performs without opening the schema.

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?

Usage context is clear from the legal basis and tax year, and the 'Not implemented' sentence acts as explicit when-not guidance (parent isolé cap, art. 197 I-2 special cases, DOM reductions). What is missing is routing advice — it does not name a sibling or fallback for those excluded 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.