Skip to main content
Glama

get_indicateurs_tva

Retrieve VAT (ICA/ICAC) revenue variation indicators from ImagePME by period, sector, and region, returning an Excel or PDF file for business analysis.

Instructions

Indicateurs TVA (ICA/ICAC) d'ImagePME : variation du chiffre d'affaires.

IMPORTANT — une seule requête suffit pour une série : chaque requête renvoie l'historique qui précède la période demandée (environ 12 mois en mensuel, juillet et août étant regroupés en "07+08" ; environ 11 trimestres en trimestriel). Pour l'évolution sur plusieurs mois ou trimestres, interroge UNIQUEMENT la période la plus récente voulue, puis lis l'historique dans le tableau renvoyé. Ne fais pas une requête par période (chaque requête prend environ une minute).

ICA = variation du CA par rapport à la même période de l'année précédente ; ICAC = même chose en cumul depuis le début de l'année.

Args: periodicite: "mensuelle" ou "trimestrielle". annee: année de la période recherchée (ex. "2026"). periode: nom du mois (ex. "Mai") si mensuelle, ou trimestre ("T1".."T4") si trimestrielle. niveau_sectoriel: "ape", "classe", "groupe", "division", "section" ou "tous" (défaut). secteur: secteur précis, requis si niveau_sectoriel != "tous". Pas besoin du libellé exact du site : un code NAF ("10.71C"), un mot-clé ou un libellé complet fonctionnent. Si le mot-clé correspond à plusieurs options (ex. "Boulangerie" couvre 10.71B et 10.71C), une erreur liste les options : précise alors avec le code de celle voulue. niveau_geo: "national" (défaut), "region" ou "departement". territoire: nom de la région/du département (ex. "Bretagne"), requis si niveau_geo != "national". Mêmes tolérances que secteur. format: "excel" (défaut) ou "pdf".

Returns: Le chemin local du fichier téléchargé et, en Excel, le tableau des données (une ligne par période : échantillon, ICA, ICAC).

Raises: Une erreur explicite si le secteur/territoire ne correspond à aucune option, ou si ImagePME refuse d'afficher un résultat pour cause de secret statistique (échantillon trop petit) — dans ce dernier cas, réessaie avec un niveau géographique ou sectoriel plus large.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
anneeYes
formatNoexcel
periodeYes
secteurNo
niveau_geoNonational
territoireNo
periodiciteYes
niveau_sectorielNotous

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so richly: it discloses that each response returns ~12 months / ~11 trimesters of history, that July+August are merged as '07+08', the per-request latency, and that results can be refused under secret statistique with a recommended widening retry. Nothing about the operation's runtime behavior is hidden.

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?

Front-loaded with the core definition, then the key usage warning, then Args/Returns/Raises — a clean structure where every block adds information. It is on the long side, and the Args section partly restates parameter names already in the schema, but the added semantic detail justifies the length.

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?

For an 8-parameter tool with zero schema coverage, no annotations and an output schema, the description supplies everything needed: conditional requirements, accepted value formats, the return shape (file path plus Excel table with échantillon/ICA/ICAC per period) and error handling. An agent can invoke it correctly without further inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: it enumerates valid values for periodicite, niveau_sectoriel, niveau_geo and format, gives an annee example, and explains that secteur/territoire accept NAF codes, keywords or full labels with fuzzy-matching plus a disambiguation error path. Conditional requirements (secteur required unless niveau_sectoriel='tous') are stated explicitly.

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?

States a specific resource and metric: 'Indicateurs TVA (ICA/ICAC) d'ImagePME : variation du chiffre d'affaires', and defines both indicators (ICA = variation vs. same period last year, ICAC = cumulative year-to-date). It does not name or differentiate itself from the sibling get_indicateurs_tdfc, so it falls short of a 5.

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?

Explicitly tells the agent how to query economically ('une seule requête suffit', 'interroge UNIQUEMENT la période la plus récente'), warns against a request per period, and gives a ~1 minute cost. It also prescribes recovery behavior for both failure modes (ambiguous keyword, secret statistique), which is exactly when-to-use guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools