Skip to main content
Glama

Comparaison de plusieurs adresses

comparer_adresses
Read-onlyIdempotent

Compare de deux à quatre adresses de France métropolitaine pour une même activité. Pour chacune, les zones accessibles en 5, 10 ou 15 minutes à pied et en voiture (service d’itinéraires de l’IGN), le nombre de concurrents (répertoire Sirene de l’Insee), les habitants, leur niveau de vie (Insee, grille de 200 mètres) et le nombre d’habitants par concurrent, puis un classement de la concurrence à pied. À utiliser quand quelqu’un hésite entre plusieurs locaux. Pour une seule adresse, utiliser apercu_adresse. Renvoie aussi le lien vers l’aperçu de chaque adresse sur etudelocale.fr.

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": {
      "adresses": "<adresses>",
      "metier": "<metier>"
    },
    "name": "comparer_adresses"
  }
}

Input Schema

NameRequiredDescriptionDefault
metierYesActivité étudiée : boulangerie (boulangerie), restaurant (restaurant), restauration-rapide (restauration rapide), salon-de-coiffure (salon de coiffure), institut-de-beaute (institut de beauté), bar (bar), garage-automobile (garage automobile), epicerie (épicerie), salle-de-sport (salle de sport), boucherie (boucherie).
minutesNoDurée du trajet qui délimite les zones. 10 minutes convient à un commerce de proximité.
adressesYesAdresses des locaux à comparer, chacune avec numéro, rue et commune ou code postal, par exemple « 12 rue Saint-Aubin, Angers ».

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuine value beyond that by disclosing the data sources and derived metrics (IGN routing, Sirene competitors, Insee 200 m grid, inhabitants per competitor, competition ranking) and the fact that it returns preview links. It does not mention latency or cost, which matters for an open-world lookup that fans out to external services.

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 opening sentence front-loads the core action and the return payload; usage condition and the sibling pointer follow. The output enumeration is dense but each item earns its place as the only source of return-value information since there is no output schema.

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?

With no output schema, the description carries the full burden of describing returns, and it does so thoroughly: metrics, ranking, and the per-address preview links. Combined with the annotations, an agent has everything needed to call it correctly and set expectations.

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 description coverage is 100%, so all three parameters are already documented, including the metier enum and the minutes enum with its default. The description adds the 'France métropolitaine' restriction on addresses, which is not derivable from the schema, but otherwise repeats the 5/10/15-minute zones and adds nothing about address formatting.

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 states a specific verb (compare) and resource (two to four addresses for one activity) and adds the geographic scope ('France métropolitaine'). It also explicitly names the sibling tool that handles the single-address case ('Pour une seule adresse, utiliser apercu_adresse'), so an agent can distinguish it without opening the schema.

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?

It gives an explicit trigger ('À utiliser quand quelqu'un hésite entre plusieurs locaux') and an explicit exclusion with the alternative to use instead for one address. The 2–4 address bound is also stated in prose, so the when-to-use condition is unambiguous.

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.