Skip to main content
Glama

CalcPronto: exact calculators (tax, payroll, loans, VAT, EU261)

French zero-interest home loan (PTZ)

ptz_fr_calculate
Read-onlyIdempotent

French zero-interest home loan (PTZ) of a first-time buyer, offers issued from 1 April 2025 to 31 December 2027: eligibility, resources taken into account, income tranche 1 to 4, quotité, PTZ amount, deferral and repayment period, monthly instalment, minimum of the other loans, conditions to check. zone: zone of the commune of the dwelling, 'A' (also for A bis), 'B1', 'B2' or 'C'. household_size: number of persons who will live in the dwelling. reference_income: total reference tax income (revenu fiscal de référence) of year N-2 of every future occupant, in euros (2024 for an offer issued in 2026). operation_cost: total cost of the operation in euros including VAT (price, works, agency fees paid by the buyer; excluding notary fees and transfer duties). operation_type: 'new_collective' (new apartment), 'new_individual' (new house), 'new_assisted' (PSLA, BRS, 5.5 % VAT near a priority district, conversion of premises), 'old_with_works' (zones B2 and C, works at least 25 % of the total cost) or 'social_sale' (old social dwelling sold to its occupant). works_cost: optional, euros, checks the 25 % rule for an old dwelling.

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": {
      "zone": "<zone>",
      "household_size": "<household_size>",
      "reference_income": "<reference_income>",
      "operation_cost": "<operation_cost>"
    },
    "name": "ptz_fr_calculate"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneYes
works_costNo
household_sizeYes
operation_costYes
operation_typeNonew_collective
reference_incomeYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 this as a read-only, idempotent, non-destructive, closed-world calculation. The description adds meaningful domain behavior beyond that: the applicable offer dates, first-time-buyer context, eligibility dimensions, income tranche logic, and conditions to check.

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?

The description is front-loaded with purpose and date range, then defines each parameter efficiently. It is dense and somewhat run-on, with semicolon-separated parameter explanations rather than clearer bullets, but nearly every clause carries useful domain meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the six parameters, financial-domain complexity, available annotations, and existing output schema, the description is complete enough to invoke the tool correctly. It defines all inputs, units, allowed operation types, special zone handling, and the main eligibility/calculation dimensions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry full parameter semantics, and it does: `zone` values including the A-bis treatment, `household_size`, `reference_income` with an N-2 year example, `operation_cost` inclusions/exclusions, `operation_type` accepted values, and optional `works_cost` for the 25% rule. This is substantially more informative than the bare schema.

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?

The description clearly identifies a French PTZ calculation covering eligibility, income tranche, amount, deferral, repayment period, and monthly instalment for first-time buyers with offers from 2025-04-01 to 2027-12-31. It is specific about the resource and calculation scope, but it does not explicitly differentiate itself from the sibling `ptz_fr_parameters`.

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 first-time-buyer scope and the offer date range, which tells an agent when the calculation is relevant. However, there is no explicit when-to-use/when-not-to-use guidance and no named alternative such as `ptz_fr_parameters` for parameter lookups.

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.