Skip to main content
Glama

get_indicateurs_tdfc

Download ImagePME TDFC annual tax and financial indicators by sector, revenue bracket, and region/department in Excel or PDF.

Instructions

Télécharge les indicateurs TDFC (données fiscales annuelles) d'ImagePME.

Args: tranche_ca: libellé de la tranche de chiffre d'affaires annuel (défaut : toutes tranches confondues). 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 : pour chaque indicateur du compte de résultat et du bilan, montants moyens et médians sur 3 exercices, évolutions, ratios sur CA, part d'entreprises en hausse/baisse et taille de l'échantillon.

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
formatNoexcel
secteurNo
niveau_geoNonational
territoireNo
tranche_caNoToutes tranches de CA
niveau_sectorielNotous

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.3/5.0
Behavior4/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 well: it discloses that keyword matching may resolve to multiple options and surface a listing error, and that ImagePME can refuse output for statistical secrecy (small sample), with a suggested remedy. It does not mention authentication, rate limits, or whether downloads are cached/overwritten.

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 Args/Returns/Raises structure is front-loaded and scannable, and each section earns its place given the parameter count. It is somewhat long, but the length is justified by six undocumented parameters and non-trivial error behavior.

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 a six-parameter tool with 0% schema coverage, no annotations, and a sibling, the description covers purpose, all parameter semantics, error conditions, and remediation. Even though an output schema exists (so Returns is not strictly necessary), the added field-level detail is harmless and helpful.

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 coverage is 0% and there are 6 parameters, so the description must compensate fully — and it does, documenting every parameter: default values, the allowed niveau_sectoriel values, required-if conditions for secteur/territoire, loose-matching tolerance (NAF codes, keywords, full labels), and format options.

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 verb ('Télécharge') and resource ('indicateurs TDFC, données fiscales annuelles') from a named source (ImagePME). It is naturally distinguished from the sibling get_indicateurs_tva by the TDFC/TVA subject matter, though the description never names the sibling explicitly.

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?

Gives clear conditional context: secteur is required when niveau_sectoriel != 'tous', territoire when niveau_geo != 'national', and it advises retrying with a broader geographic/sectoral level on secret-statistique errors. It does not, however, route the agent between this tool and get_indicateurs_tva.

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