Skip to main content
Glama

get_calendrier_obligations

Retourne le calendrier des obligations réglementaires HACCP à venir pour un établissement, basé sur les dates de ses dernières actions : date de dernière formation HACCP (obligation de recyclage tous les X ans), date de dernier contrôle DDPP (fréquence moyenne des inspections par type et département), date de dernier audit interne, date de dernier changement de Plan de Maîtrise Sanitaire. Pour chaque obligation, retourne la date prévisionnelle, le niveau d'urgence (vert/orange/rouge), et l'action recommandée. Conçu pour l'automatisation : un agent IA peut appeler ce tool chaque semaine et alerter le gérant des échéances à venir.

[EN] Returns the calendar of upcoming HACCP regulatory obligations for an establishment, based on dates of last actions: last HACCP training (renewal obligation), last DDPP inspection (average inspection frequency by type and department), last internal audit, last PMS update. For each obligation, returns the estimated due date, urgency level (green/orange/red), and recommended action. Designed for automation. Required 'type_etablissement'; optional last-action dates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
departementNoCode département français (ex: '75', '2A', '971'). Optionnel, informatif.
dernier_maj_pmsNoDate ISO (YYYY-MM-DD) de la dernière mise à jour du Plan de Maîtrise Sanitaire. Optionnel.
type_etablissementYesType d'établissement (pour la fréquence d'inspection DDPP). Valeurs : 'restaurant', 'boulangerie', 'boucherie', 'fromagerie', 'poissonnerie', 'traiteur', 'glacier', 'pizzeria', 'patisserie', 'collectivite'.
dernier_audit_interneNoDate ISO (YYYY-MM-DD) du dernier audit interne du PMS. Optionnel.
dernier_controle_ddppNoDate ISO (YYYY-MM-DD) du dernier contrôle DDPP. Optionnel.
derniere_formation_haccpNoDate ISO (YYYY-MM-DD) de la dernière formation/recyclage hygiène HACCP. Optionnel.

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 full burden. It explains the computation basis (last training, DDPP control, internal audit, PMS update) and the output (due date, urgency, recommended action), making it clear this is a read-only calculation. It also mentions the automation use case, adding behavioral context beyond a simple query.

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 main purpose and provides essential details in four sentences, plus an English translation. It is appropriately sized for the complexity, though the bilingual duplication adds some length without redundancy in meaning.

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?

The description covers the purpose, inputs, computation logic, and output fields, which is sufficient for an agent to understand the tool. Minor gaps include the role of the optional department parameter (marked 'informatif' but used in frequency calculation) and default behavior when dates are missing, but overall it is complete enough.

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%, providing a baseline of 3. The description adds semantic value by explaining how each date is used (e.g., renewal interval, inspection frequency) and stating that type_etablissement is required while other dates are optional, enriching the schema with usage context.

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 it returns a calendar of upcoming HACCP obligations for an establishment, using the specific verb 'retourne' and identifying the resource. It distinguishes from sibling tools by focusing on the aggregated calendar based on last-action dates, with explicit details about the calculation inputs and output fields.

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 explicitly states it is designed for automation and suggests weekly calls to alert the manager, providing clear usage context. However, it does not explicitly compare itself to alternatives like get_formation_haccp_obligatoire or get_risque_inspection, so it falls short of a 5.

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