Skip to main content
Glama

Analyser des statistiques (synthèse rédigée)

propecto_analyser_statistiques
Read-only

Analyse statistique d'un territoire ou d'une société et rédige une synthèse en français. Pour un territoire (type="territoire" + niveau parmi france, pays, region, departement, secteur + code, ex. {"type":"territoire","niveau":"departement","code":"69"}) : stock (sociétés, sociétés actives, chiffre d'affaires / marge / effectif médians avec la taille des échantillons, marchés publics attribués sur 12 mois), flux mensuels publiés (créations, radiations, procédures collectives), baromètre (cumul des 12 derniers mois et variation par rapport à la même période un an plus tôt) et, avec une clé API, les tendances sur 1 à 5 ans. Pour une société (type="societe" + siren, ex. {"type":"societe","siren":"791143795"}) : dernier exercice publié (chiffre d'affaires, marge, effectif) et position en quartiles face à son secteur d'activité et à son territoire. Chaque chiffre de la synthèse porte la référence [S1], [S2]… de sa statistique Propecto, avec la page Propecto qui l'affiche en légende ; aucune note n'est inventée (une valeur absente est dite « non disponible »). Une planification périodique est proposée à 3 mois, 6 mois, 1 an et 3 ans : la tâche planifiée est décrite, non posée. Sans clé API : territoires et secteurs (données agrégées publiques) ; l'analyse d'une société est réservée aux clés API. Coût : 2 unités pour un territoire, 1 pour une société.

Input Schema

NameRequiredDescriptionDefault
codeNoPour type="territoire" : code du territoire selon son niveau (voir « niveau »).
typeYes"territoire" : analyse d'un pays, de la France entière, d'une région, d'un département ou d'un secteur d'activité. "societe" : analyse d'une société française (réservé aux clés API).
sirenNoSIREN de la société française : 9 chiffres, espaces tolérés (ex. "791143795" ou "791 143 795").
niveauNoPour type="territoire" : niveau du territoire — france (code "FR"), pays (code ISO 2 lettres, ex. "FR"), region (2 chiffres, ex. "84"), departement (ex. "69", "2A", "971"), secteur (division d'activité à 2 chiffres, ex. "43").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses API-key gating (territories/sectors work without a key, companies require one), a unit cost (2 for territory, 1 for company), and the output contract: every figure carries a [S1]/[S2] citation, missing values are reported as 'non disponible', and scheduling is described but not executed. These are exactly the behavioral traits annotations cannot convey.

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?

It front-loads the purpose and then groups details by the two invocation modes, with cost and constraints last. It is dense but every clause (return content per type, citation rule, API gating, cost) contributes information; only minor tightening of the long coastline-style sentence would improve it.

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?

There is no output schema, so the description must describe the return content — and it does so thoroughly: stock, monthly flux, baromètre, 1-5 year trends for territories, and last exercise plus sector/territory quartile positioning for companies, along with the citation legend. Combined with annotations, nothing essential for correct invocation is missing.

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?

With 100% schema coverage the baseline is 3, but the description goes further by supplying full JSON invocation examples ({"type":"territoire","niveau":"departement","code":"69"} and {"type":"societe","siren":"791143795"}) that show the cross-parameter relationship between type, niveau and code, plus the siren format, adding genuine value over the schema alone.

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 specific verb and resource: statistical analysis of a territory or company producing a written French synthesis. It clearly carves out a distinct capability (a cited, prose synthesis) rather than raw data lookup, which implicitly separates it from siblings like propecto_societe or propecto_finances, but it never explicitly names those siblings.

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 explicit branching guidance: use type="territoire" with niveau/code for aggregated territory or sector data, type="societe" with siren for company analysis. It states the exclusion clearly — company analysis is reserved for API keys — and specifies cost per call, so an agent knows exactly which invocation path to take and under what conditions.

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