Skip to main content
Glama

Créer ou modifier une routine

dandori_save_routine

Créer une routine (sans id, title et recurrence_type obligatoires) : une habitude à cocher ou une suite d'étapes, répétée chaque jour, certains jours de la semaine ou chaque mois. Avec id, la modifier ; seuls les champs fournis changent, is_active false la met en pause

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_save_routine"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoID de la routine à modifier ; absent pour en créer une
modeNohabit : une seule case à cocher ; steps : une suite d'étapes
timeNoHeure (HH:MM)
stepsNoÉtapes, dans l'ordre (mode steps). En modification, la liste remplace les étapes : une étape absente est retirée
titleNoTitre de la routine (obligatoire à la création)
categoryNoMoment ou thème : morning, health, mind, evening, home
is_activeNoModification : false pour mettre la routine en pause
starts_onNoDate de départ (YYYY-MM-DD) : rien n'est prévu avant. Aujourd'hui ou plus tard, jamais avant la création de la routine
reminder_timeNoHeure d'un rappel (HH:MM), les jours où la routine est prévue, tant qu'elle n'est pas cochée ; null pour le retirer
recurrence_daysNoJours de la semaine, 1 = lundi à 7 = dimanche ; obligatoire avec weekly et custom
recurrence_typeNodaily : chaque jour ; weekly ou custom : les jours de recurrence_days ; monthly : le jour recurrence_day_of_month (obligatoire à la création)
recurrence_day_of_monthNoJour du mois (1 à 31) ; obligatoire avec monthly

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / reminder_time
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Heure d'un rappel (HH:MM), les jours où la routine est prévue, tant qu'elle n'est pas cochée ; null pour le retirer"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent write. The description adds real behavioral context beyond that: modifications are partial ('seuls les champs fournis changent') and is_active false pauses rather than deletes. It does not state what the call returns (e.g., the created id) or any permission requirement, which keeps it from a 5.

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?

One tight paragraph with the create-vs-modify distinction front-loaded and no filler. The parenthetical '(sans id, title et recurrence_type obligatoires)' is slightly compressed and could read ambiguously about whether recurrence_type is required in all cases.

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 12-parameter mutation tool with no output schema, the description covers the essential decisions: create versus edit, partial update semantics, habit versus steps, recurrence types, and pause behavior. Missing are the response shape and a pointer to the delete/toggle alternatives, which are the remaining gaps for an agent choosing among siblings.

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 baseline is 3, and the description goes beyond it by supplying the conditional creation-time requirements (title and recurrence_type) that the schema leaves out given zero required parameters. It reinforces the is_active= false pause semantics, though it adds nothing about id, time, category, or reminder_time beyond the schema text.

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?

The description states a concrete verb and resource ('Créer une routine... Avec id, la modifier') and immediately clarifies the two shapes the routine can take (a habit checkbox or a list of steps) and the recurrence modes. It does not name a sibling such as dandori_toggle_routine, so an agent must infer that pausing via is_active is preferred over toggling through a different tool.

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?

It explicitly splits the two use cases: no id means create (with title and recurrence_type mandatory), with id means modify. That is clear context for selecting the mode, but there is no exclusion guidance—nothing says when to use this instead of dandori_toggle_routine for pausing, or when deletion is the right action instead of setting is_active to false.

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