Skip to main content
Glama

Restore a deleted workout

restore_workout

Brings a workout back from the trash.

Input Schema

NameRequiredDescriptionDefault
workoutIdYesId from list_deleted_workouts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is covered; the description's only addition is the "trash" framing. It says nothing about what actually happens after restore (does it return to its original folder/program, is it blocked if the trash expired, what errors surface), which matters for a mutation tool.

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?

One short front-loaded sentence with no padding or repetition. It is efficient, though its brevity comes at the cost of the guidance and behavioral detail noted elsewhere.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple one-parameter mutation with annotations and no output schema, so the description needn't cover return values. Still, it omits the essential precondition (the workout must be in the trash) and the failure mode, leaving the agent to infer basic call semantics.

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?

With 100% schema description coverage and a single required parameter documented as "Id from list_deleted_workouts," the schema does the work. The description adds no meaning about the id's range, format, or behavior when the id is not a deleted workout.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Brings a workout back from the trash" restates the name/title (restore a deleted workout) rather than adding specificity, though "from the trash" does imply recovery of a soft-deleted item. It gives no signal to distinguish this from the sibling restore_program or from list_deleted_workouts.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of the alternative path (list_deleted_workouts to find the id, or create_workout if the user wants a fresh copy). The precondition that the workout must currently be deleted is only implied by the metaphor.

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