Skip to main content
Glama

Remove planned entries

delete_plan
Destructive

Remove several planned workouts and meals at once, such as a plan the person wants taken back: pass the ids save_plan or the list tools returned. Only entries still planned are removed; anything done, eaten or not found is listed in kept and left as it is. Use this rather than deleting planned entries one by one, and only when the person asks.

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": "delete_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
mealsNoIds of planned meals to remove, as save_plan or list_meals returned them
workoutsNoIds of planned workouts to remove, as save_plan or list_workouts returned them

Output Schema

NameRequiredDescriptionDefault
keptYes
removedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds non-obvious partial-success semantics: only entries still in 'planned' status are removed, while done, eaten, or missing ids come back in 'kept' and are left untouched. That is exactly the kind of outcome behavior an agent needs before calling 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.

Conciseness5/5

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

Three dense sentences: scope first, then what-gets-skipped behavior, then the usage rule. Every sentence carries distinct information and nothing is repeated.

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?

With an output schema present the description needn't enumerate return fields, yet it still names 'kept' so the agent understands the result shape. For a two-parameter destructive batch tool, nothing needed to call it correctly is missing.

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?

Schema coverage is 100% and both array parameters already document their id provenance ('as save_plan or list_meals returned them'). The description's 'pass the ids save_plan or the list tools returned' largely repeats that, adding no cardinality or format detail beyond the schema's maxItems constraints.

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 with explicit batch scope: 'Remove several planned workouts and meals at once.' An agent can distinguish it from the single-entry delete_meal/delete_workout siblings without opening the schema.

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

Usage Guidelines5/5

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

Gives both a positive trigger (a plan the person wants taken back) and a negative constraint ('only when the person asks'), plus an explicit alternative: use this rather than deleting planned entries one by one. The routing decision is fully 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