Skip to main content
Glama

Offres Neuf by M2

Détail d'un lot

get_lot
Read-only

Renvoie la fiche complète d'un lot : surface, étage, extérieur, orientation, parking, plan (floor_plan_url, lien à donner à l'acquéreur quand il le demande ; absent si le promoteur n'en a pas publié), prix, statut et fraîcheur de la donnée, ainsi que le programme (adresse, livraison, prestations, points forts, dispositifs éligibles). Les photos du programme sont dans program.photo_urls (program.image_url est la première) : ce sont les mêmes que celles des cartes, à utiliser telles quelles. Utiliser quand l'acquéreur veut « voir le détail » d'un logement.

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": {
      "lot_id": "<lot_id>"
    },
    "name": "get_lot"
  }
}

Input Schema

NameRequiredDescriptionDefault
lot_idYesIdentifiant du lot (champ `id` renvoyé par search_lots).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, non-destructive and non-openWorld, so the safety profile is covered. The description adds real behavioral nuance: floor_plan_url is absent when the promoter has not published it, and should only be handed to the buyer on request. It does not discuss caching or freshness mechanics beyond mentioning the 'fraîcheur' field.

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?

The main return-value list is front-loaded in the first sentence, and the photo note follows as a separate, actionable paragraph. The parenthetical about floor_plan_url is dense but each clause carries information; nothing is redundant filler.

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?

There is no output schema, so the description must carry the return contract, and it does so thoroughly: it names the lot fields, the program sub-fields, and even the nested photo paths with a usage rule. For a one-parameter read tool this is complete enough to call correctly.

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?

There is only one parameter and schema coverage is 100%, with the schema itself noting the value comes from search_lots' `id`. The description reinforces the dependency with no extra syntax to add, so the baseline of 4 for a single well-documented param is appropriate.

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?

The description uses a specific verb+resource ('Renvoie la fiche complète d'un lot') and then enumerates the returned fields (surface, étage, extérieur, orientation, parking, prix, statut, fraîcheur, program details). This makes it clearly distinct from a list/search tool like search_lots, whose `id` output it explicitly consumes.

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?

It gives an explicit trigger ('Utiliser quand l'acquéreur veut « voir le détail » d'un logement') and ties the input to search_lots via the lot_id description. It does not explicitly exclude alternatives such as compare_lots or get_program, but the single-lot scope is implied clearly enough.

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