Skip to main content
Glama

get_risque_inspection

Retourne une estimation du niveau de risque d'inspection DDPP pour un type d'établissement dans un département français donné. Basé sur les données publiques Alim'confiance (fréquence des inspections par département et type d'activité), les statistiques DGCCRF (nombre de contrôles annuels), et les périodes connues d'intensification des contrôles (été pour les restaurants, fêtes pour les boulangers/traiteurs, rentrée pour la restauration collective). Retourne un score de risque (faible/moyen/élevé), les mois à risque, la fréquence moyenne d'inspection dans le département, et des recommandations concrètes. Conçu pour l'automatisation : un agent IA peut appeler ce tool trimestriellement pour ajuster la vigilance.

[EN] Returns an estimated DDPP inspection risk level for a given establishment type in a French department. Based on public Alim'confiance data (inspection frequency by department and activity type), DGCCRF statistics, and known inspection surge periods (summer for restaurants, holidays for bakers/caterers, back-to-school for school catering). Returns a risk score, high-risk months, average inspection frequency, and actionable recommendations. Required 'type_etablissement' and 'departement'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
departementYesCode département français (ex: '75', '13', '2A', '971'). Obligatoire.
type_etablissementYesType d'établissement. Valeurs : 'restaurant', 'boulangerie', 'boucherie', 'fromagerie', 'poissonnerie', 'traiteur', 'glacier', 'pizzeria', 'patisserie', 'collectivite'.
dernier_controle_ddppNoDate ISO (YYYY-MM-DD) du dernier contrôle DDPP. Optionnel — affine le score de risque et la probabilité de contrôle.

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full transparency burden. It clearly discloses what the tool returns (risk score, high-risk months, average frequency, recommendations) and the underlying data sources (Alim'confiance, DGCCRF), which gives the agent a solid understanding of the tool's behavior. It falls short of explicitly stating it is a read-only operation, but this is strongly implied by the 'get' verb and the estimation nature.

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 description is front-loaded with the core purpose and provides structured output details. It is duplicated in French and English, which adds length, but each language version is clear and the bilingual approach may serve multilingual agents. No unnecessary filler is present.

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 tool with no output schema and no annotations, the description gives a comprehensive picture: it lists all output components, cites data sources, explains the underlying logic (surge periods), and provides automation context. It does not specify the exact return data structure or error handling, but the described output fields are sufficient for an agent to understand and invoke the tool correctly.

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 description coverage is 100%, so the baseline is 3. The description repeats that 'type_etablissement' and 'departement' are required but adds no additional meaning beyond the schema descriptions, which already explain the department code format, allowed establishment types, and that 'dernier_controle_ddpp' is optional and refines the risk score.

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 clearly states the tool returns an estimated DDPP inspection risk level for a given establishment type in a French department. It specifies the output components (risk score, high-risk months, frequency, recommendations) and distinguishes itself from sibling tools like get_alimconfiance_etablissement or get_score_alimconfiance by focusing on a composite risk estimate based on multiple data sources.

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?

The description provides clear usage context, explicitly noting it is designed for automation and should be called quarterly to adjust vigilance. It does not explicitly exclude alternatives or compare with sibling tools, but the automated quarterly cadence gives a concrete when-to-use scenario.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Most tools have a clearly distinct purpose, but there are a few potentially confusable pairs: get_haccp_temperatures vs get_temperatures_cuisson, get_score_alimconfiance vs get_alimconfiance_etablissement, and get_rappels_produits_actifs vs get_rappels_par_categorie_etablissement. The descriptions explicitly cross-reference these, reducing ambiguity, but an agent could still misselect without careful reading.

Naming Consistency4/5

18 of 19 tools follow the consistent 'get_' + noun pattern (e.g., get_actions_correctives, get_seuils_microbiologiques). The lone exception is 'compare_solutions_haccp', which uses a different verb but still follows a verb_noun structure. This minor deviation keeps the set mostly predictable.

Tool Count3/5

With 19 tools, the count sits in the borderline-heavy range (16-25). The breadth is justified for a comprehensive HACCP regulatory assistant, but some tools like compare_solutions_haccp feel peripheral to the core compliance theme, making the set feel slightly overstuffed.

Completeness4/5

The set covers the HACCP domain extensively: temperatures, cooking, DLC, allergens, recalls, cleaning plans, checklists, corrective actions, DDPP documents, sanctions, training, and Alim'confiance. Minor gaps exist, such as no tool for generating a full HACCP plan document or tracking ongoing temperature logs, but for an informational/regulatory lookup server, coverage is strong.

Resources