Skip to main content
Glama

Search Property Transactions

search_property_transactions
Read-only

Search French property sales (DVF, Demandes de Valeurs Foncières). MCP Apps hosts render an interactive map of the returned sales, coloured by price per m².

REQUIRED: one location filter: code_postal ("75011"), commune (uppercase; Paris by arrondissement: "PARIS 01"–"PARIS 20"), code_departement ("69"), latitude + longitude (radius), or address + code_postal (geocoded).

Examples:

  • {commune: "PARIS 11", type_local: "Appartement"}

  • {latitude: 48.8566, longitude: 2.3522, radius_m: 500}

  • {address: "12 rue de Rivoli", code_postal: "75001", radius_m: 300}

summary_only=true returns stats + 3 samples: use it for overviews. Its stats cover every matching sale, like analyze_market_statistics (same date cap), unless prix_*/surface_*/terrain_*/deduplicate are set: then you get "sample_summary" (basis "sample") instead of "summary", which describes the returned page only, never a market figure. Match count: pagination.total. terrain_min / terrain_max filter the land area (surface_terrain, m²: "houses with more than 500 m² of land"); surface_min / surface_max filter the built surface. limit: 1–100 (default 5). radius_m > 1000 is restricted to the latest 12 months. Other caps, back from data_as_of: Paris (PARIS 01–20, 75001–75020) → 450 days; Toulouse, Nice, Nantes, Bordeaux and other high-volume cities → 270 days. Read window.applied when dates are capped or defaulted; a cap starting after date_fin returns window_unavailable (not charged).

