Skip to main content
Glama

Delete routine

delete_routine
Destructive

Delete one of the person's routines when they ask. The workouts done with it stay in the journal.

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": {
      "id": "<id>"
    },
    "name": "delete_routine"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe routine's id, as list_routines or save_routine returned it

Output Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description earns credit for adding behavior the annotations cannot express: that associated workouts are preserved in the journal. It stops short of stating irreversibility, whether confirmation is expected, or what the response contains, so it is not fully transparent.

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

Conciseness5/5

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

Two short sentences with zero filler, and the core action is front-loaded ahead of the side-effect note. Nothing could be removed without losing information.

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?

With an output schema present and full schema coverage on the only parameter, the description need not explain return values, and the annotations cover the safety profile. The preserved-workouts note closes the main ambiguity for a delete tool; only confirmation/permanence expectations are left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single id parameter with 100% schema description coverage, and the schema already explains it is the id returned by list_routines or save_routine. The description adds no further meaning (no format, no validation, no provenance caveats), so the baseline of 3 applies when the schema does the work.

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?

States a specific verb and resource ("Delete one of the person's routines") and the resource scope is unambiguous against the delete_food/delete_meal/delete_note/delete_workout siblings. The added clause about workouts remaining in the journal further pins down what exactly is removed.

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?

"when they ask" gives a loose trigger condition, which is better than nothing, but there is no explicit when-not guidance and no named alternative for modifying rather than removing a routine (save_routine is the obvious sibling but is not referenced). Usage intent is implied rather than specified.

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