Skip to main content
Glama

delete_plan

Destructive

Delete a coaching plan (blocked while it has live subscribers — deactivate instead). (confirm-gated: previews until confirm: true)

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": {
      "planId": "<planId>"
    },
    "name": "delete_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
planIdYes
confirmNoMust be true to actually execute. If false/omitted, returns a preview only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only flag destructiveHint=true; the description adds substantive preconditions (live subscribers block deletion) and the two-phase confirm-gated preview behavior, which the agent cannot infer from annotations. It stops short of stating irreversibility or whether subscribers/history are cascade-removed.

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 tight clauses with the destructive action, the blocking precondition, the alternative, and the confirm gate all front-loaded. Zero filler.

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 two-param destructive tool with no output schema, the description covers the key risks: blocking condition, safe alternative, and confirmation flow. Missing only permanence/cascade details and how to obtain planId.

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?

With 50% schema coverage, the description compensates by naming the gating flag semantics ('previews until confirm: true'), reinforcing the schema-documented confirm parameter. planId is only implied as 'a coaching plan' identifier and its source/format is not described.

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?

States a specific verb+resource ('Delete a coaching plan') and adds a scope/blocking condition that distinguishes it from generic plan mutations in siblings like set_plan_active or update_plan_prices. It does not explicitly distinguish itself from delete_diet_plan/delete_workout_plan, so it stops short of 5.

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 an explicit when-not ('blocked while it has live subscribers') and names the alternative ('deactivate instead'), which maps to a real sibling behavior. It doesn't spell out what to do in other edge cases, but the primary decision path is clear.

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.