Cost: 5 credits per call

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_property_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results (default: 5)
offsetNoOffset for pagination
addressNoStreet address for automatic geocoding — alternative to explicit lat/lon. Example: '12 rue de Rivoli'. Best used with code_postal for precision. Resolves via api-adresse.data.gouv.fr.
communeNoUPPERCASE as stored, e.g. "LYON", "PARIS 11" (Paris, Lyon and Marseille are stored by arrondissement). A name shared by several departments (SAINT-DENIS) needs code_postal or code_departement too. Unsure? Call resolve_location first.
date_finNoEnd date (YYYY-MM-DD)
latitudeNoLatitude for radius search (requires longitude)
prix_maxNoMaximum price in EUR
prix_minNoMinimum price in EUR
radius_mNoRadius in meters for location search (default: 500). A radius above 1000 m is restricted to the latest 12 months of data.
longitudeNoLongitude for radius search (requires latitude)
date_debutNoStart date (YYYY-MM-DD)
pieces_minNoMinimum number of rooms (pièces principales, not bedrooms: a 2-bedroom flat is usually 3 pièces)
type_localNoProperty type
code_postalNoPostal code (e.g., '75001')
deduplicateNoGroup duplicate sales (same date, address, price) into single entries
surface_maxNoMaximum surface area in m²
surface_minNoMinimum surface area in m²
terrain_maxNoMaximum land area (surface_terrain) in m².
terrain_minNoMinimum land area (surface_terrain) in m², e.g. houses with a 500 m² plot.
exclude_vefaNoExclude VEFA new-build (off-plan) sales (default: true)
summary_onlyNoReturn summary stats + 3 sample sales instead of the full list (~500 vs ~3500 tokens)
code_departementNoDepartment code (e.g., '73' for Savoie, '83' for Var)
use_original_typeNoUse the raw DVF type_local, not the corrected computed_type_local (default: false)
exclude_bulk_salesNoExclude bulk and aggregated sales (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / terrain_max / description
      Previous value: -"Maximum land area (surface_terrain) in m². Not available with latitude+longitude/address radius search."New value: +"Maximum land area (surface_terrain) in m²."
    • changedInput schema / properties / terrain_min / description
      Previous value: -"Minimum land area (surface_terrain) in m², e.g. houses with a 500 m² plot. Not available with latitude+longitude/address radius search."New value: +"Minimum land area (surface_terrain) in m², e.g. houses with a 500 m² plot."
  2. Changed4 schema fields changed
    • changedInput schema / properties / exclude_bulk_sales / description
      Previous value: -"Exclude bulk sales and aggregated transactions (default: true for clean market data)"New value: +"Exclude bulk and aggregated sales (default: true)"
    • changedInput schema / properties / exclude_vefa / description
      Previous value: -"Exclude VEFA (new-build, vente en l'état futur d'achèvement) sales (default: true — keeps 'ancien' results from double-counting new-build activity)"New value: +"Exclude VEFA new-build (off-plan) sales (default: true)"
    • changedInput schema / properties / summary_only / description
      Previous value: -"Return only summary statistics with 3 sample transactions instead of full list (reduces context usage)"New value: +"Return summary stats + 3 sample sales instead of the full list (~500 vs ~3500 tokens)"
    • changedInput schema / properties / use_original_type / description
      Previous value: -"Use original type_local instead of smart computed_type_local (default: false)"New value: +"Use the raw DVF type_local, not the corrected computed_type_local (default: false)"
  3. Changed2 schema fields changed
    • addedInput schema / properties / terrain_max
      Added value: +{
      +  "description": "Maximum land area (surface_terrain) in m². Not available with latitude+longitude/address radius search.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / terrain_min
      Added value: +{
      +  "description": "Minimum land area (surface_terrain) in m², e.g. houses with a 500 m² plot. Not available with latitude+longitude/address radius search.",
      +  "minimum": 0,
      +  "type": "number"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / pieces_min / description
      Previous value: -"Minimum number of rooms"New value: +"Minimum number of rooms (pièces principales, not bedrooms: a 2-bedroom flat is usually 3 pièces)"
  5. Changed1 schema field changed
    • changedInput schema / properties / commune / description
      Previous value: -"UPPERCASE as stored, e.g. \"LYON\", \"PARIS 11\" (Paris, Lyon and Marseille are stored by arrondissement). Unsure? Call resolve_location first."New value: +"UPPERCASE as stored, e.g. \"LYON\", \"PARIS 11\" (Paris, Lyon and Marseille are stored by arrondissement). A name shared by several departments (SAINT-DENIS) needs code_postal or code_departement too. Unsure? Call resolve_location first."
  6. Changed4 schema fields changed
    • changedInput schema / properties / commune / description
      Previous value: -"City/commune name (e.g., 'Paris', 'Lyon')"New value: +"UPPERCASE as stored, e.g. \"LYON\", \"PARIS 11\" (Paris, Lyon and Marseille are stored by arrondissement). Unsure? Call resolve_location first."
    • addedInput schema / properties / date_debut / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • addedInput schema / properties / date_fin / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • changedInput schema / properties / radius_m / description
      Previous value: -"Radius in meters for location search (default: 500)"New value: +"Radius in meters for location search (default: 500). A radius above 1000 m is restricted to the latest 12 months of data."
  7. Changed1 schema field changed
    • removedInput schema / properties / exclude_outliers
      Removed value: -{
      -  "default": true,
      -  "description": "Exclude price outliers (default: true for clean market data)",
      -  "type": "boolean"
      -}
  8. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/non-destructive annotations: discloses the 5-credit cost, the exact date-window caps by city (450 days Paris, 270 days high-volume cities), the radius>1000m restriction, the window_unavailable failure mode when a cap starts after date_fin, and that such a call is not charged. It also explains the summary vs sample_summary switch and that sample_summary is never a market figure.

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?

Front-loads the required-filter constraint and follows with three copy-pasteable examples, which is well structured for a 24-parameter tool. The summary_only paragraph is dense and its nested conditionals ("unless prix_*/surface_*/terrain_*/deduplicate are set... basis 'sample'") take effort to parse, costing a point.

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?

For a 24-parameter tool with no output schema, the description still discloses the key response surfaces an agent needs: pagination.total for match counts, window.applied for capped/defaulted dates, and the summary/sample_summary distinction. Cost and edge-case failure behavior are covered, leaving nothing material missing.

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 baseline is 3; the description still adds cross-parameter semantics the schema cannot express — that exactly one location filter is required, and that setting prix_*/surface_*/terrain_*/deduplicate silently downgrades summary_only from "summary" to "sample_summary". Some detail (radius cap, Paris commune format, terrain vs surface) merely restates the schema.

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?

Names a specific verb and resource ("Search French property sales (DVF, Demandes de Valeurs Foncières)") and states what the MCP host renders for the results. It also distinguishes itself from analyze_market_statistics, which an agent could otherwise confuse it with.

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

Usage Guidelines5/5

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

Explicitly states the required precondition ("REQUIRED: one location filter") and enumerates the accepted filter combinations, which is not expressible as schema `required` since none are marked. It also tells the agent when to prefer summary_only ("use it for overviews") and names analyze_market_statistics as the equivalent for stats.

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