Skip to main content
Glama

diagnostic_eligibilite_hlm

Compare un revenu fiscal de référence aux plafonds de ressources du logement social (HLM) en France et indique la catégorie de financement correspondante (PLAI / PLUS / PLS) ainsi que les démarches officielles. IMPORTANT : cet outil ne restitue AUCUN délai d'attribution (aucune statistique publique opposable à une situation individuelle) et aucune priorité déduite du financement — la priorité relève des critères de l'article L441-1 du CCH, du DALO et de la cotation locale. Le millésime des plafonds doit être revérifié (arrêté annuel). À UTILISER quand l'utilisateur a des revenus modestes ou est en situation difficile.

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": {
      "revenu_fiscal_reference": "<revenu_fiscal_reference>",
      "nombre_personnes_foyer": "<nombre_personnes_foyer>",
      "zone_geographique": "<zone_geographique>"
    },
    "name": "diagnostic_eligibilite_hlm"
  }
}

Input Schema

NameRequiredDescriptionDefault
zone_geographiqueYes
nombre_personnes_foyerYes
revenu_fiscal_referenceYesRevenu fiscal de référence annuel (ligne 25 avis imposition N-2)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description must carry the full behavioral burden, and it does more than most: it openly states what the tool does NOT return (no attribution lead times, no priority from financing), redirects priority questions to L441-1 CCH/DALO/local scoring, and warns that the ceiling year must be re-verified annually. What's missing is any statement about read-only/side-effect behavior or the shape of the returned output.

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 purpose is front-loaded, followed by an IMPORTANT block of hard constraints and then the usage trigger. The density of the legal caveats is justified, though the final usage sentence feels appended rather than integrated.

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 three-parameter computation tool with no annotations and no output schema, the description covers the return content (category plus démarches) and its limits well. Gaps remain around the zone_geographique enum semantics and household-size handling, which the reader must infer.

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

Parameters2/5

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

Schema coverage is only 33% — only revenu_fiscal_reference is documented in the schema, while nombre_personnes_foyer and zone_geographique (with its four-value enum) are bare. The description adds no meaning for any parameter, so the low coverage is left uncompensated.

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 states a concrete verb and resource: it compares the revenu fiscal de référence against HLM resource ceilings and returns the financing category (PLAI/PLUS/PLS) plus official procedures. This is specific enough to distinguish it from siblings such as simuler_apl or calculer_depot_garantie, which address different concerns.

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?

The line 'À UTILISER quand l'utilisateur a des revenus modestes ou est en situation difficile' gives a clear invocation trigger. It also rules out expectations (no delays, no priority deductions), but it names no alternative tool and offers no explicit when-not condition.

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