Skip to main content
Glama

Frigolog HACCP — French Food Safety Compliance

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.4/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 burden. It discloses data sources (Alim'confiance, DGCCRF, seasonal patterns), the optional parameter that refines risk, and what the return includes. No contradictions. It could mention limitations like data timeliness or scope.

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 comprehensive but slightly verbose with dual-language paragraphs. It front-loads the purpose and then provides details. Every sentence adds information, but could be tightened to reduce redundancy between French and English.

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?

Given no output schema, the description fully explains the return: risk score, high-risk months, average inspection frequency, and recommendations. For a tool with 3 parameters (2 required) and clear domain, this is complete enough for an agent to use correctly.

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 baseline is 3. The description adds value by explaining how `dernier_controle_ddpp` refines the risk score and probability, which is beyond the schema's type/required info. It also lists valid values for `type_etablissement` in the description, partially duplicating schema.

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 specific establishment type in a French department, using a specific verb 'Retourne' and specifying the resource (risk level). It distinguishes from siblings by focusing on risk estimation rather than other food safety aspects.

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 usage context: designed for automation, can be called quarterly. However, it does not explicitly state when not to use it or how it contrasts with sibling tools like `get_score_alimconfiance` or `get_calendrier_obligations`. The recommended call frequency is helpful.

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 distinct purposes, but there is potential confusion between get_haccp_temperatures and get_temperatures_cuisson (both about temperatures, but one storage/cooling, one cooking) and between get_rappels_produits_actifs and get_rappels_par_categorie_etablissement (the latter is a filtered version of the former). Nonetheless, descriptions clarify the differences.

Naming Consistency4/5

The naming convention is almost entirely 'get_<noun>', which is consistent. The exception is 'compare_solutions_haccp' which uses 'compare_' instead of 'get_', breaking the pattern. This is a minor inconsistency.

Tool Count5/5

19 tools cover a comprehensive range of HACCP-related topics for French catering. Each tool addresses a specific need without excessive overlap, and the number is well within the ideal 3-15 range, earning a high score.

Completeness5/5

The tool set covers all major aspects of HACCP compliance in France: training, temperatures, cleaning plans, recalls, inspection risk, sanctions, allergens, DLC rules, etc. There are no obvious gaps for an informational/retrieval tool of this nature.