Skip to main content
Glama

Offres Neuf by M2

Rechercher des logements neufs

search_lots
Read-only

Recherche des logements neufs (lots) dans le catalogue des programmes partenaires de M2, et les affiche sous forme de liste. Utiliser dès qu'un acquéreur décrit un projet : ville, typologie (T2, T3...), budget, surface, extérieur (terrasse, balcon...), date de livraison, promoteur. Pour une zone large (région, « le Sud », « près de... ») ou une ville incertaine, appeler d'abord list_cities puis ne chercher que dans les villes listées : ne jamais sonder les villes une à une. Par défaut seuls les lots disponibles sont renvoyés, triés par prix croissant. Si reliability vaut low, la disponibilité doit être confirmée (check_availability). Ne jamais inventer de logement absent des résultats, ni retirer un critère de l'acquéreur de sa propre initiative : en l'absence de résultat, proposer les pistes d'élargissement (relaxations). Renvoie un search_id à repasser à create_lead si l'acquéreur demande ensuite une mise en relation.

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_lots"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoVille recherchée, ex. « Lyon ».
limitNoNombre maximum de lots renvoyés (1 à 20, 6 par défaut).
districtNoArrondissement (Paris, Lyon, Marseille), ex. 7 pour Lyon 7e.
min_areaNoSurface habitable minimum en m².
promoterNoNom ou identifiant (`slug`) du promoteur, ex. « LNC ». Voir list_promoters.
incentiveNoDispositif d'aide ou fiscal éligible.
max_priceNoPrix TTC maximum en euros (budget).
min_priceNoPrix TTC minimum en euros.
unit_typesNoTypologies acceptées.
outdoor_spacesNoTypes d'extérieur acceptés.
min_outdoor_areaNoSurface minimum de l'extérieur en m².
include_unavailableNoInclure les lots optionnés, réservés ou vendus. Faux par défaut.
latest_delivery_dateNoDate de livraison maximale (AAAA-MM-JJ). « Livrable en 2027 » → 2027-12-31.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, closed-world, so the bar is lower and the description still adds a lot: default filtering to available lots, price-ascending sort, the reliability/low caveat that forces confirmation via check_availability, and the guidance not to invent or unilaterally drop criteria but to offer 'relaxations'. Slight gap: 'reliability' and 'relaxations' are referenced without saying where they appear in the response.

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-loaded with purpose, then usage, then defaults, then guardrails and the return handoff. Dense but each sentence carries a distinct rule; only the reliability/relaxations mentions are underspecified rather than redundant.

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 13-parameter, zero-required search tool with no output schema, the description supplies the missing pieces: default result set, sort order, broad-area workflow, availability caveat, no-hallucination rule, relaxation fallback, and the search_id return value used by create_lead.

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?

With 100% schema coverage the baseline is 3, but the description adds mapping value: it ties buyer-voiced criteria (ville, typologie, budget, surface, extérieur, date de livraison, promoteur) to the parameter set and warns against removing a criterion on the agent's own initiative, which is behavioral semantics the schema cannot express.

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?

Opens with a specific verb and resource ('Recherche des logements neufs (lots) dans le catalogue des programmes partenaires') and states the output form (liste). This clearly distinguishes it from get_lot (single record), compare_lots, and list_cities.

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?

Explicit trigger conditions (buyer describes a project: city, typology, budget, surface, outdoor space, delivery date, promoter), an explicit alternative for broad/uncertain areas (call list_cities first, never probe cities one by one), a follow-up rule when reliability is low (check_availability), and a downstream path (search_id → create_lead).

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