Skip to main content
Glama

delete_routine

Destructive

Deleting a routine removes it from weekdays, planned dates, and rotation while preserving logged workout history; it syncs across devices and is skipped in active rounds.

Instructions

Delete a routine, as the app does: it is also taken off every weekday and every date it was planned on. Logged workouts keep their history. Like the app, it stays listed in the rotation and the running round, where it is skipped; deleting the last routine of a round leaves the round unusable (the app then offers to discard it). openGym records the deletion, so every updated device drops the entry too; it comes back only from a device still on openGym 1.3.9 with unsynced changes, or from a device that edits the entry after the deletion before it syncs.

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, so the bar is low, yet the description adds substantial context: logged workouts retain history, the routine remains in rotation/round as skipped, deleting the last routine leaves a round unusable, and deletion syncs to all devices with a documented resurrection edge case. This is exactly the side-effect disclosure a mutation tool needs.

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

Conciseness3/5

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

The core consequence is front-loaded in the first sentence, but the prose is dense and run-on, and the final openGym 1.3.9 / unsynced-changes edge case is highly niche detail for a calling agent. Some sentences earn their place; others over-specify.

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 no output schema and annotations covering only the safety profile, the description carries the behavioral burden well: it documents destruction scope, persistence of history, and cross-device sync effects. It stops short of auth/permission or failure-mode details, but is otherwise complete for a delete tool.

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

Parameters2/5

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

Schema description coverage is 0% for the single required 'id' parameter, and the description never mentions the identifier at all — no format, source, or example. With low coverage the description is expected to compensate, and it does not.

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+resource ('Delete a routine') and immediately clarifies scope: it is also removed from every weekday and date it was planned on. An agent can distinguish it from sibling deletes (delete_workout, delete_custom_exercise) and from write_routine without opening a schema.

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

Usage Guidelines2/5

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

The description explains what deletion does but never states when to use this tool versus alternatives (write_routine, write_copy_routine) or what prerequisites exist. There is no when/when-not guidance and no named alternative, so the agent must infer usage entirely from the name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.