Skip to main content
Glama

Delete logged sets

delete_workout_sets
DestructiveIdempotent

Delete logged sets: give set_ids (from get_workout_session), or a session plus an exercise to remove ALL of that exercise's sets in the session. Remaining sets are renumbered. Confirm with the user first when it's more than a set or two.

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

Input Schema

NameRequiredDescriptionDefault
dateNoSession date when using a name (default today)
sessionNoSession id (preferred) or name, when deleting by exercise
set_idsNo
exerciseNoExercise name (fuzzy matched)
exercise_idNoExact exercise id (preferred when known)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the risk profile is known. The description adds genuinely useful behavior beyond that: which scope of data is removed in each mode and that remaining sets are renumbered afterward. It does not describe the return value or what happens when no parameters resolve, leaving some gaps.

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?

Two front-loaded sentences: first the two operating modes, then the side effect and the confirmation rule. Every clause earns its place, with only minor density from packing three concepts into the first sentence.

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?

No required parameters exist, so the description's job is to convey that exactly one of the two input paths must be used, which it does. With no output schema, the omission of return details is a minor gap for a destructive bulk tool.

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 80%, so the schema carries most documentation. The description still adds real meaning by explaining how set_ids and the session+exercise combination relate (two mutually exclusive paths) and where set_ids come from, which the schema does not state.

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 and resource ('Delete logged sets') and immediately clarifies the two deletion modes: by set_ids, or by session+exercise to remove all of that exercise's sets. It is clearly distinct from neighboring mutation tools like move_workout_sets and update_workout_set, though it does not name an alternative directly.

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 concrete when-to-use guidance for each mode, points the agent at get_workout_session as the source of set_ids, and adds a confirmation rule for bulk deletions. It stops short of naming exclusions or which sibling to prefer when the user wants to edit rather than remove sets.

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