Skip to main content
Glama

Chercher un lieu

chercher_lieu
Read-onlyIdempotent

Trouve le code d’une commune (code INSEE, centre), d’un département ou d’une région à partir de son nom ou d’un code postal : ce sont les codes attendus par rechercher_annonces, marche_commune et ventes_dvf.

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": {
      "texte": "<texte>"
    },
    "name": "chercher_lieu"
  }
}

Input Schema

NameRequiredDescriptionDefault
texteYesNom de ville, de département ou de région, ou code postal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description usefully adds that the result is a code rather than raw data and which tools consume it, but stays silent on ambiguity handling (multiple matches) and on the shape of the returned result, which matters since there is no output schema.

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?

A single front-loaded sentence with the core action first and the downstream-consumer note second; no filler or repetition of the title.

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 one-parameter lookup with full annotation coverage the definition is nearly self-sufficient: input domain, output meaning (a code) and its role in the workflow are all present. Missing only handling of ambiguous name matches, which is the main practical risk in calling it.

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?

Schema coverage is 100% and the single parameter already documents that it accepts a city, département, région name or postal code, so the description adds no syntax, format or normalization guidance beyond it. Baseline 3 applies when the schema does the heavy lifting.

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 ("Trouve") and specific resource (the INSEE/centre code of a commune, département or région) plus the accepted inputs (name or postal code). It also distinguishes itself from lookup-free siblings by naming the downstream tools that consume these codes.

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?

Clearly signals when to use it: as the resolver step before rechercher_annonces, marche_commune and ventes_dvf, which expect these codes. It does not state exclusions or what to do when a name is ambiguous across several communes, so it stops short of a full when/when-not guide.

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