Skip to main content
Glama

get_commune_loyers

Read-onlyIdempotent

DataRespublica — loyers d’annonces ANIL modélisés par commune, millésime et type de bien (appartement/maison). Source officielle, niveau de prédiction, sans confusion avec les loyers de baux signés ou les prix actuels.

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": {
      "commune_code": "<commune_code>"
    },
    "name": "get_commune_loyers"
  }
}

Input Schema

NameRequiredDescriptionDefault
commune_codeYesCode INSEE communal exact. Absence = indicateur non disponible.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already establish readOnly, idempotent, closed-world, non-destructive behavior, so the description carries a lighter burden. It does add genuinely useful behavioral context: these are modeled predictions from an official source rather than observed rents, which is critical for how an agent presents the numbers. It says nothing about coverage gaps or units, but that is a minor omission given the strong annotation set.

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?

Two dense sentences with the source and data type front-loaded, then the disambiguation caveat. No filler, though the list of dimensions in the first sentence is compressed enough to be mildly ambiguous.

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 no output schema, the description covers the essential context: what the figures represent, their provenance, and their limitations. The remaining gap, the shape and units of the returned record, is the only thing an agent might still need.

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?

The description names dimensions (millésime, type de bien) that look like additional filters, but the schema has only commune_code, which is fully documented (pattern plus 'Absence = indicateur non disponible'). Schema coverage is 100%, so baseline 3 applies, but the description slightly muddies the picture by implying filters that do not exist.

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 resource (loyers d'annonces ANIL modélisés) and its breakdown dimensions (commune, millésime, type de bien), plus an explicit contrast with signed-lease rents and current prices. It is clear what data this tool returns, though the mention of millésime and type de bien as scoping factors is ambiguous since the schema accepts only commune_code.

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?

The clause 'sans confusion avec les loyers de baux signés ou les prix actuels' functions as a negative-use guideline, telling the agent which questions this data should not answer. However, there is no explicit positive trigger ('use when you need…') and no reference to sibling tools such as get_dvf_commune, so the agent must infer the boundary itself.

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