Skip to main content
Glama

Lire les repas

dandori_get_meals
Read-onlyIdempotent

Lire le module Repas. preferences (par défaut) : ce que tout menu doit respecter (régime, exclusions, allergies, aliments pas aimés, personnes à table, repas et jours à prévoir, temps de cuisine en semaine et le week-end, budget, consignes libres), la cible de calories du jour et par personne (target ; closed_to_ai si Santé reste fermé à l'IA) et les plats des deux semaines passées (recent_titles, pour varier). week : le menu d'une semaine, ses repas avec leurs ID, sa liste de courses et son contrôle (calories de chaque jour face à la part de la cible que prennent ses repas prévus, cases vides, alertes sur les préférences). Avant de proposer ou d'écrire un menu, lis toujours preferences.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dandori_get_meals"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoCe qu'il faut lire ; preferences par défaut
week_startNoAvec week : une date de la semaine (YYYY-MM-DD), par défaut la semaine en cours

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is settled. The description adds genuinely useful behavior beyond that: 'closed_to_ai' when Health stays closed to AI, and a per-day calorie control with empty slots and preference alerts. It stops short of describing size, pagination or failure modes, so a 3 is fair given the annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose, but the body is one long parenthetical-heavy sentence that is hard to scan, and the most actionable instruction ('toujours lire preferences avant de proposer ou écrire un menu') is buried at the end. The content is mostly information-dense rather than padding, but the structure works against quick parsing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must carry the return-value burden, and it does describe both payloads at a conceptual level. However, for a tool whose main risk is misreading the preferences contract before writing a menu, it leaves the exact field shapes and the meaning of the control/alert results underspecified.

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 the enum values are already documented; the description still goes further by spelling out what each view actually returns (preferences payload vs week menu with meal IDs, shopping list and control), which helps the agent pick the right view. It adds little on week_start beyond the schema's 'a date in the week, defaults to current week'.

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?

Opens with a specific verb+resource ('Lire le module Repas') and enumerates the two readable views, so an agent immediately knows this is a read tool for the meals domain, distinct from the many other dandori_get_* siblings (community, contract, fitness, project).

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 a concrete rule: read 'preferences' always before proposing or writing a menu, and signals 'preferences' as the default view. It implies 'week' is for inspecting one week's menu but does not state exclusions or contrast with any specific alternative tool, so it falls short of a full when/when-not treatment.

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.

Resources