Skip to main content
Glama

Supprimer un élément

dandori_delete
DestructiveIdempotent

Supprimer définitivement un élément, sans retour possible : demande confirmation avant. parent_id est obligatoire pour subtask (ID de la tâche), list_item (ID de la liste), contact_interaction (ID de le contact), milestone (ID de le projet), key_result (ID de l'objectif), contract_update (ID de le contrat), contract_witness (ID de le contrat). friendship retire un ami, ou annule ou refuse une demande. Les suppressions dans les modules du plan Plus le demandent

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entity": "<entity>",
      "id": "<id>"
    },
    "name": "dandori_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID de l'élément
entityYesType de l'élément
parent_idNoID du parent, pour les entités qui en ont un (voir la description)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / entity / enum
      Previous value: -[
      -  "task",
      -  "subtask",
      -  "project",
      -  "goal",
      -  "note",
      -  "wish",
      -  "inbox",
      -  "list",
      -  "list_item",
      -  "routine",
      -  "transaction",
      -  "contact",
      -  "contact_interaction",
      -  "important_date",
      -  "subscription",
      -  "learning_item",
      -  "home_item",
      -  "maintenance_task",
      -  "screen_time",
      -  "task_template",
      -  "milestone",
      -  "key_result",
      -  "budget_category",
      -  "recurring_expense",
      -  "contract",
      -  "contract_update",
      -  "contract_witness",
      -  "learning_session",
      -  "learning_quote",
      -  "dare_ladder",
      -  "dare",
      -  "maintenance_log",
      -  "tag",
      -  "link",
      -  "task_status",
      -  "timer_session",
      -  "friendship",
      -  "calorie_entry",
      -  "weight_entry",
      -  "exercise",
      -  "workout_template",
      -  "workout",
      -  "meal"
      -]New value: +[
      +  "task",
      +  "subtask",
      +  "project",
      +  "goal",
      +  "note",
      +  "wish",
      +  "inbox",
      +  "list",
      +  "list_item",
      +  "routine",
      +  "transaction",
      +  "contact",
      +  "contact_interaction",
      +  "important_date",
      +  "subscription",
      +  "learning_item",
      +  "home_item",
      +  "maintenance_task",
      +  "screen_time",
      +  "task_template",
      +  "note_template",
      +  "milestone",
      +  "key_result",
      +  "budget_category",
      +  "recurring_expense",
      +  "contract",
      +  "contract_update",
      +  "contract_witness",
      +  "learning_session",
      +  "learning_quote",
      +  "dare_ladder",
      +  "dare",
      +  "fact",
      +  "maintenance_log",
      +  "tag",
      +  "link",
      +  "task_status",
      +  "timer_session",
      +  "friendship",
      +  "calorie_entry",
      +  "weight_entry",
      +  "exercise",
      +  "workout_template",
      +  "workout",
      +  "meal"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / entity / enum
      Previous value: -[
      -  "task",
      -  "subtask",
      -  "project",
      -  "goal",
      -  "note",
      -  "wish",
      -  "inbox",
      -  "list",
      -  "list_item",
      -  "routine",
      -  "transaction",
      -  "contact",
      -  "contact_interaction",
      -  "important_date",
      -  "subscription",
      -  "learning_item",
      -  "home_item",
      -  "maintenance_task",
      -  "screen_time",
      -  "task_template",
      -  "milestone",
      -  "key_result",
      -  "budget_category",
      -  "recurring_expense",
      -  "contract",
      -  "contract_update",
      -  "contract_witness",
      -  "learning_session",
      -  "learning_quote",
      -  "maintenance_log",
      -  "tag",
      -  "link",
      -  "task_status",
      -  "timer_session",
      -  "friendship",
      -  "calorie_entry",
      -  "weight_entry",
      -  "exercise",
      -  "workout_template",
      -  "workout",
      -  "meal"
      -]New value: +[
      +  "task",
      +  "subtask",
      +  "project",
      +  "goal",
      +  "note",
      +  "wish",
      +  "inbox",
      +  "list",
      +  "list_item",
      +  "routine",
      +  "transaction",
      +  "contact",
      +  "contact_interaction",
      +  "important_date",
      +  "subscription",
      +  "learning_item",
      +  "home_item",
      +  "maintenance_task",
      +  "screen_time",
      +  "task_template",
      +  "milestone",
      +  "key_result",
      +  "budget_category",
      +  "recurring_expense",
      +  "contract",
      +  "contract_update",
      +  "contract_witness",
      +  "learning_session",
      +  "learning_quote",
      +  "dare_ladder",
      +  "dare",
      +  "maintenance_log",
      +  "tag",
      +  "link",
      +  "task_status",
      +  "timer_session",
      +  "friendship",
      +  "calorie_entry",
      +  "weight_entry",
      +  "exercise",
      +  "workout_template",
      +  "workout",
      +  "meal"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / entity / enum
      Previous value: -[
      -  "task",
      -  "subtask",
      -  "project",
      -  "goal",
      -  "note",
      -  "wish",
      -  "inbox",
      -  "list",
      -  "list_item",
      -  "routine",
      -  "transaction",
      -  "contact",
      -  "contact_interaction",
      -  "important_date",
      -  "subscription",
      -  "learning_item",
      -  "home_item",
      -  "maintenance_task",
      -  "screen_time",
      -  "task_template",
      -  "milestone",
      -  "key_result",
      -  "budget_category",
      -  "recurring_expense",
      -  "contract",
      -  "contract_update",
      -  "contract_witness",
      -  "learning_session",
      -  "learning_quote",
      -  "maintenance_log",
      -  "tag",
      -  "link",
      -  "task_status",
      -  "timer_session",
      -  "friendship",
      -  "calorie_entry",
      -  "weight_entry",
      -  "exercise",
      -  "workout_template",
      -  "workout"
      -]New value: +[
      +  "task",
      +  "subtask",
      +  "project",
      +  "goal",
      +  "note",
      +  "wish",
      +  "inbox",
      +  "list",
      +  "list_item",
      +  "routine",
      +  "transaction",
      +  "contact",
      +  "contact_interaction",
      +  "important_date",
      +  "subscription",
      +  "learning_item",
      +  "home_item",
      +  "maintenance_task",
      +  "screen_time",
      +  "task_template",
      +  "milestone",
      +  "key_result",
      +  "budget_category",
      +  "recurring_expense",
      +  "contract",
      +  "contract_update",
      +  "contract_witness",
      +  "learning_session",
      +  "learning_quote",
      +  "maintenance_log",
      +  "tag",
      +  "link",
      +  "task_status",
      +  "timer_session",
      +  "friendship",
      +  "calorie_entry",
      +  "weight_entry",
      +  "exercise",
      +  "workout_template",
      +  "workout",
      +  "meal"
      +]
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds real context beyond them: the deletion is irreversible ('sans retour possible'), a confirmation prompt intervenes, and Plus-plan modules impose additional preconditions. It stops short of saying whether child records cascade or what happens on failure, which is the main remaining behavioral gap for a destructive tool.

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 irreversible nature and confirmation requirement are front-loaded before the mechanical parent_id mapping, which is the right order for a destructive tool. The enumeration is dense but each mapping carries unique information; only the final Plus-plan sentence is genuinely vague and could be tightened.

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?

For a three-parameter destructive tool with no output schema and a 44-value entity enum, the definition covers the essentials: irreversibility, the confirmation step, per-entity parent_id requirements, and the friendship special case. Combined with annotations that already flag destructiveness and idempotency, an agent has enough to invoke it 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 the baseline is 3, and the description earns more by mapping each child entity to the meaning of parent_id (task ID for subtask, list ID for list_item, contract ID for contract_update/witness, and so on) — the schema itself defers to the description for this. It also clarifies that for friendship the id resolves to a friend or pending request rather than a plain record.

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 opening states a specific verb and resource ('Supprimer définitivement un élément') and the entity enum makes the deletion surface explicit. It never distinguishes itself from the closely overlapping sibling dandori_delete_task, so an agent facing a task deletion has no textual reason to pick one over the other.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Conditional guidance is present and useful: confirmation is demanded before deletion, parent_id is obligatory for the enumerated child entities, and friendship has its own accept/decline-cancel semantics. What is missing is any when-to-use/when-not-to-use framing against alternatives, and the trailing sentence about Plus-plan modules is too vague to be actionable.

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