Skip to main content
Glama

Delete workout

delete_workout
Destructive

Delete one of the person's workouts, planned or logged, when they ask. This cannot be undone here. To change a workout, use update_workout instead of deleting and creating it again.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe workout's id, as list_workouts or create_workout returned it

Output Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/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 is not carrying the safety burden alone; it still adds the explicit 'This cannot be undone here' confirmation and clarifies that both planned and logged workouts are affected. It does not say whether dependent logged data (sets, history) is cascaded or what authorization is needed, which keeps it below 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.

Conciseness5/5

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

Three short sentences, front-loaded with the action and scope, followed by the irreversibility warning and then the alternative. No filler, and each sentence carries distinct 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?

For a single-parameter destructive tool with an output schema and full annotation coverage, the description covers purpose, irreversibility, and the correct alternative. The only gap is downstream effects of deletion (whether workout contents or history are also removed), which an agent might reasonably want to know.

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?

Only one parameter, and the schema already documents it at 100% coverage, including the provenance hint that the id comes from list_workouts or create_workout. The description adds nothing about the id beyond the schema, so the baseline 3 applies.

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 (delete) and resource (workout) and scopes it precisely to 'planned or logged' workouts, which tells an agent this covers both workout types rather than a single category. A reader can separate it from update_workout, create_workout, and list_workouts without opening any 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 an explicit when ('when they ask'), an explicit when-not with the named alternative ('To change a workout, use update_workout instead of deleting and creating it again'), and thereby steers away from the delete-then-recreate antipattern. This is the strongest form of routing guidance.

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