Skip to main content
Glama

Offres Neuf by M2

Détail d'un programme

get_program
Read-only

Renvoie la présentation d'un programme immobilier neuf (promoteur, localisation, description, livraison, prestations, points forts, dispositifs éligibles) et la liste de ses lots disponibles. Utiliser quand l'acquéreur s'intéresse à une résidence dans son ensemble plutôt qu'à un lot précis.

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": {
      "program_id": "<program_id>"
    },
    "name": "get_program"
  }
}

Input Schema

NameRequiredDescriptionDefault
program_idYesIdentifiant du programme (champ `program.id` d'un lot).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/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 adds genuine value beyond that by disclosing the payload composition, including the embedded list of available lots — important since there is no output schema. It says nothing about behavior for an unknown program_id, which keeps it from 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?

Two sentences: the first front-loads what is returned, the second front-loads the selection rule. No filler, no restatement of the title, and the field enumeration is compact enough to scan.

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 simple read tool with one required parameter and no output schema, the description carries the necessary burden by listing returned fields and the included lots list. Minor gaps remain: no note on what happens if the program_id does not exist, and no hint whether the lots list is paginated or filtered to available ones only.

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?

With a single parameter and 100% schema description coverage, the schema already fully documents program_id (including the useful hint that it is the `program.id` field of a lot). The description never mentions the parameter, so it adds no meaning beyond the schema — baseline 3.

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 ("Renvoie") and resource ("programme immobilier neuf") and enumerates exactly what is returned: promoteur, localisation, description, livraison, prestations, points forts, dispositifs éligibles, plus available lots. It explicitly contrasts itself with lot-level lookup ("plutôt qu'à un lot précis"), so an agent can distinguish it from get_lot/search_lots without opening either schema.

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 states a clear usage condition: use it when the buyer is interested in a residence as a whole rather than a specific lot. That gives an explicit when-to-use and an implicit when-not (lot-level queries go elsewhere). The only gap is that no alternative tool is named, so the agent must map "un lot précis" to get_lot 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