Skip to main content
Glama

CreditLabs

estimate_ptz

Read-onlyIdempotent

Estimation PTZ en 2026, sur une commune INSEE, selon ressources N-2, type de bien, coût, primo-accession et résidence principale. Ne confirme jamais une éligibilité.

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": {
      "codeInsee": "<codeInsee>",
      "nombrePersonnes": "<nombrePersonnes>",
      "revenusFiscauxReference": "<revenusFiscauxReference>",
      "coutOperation": "<coutOperation>",
      "typeLogement": "<typeLogement>",
      "premiereAcquisition": "<premiereAcquisition>",
      "residencePrincipale": "<residencePrincipale>"
    },
    "name": "estimate_ptz"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeInseeYes
coutTravauxNoTravaux inclus dans le coût total, obligatoire pour l'ancien.
typeLogementYesneuf_collectif, neuf_individuel ou ancien_travaux
coutOperationYes
nombrePersonnesYes
autresPretsDeuxAnsNoSomme des prêts complémentaires d'au moins 2 ans, facultatif.
premiereAcquisitionYes
residencePrincipaleYes
revenusFiscauxReferenceYes
performanceEnergetiqueValideeNoJustificatif de classe D ou meilleure avant/après travaux, nécessaire pour l'ancien.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety and side-effect behaviour is fully covered. The description's one addition beyond that is valuable and non-obvious: results are indicative and must never be treated as a confirmed eligibility decision. It says nothing about the estimation model, rounding, or what happens when inputs are out of scope (e.g. a non-eligible commune).

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?

A single front-loaded sentence covering scope, followed by a short caveat — no filler and nothing repeated from structured fields. It is appropriately terse for a tool whose parameters are documented in the schema, though the caveat sentence could be tightened.

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

Completeness3/5

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

With 10 parameters, 40% schema coverage and no output schema, the definition is only marginally complete. The eligibility disclaimer and year scoping are genuinely useful, but an agent calling this with an 'ancien_travaux' property gets no warning from the description that two additional inputs become mandatory, nor any sense of what the return value contains.

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 only 40% across 10 parameters, so the description would need to compensate. It does map roughly onto six of the inputs by naming the concepts (INSEE commune, N-2 resources, property type, cost, primo-accession, principal residence), but adds no syntax, format, units or conditional logic. The conditional dependencies (coutTravaux and performanceEnergetiqueValidee being required for ancien_travaux) live only in the schema, not the description.

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 names a specific verb and resource ("Estimation PTZ") and scopes it precisely with the year 2026, commune INSEE code, N-2 income basis, property type, cost, first-time-buyer status and principal residence. An agent can tell what the tool computes without opening the schema. It does not, however, contrast itself with siblings such as get_ptz_zone, which an agent could plausibly confuse for a PTZ-related query.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only guidance offered is a disclaimer ("Ne confirme jamais une éligibilité"), which restricts interpretation of the output but does not tell the agent when to reach for this tool versus get_ptz_zone or the payment/amortization calculators. No prerequisites, no exclusions, no routing advice are given.

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