Skip to main content
Glama

Nombre de commerces dans une ville

chiffres_ville
Read-onlyIdempotent

Nombre d’établissements en activité d’une activité dans l’une des cent plus grandes villes de France métropolitaine (répertoire Sirene de l’Insee) : densité pour 10 000 habitants, comparaison avec les villes de taille voisine et la France, ouvertures et fermetures sur douze mois, ancienneté, part des établissements toujours actifs après trois ans. Renvoie le lien vers la page détaillée. Pour une autre commune, ou pour une adresse précise, utiliser apercu_adresse.

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": {
      "metier": "<metier>",
      "ville": "<ville>"
    },
    "name": "chiffres_ville"
  }
}

Input Schema

NameRequiredDescriptionDefault
villeYesNom de la commune, par exemple « Lyon » ou « Saint-Étienne ».
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).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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=false, so the safety profile is covered. The description adds the data source (Sirene/Insee) and the coverage limitation (top 100 cities only), plus what figures are produced, but says nothing about response format, units, or the nature of the returned link. Useful context, but not rich beyond the annotations.

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 core purpose and metric list are front-loaded, followed by the return hint and the routing sentence. The middle sentence is a dense enumeration of metrics, but every element describes actual output and nothing is redundant.

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 read-only two-parameter statistics tool with no output schema, the description does the heavy lifting by enumerating the metrics returned and the source. It leaves minor gaps: the form of the returned link and whether results are scoped to a single city only are not spelled out.

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?

Schema coverage is 100%, so the baseline is 3. The description nevertheless adds a real constraint on the ville parameter that the schema lacks: the commune must be among the 100 largest in metropolitan France. The metier enum is already fully documented in the schema and is not elaborated further.

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 and resource: counts of active establishments (Sirene) for a given activity in one of France's 100 largest cities, with the exact metrics returned enumerated. It also scopes the tool geographically (metropolitan France, top 100 cities), so an agent can distinguish it from apercu_adresse 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 gives an explicit when-not and alternative: for another commune or a precise address, use apercu_adresse. The when-to-use condition is implied by the top-100-cities scope rather than stated outright, and the sibling prix_fonds_de_commerce is not addressed, so the routing picture is clear but not exhaustive.

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.