Skip to main content
Glama

CreditLabs

get_ptz_zone

Read-onlyIdempotent

Recherche la zone ABC d'une commune française par son code INSEE. Zonage officiel au 26 juin 2026, pas une décision d'éligibilité PTZ.

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>"
    },
    "name": "get_ptz_zone"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeInseeYesCode INSEE (5 caractères, y compris 2A/2B).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description still adds real value beyond them: it pins the data to an official snapshot dated 26 June 2026 and disclaims any eligibility interpretation, which tells the agent how much weight to give the result. It does not say what is returned for an invalid or unknown code, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no filler: the purpose-and-key comes first, followed by the two scope qualifiers (official date, not an eligibility decision). Every clause earns its place.

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 single-parameter, read-only lookup with full schema coverage and complete annotations, the description covers purpose, identifier, data currency and scope limits. The one gap is the shape of the answer (what a 'zone ABC' value looks like, or what happens on a miss), which matters slightly since there is no output schema.

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 coverage is 100% and the schema already spells out the format (5 characters, including 2A/2B). The description only restates that the lookup is keyed by code INSEE, adding no syntax or handling detail beyond the schema, so the 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?

Uses a specific verb ('Recherche') and a precise resource ('la zone ABC d'une commune française') keyed by a named identifier (code INSEE). The closing clause 'pas une décision d'éligibilité PTZ' explicitly separates it from the estimate_ptz sibling, so an agent can route without opening either 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?

The negation 'pas une décision d'éligibilité PTZ' implicitly routes eligibility questions to estimate_ptz and reserves this tool for raw zoning lookup. That is a clear usage boundary, but it is stated by contrast rather than as an explicit 'use this when…' instruction, and no prerequisites or failure conditions (e.g. unknown INSEE code) 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