Skip to main content
Glama

Analyze Rental Yield

analyze_rental_yield
Read-only

Gross rental yield for one French commune, from ANIL asking rents and clean DVF sale prices. MCP Apps hosts render an interactive view of the yield, its range and inputs.

REQUIRED: code_insee (5-character INSEE commune code, e.g. "33063" for Bordeaux; Corsica codes such as "2A004" work) OPTIONAL: type_local ("Appartement" default | "Maison"), appartement_profile ("all" default | "t1_t2" | "t3_plus", apartments only)

Returns the latest 24-month DVF window, median sale €/m², ANIL's charges-included rent/m², gross yield, its range at the ANIL rent interval's bounds (rendement_brut_interval_pct) and data-quality flags (wide_yield_range: range over 3 points).

A commune-level estimate, not a property valuation: excludes taxes, financing, vacancy, maintenance and management. ANIL rents are unfurnished advertised rents including charges.

Cost: 10 credits per call

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": {
      "code_insee": "<code_insee>"
    },
    "name": "analyze_rental_yield"
  }
}

Input Schema

NameRequiredDescriptionDefault
code_inseeYesINSEE commune code ('33063', '2A004', '97209')
type_localNoProperty type (default: Appartement)Appartement
appartement_profileNoApartment profile: all (default), t1_t2 (1-2 rooms), or t3_plus (3+ rooms); filters both the ANIL rent and the DVF sales. Only applies to Appartement.all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / code_insee / description
      Previous value: -"INSEE commune code (e.g., '33063' for Bordeaux or '2A004' in Corsica)"New value: +"INSEE commune code ('33063', '2A004', '97209')"
  2. Changed1 schema field changed
    • changedInput schema / properties / appartement_profile / description
      Previous value: -"Apartment profile: all (default), t1_t2, or t3_plus. Only applies to Appartement."New value: +"Apartment profile: all (default), t1_t2 (1-2 rooms), or t3_plus (3+ rooms); filters both the ANIL rent and the DVF sales. Only applies to Appartement."
  3. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description goes well beyond that by disclosing sources, the 24-month DVF window, the data-quality flag wide_yield_range, the unfurnished/charges-included basis of ANIL rents, and a cost of 10 credits per call — meaningful operational context. The one gap is return shape/pagination detail, which is partly covered by the RETURNS paragraph, so a 4 rather than 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?

Front-loaded with the purpose, then labeled blocks for REQUIRED, OPTIONAL, RETURNS and Cost. Every line carries information an agent needs — no filler, no restatement of the title.

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?

With no output schema, the description takes on return documentation itself and does so: trend window, median sale €/m², rent/m², yield, the rendement_brut_interval_pct range, and quality flags. Combined with the cost disclosure and the scope caveats, an agent has everything needed to call it and interpret the result.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real semantics: the yield is computed per commune from two distinct sources, and appartement_profile filters BOTH the ANIL rent and the DVF sales and is meaningful only for Appartement — information that changes how the agent should set the parameter. It also flags that Corsica INSEE codes like '2A004' are accepted, which guards against the agent rejecting them as malformed.

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?

States a specific verb and resource — gross rental yield for one French commune — and names the exact data sources (ANIL asking rents, clean DVF sale prices). The line 'A commune-level estimate, not a property valuation' explicitly separates it from property-level siblings such as estimate_property_value.

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?

REQUIRED/OPTIONAL blocks and the 'not a property valuation' framing give a clear context for when this tool applies, and the exclusion list (taxes, financing, vacancy, maintenance, management) tells the agent when the output is inappropriate. It stops short of naming an alternative tool for property-level questions, so it is clear context without explicit routing.

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