Skip to main content
Glama

TOISE — intelligence foncière

Cannibalisation entre points de vente et trous de réseau (2 à 10 zones)

toise_cannibalisation
Read-onlyIdempotent

Cannibalisation entre mes magasins et trous de réseau : habitants communs entre 2 à 10 points de vente, et communes candidates couvertes par aucun. Chaque zone : adresse ou lat/lon et mode (rayon, voiture, a_pied…). Aussi parts de marché (modèle de Huff).

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": {
      "zones": "<zones>"
    },
    "name": "toise_cannibalisation"
  }
}

Input Schema

NameRequiredDescriptionDefault
triNoClassement des trous de réseau…
huffNoalpha, beta, attractivites[]
zonesYes2 à 10 zones du réseau…
communes_candidatesNoMode trous de réseau : communes…

Output Schema

NameRequiredDescriptionDefault
okYes
huffNoModèle gravitaire de Huff : parametres, sites…
liensNoLiens vers la fiche TOISE et vers des services…
quotaNoQuota du jour après cet appel : { fonction, limite…
zonesYesUne entrée par zone calculée : aire, habitants estimés…
mesureYesPas de la grille et IRIS sans indicateur.
pairesYesPar paire : aire commune, population commune, parts.
curseurNo
partielNotrue : une source n’a pas répondu, des champs manquent…
refusesYesZones non calculées…
sourcesYes
has_moreYesVrai si la liste a d’autres éléments : rappeler…
lecturesYes
warningsYesAvertissements (paramètres ignorés, données partielles).
quota_unitesNoUnités d’usage du jour : consommees_par_cet_appel…
champs_absentsNoDonnées absentes du résultat partiel.
sources_detailNo
alertes_adresseNoZones dont l’adresse retenue diffère de la saisie.
limite_atteinteNoPrésent quand un quota, une limite d’offre ou une fonction…
paiement_requisNoPrésent quand le résultat complet demande un abonnement…
trous_de_reseauNoMode communes_candidates : habitants hors de toute zone…

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / limite_atteinte / properties / essai
      Added value: +{
      +  "properties": {
      +    "carte_demandee": {
      +      "type": "boolean"
      +    },
      +    "jours": {
      +      "type": "number"
      +    },
      +    "lien": {
      +      "type": "string"
      +    },
      +    "une_fois_par_compte": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / limite_atteinte / properties / lien_offres
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / limite_atteinte / properties / remise_texte
      Added value: +{
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • removedInput schema / properties / zones / items / properties / km / description
      Removed value: -"Rayon en km, de 1 à 30…"
    • removedInput schema / properties / zones / items / properties / libelle / description
      Removed value: -"Nom court…"
    • removedInput schema / properties / zones / items / properties / minutes / description
      Removed value: -"Durée du trajet, de 5 à 45 (voiture)…"
    • removedInput schema / properties / zones / items / properties / mode / description
      Removed value: -"voiture, velo, poids_lourd : jusqu’à 45…"
  3. Changed2 schema fields changed
    • changedOutput schema / properties / paiement_requis / description
      Previous value: -"Présent quand le résultat complet est un achat à l’acte…"New value: +"Présent quand le résultat complet demande un abonnement…"
    • changedOutput schema / properties / paiement_requis / properties / prix_ht_eur / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / communes_candidates / description
      Previous value: -"Mode trous de réseau : communes candidates…"New value: +"Mode trous de réseau : communes…"
  5. Changed4 schema fields changed
    • changedInput schema / properties / zones / items / properties / minutes / description
      Previous value: -"Durée du trajet, de 5 à 45 (voiture) ou…"New value: +"Durée du trajet, de 5 à 45 (voiture)…"
    • changedOutput schema / properties / has_more / description
      Previous value: -"Vrai si la liste a d’autres éléments : rappeler avec…"New value: +"Vrai si la liste a d’autres éléments : rappeler…"
    • changedOutput schema / properties / liens / description
      Previous value: -"Liens vers la fiche TOISE et vers des services de…"New value: +"Liens vers la fiche TOISE et vers des services…"
    • changedOutput schema / properties / paires / items / properties / part_de_la_zone_pct / description
      Previous value: -"Clés zone_N : part de chaque zone dans…"New value: +"Clés zone_N : part de chaque zone…"
  6. Changed1 schema field changed
    • changedInput schema / properties / communes_candidates / description
      Previous value: -"Mode trous de réseau : communes candidates dont…"New value: +"Mode trous de réseau : communes candidates…"
  7. Changed2 schema fields changed
    • addedInput schema / properties / huff
      Added value: +{
      +  "description": "alpha, beta, attractivites[]",
      +  "type": "object"
      +}
    • addedOutput schema / properties / huff
      Added value: +{
      +  "description": "Modèle gravitaire de Huff : parametres, sites…",
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  8. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered elsewhere. The description adds genuine method-level context (Huff market-share model, pairwise shared inhabitants, zones with no coverage), but says nothing about cost, runtime, or what happens when a zone has neither address nor coordinates.

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?

Three short sentences, front-loaded with the primary purpose before the zone-format detail and the secondary Huff feature. Slightly dense with ellipses and parenthetical asides, but no filler.

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?

An output schema exists and the input schema is fully annotated, so return-value explanation is unnecessary; the description still conveys the two analysis modes and the zone input shape. Remaining gaps (the tri ranking option, the 20-commune cap, unit bounds on km/minutes) are handled by the schema.

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%, so the schema already documents zones, modes, bounds and the huff object. The description adds limited meaning beyond it: it explains that each zone is either an address or lat/lon plus a mode, and that huff corresponds to market-share modelling, but the tri parameter and the communes_candidates role are left to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete analysis: shared inhabitants (cannibalisation) between 2–10 points of sale, candidate communes covered by none (réseau gaps), plus market share via a Huff model. It is specific about the resource and computation, though it never names a sibling such as toise_comparer_zones to distinguish this from adjacent zone-comparison tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the framing 'Cannibalisation entre mes magasins et trous de réseau', which tells the agent this is for overlap and gap analysis, and the 2–10 zone bound implicitly excludes single-site questions. There is no explicit when-to-use/when-not, no prerequisites, and no routing to an alternative tool.

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