Skip to main content
Glama

Simple Muscle

Discard workout draft

discard_workout_proposal
Destructive

Use this when the user chooses to discard an unsaved draft. Marks the pending draft discarded with no restore operation; the saved workout and completed history remain unchanged.

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": {
      "proposal_id": "<proposal_id>",
      "version": "<version>"
    },
    "name": "discard_workout_proposal"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionYes
proposal_idYes

Output Schema

NameRequiredDescriptionDefault
discardedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the destructive nature is declared. The description adds genuinely new behavior: the discard is irreversible ('no restore operation') and its blast radius excludes the saved workout and completed history. Missing only a note on stale-version failure behavior.

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 sentences, front-loaded with the selection trigger followed by the consequence. No redundant restatement of the name or title and nothing that could be cut without losing information.

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?

An output schema exists, so return values need not be described, and the destructive scope is well covered. However, with zero schema description coverage on the two required parameters, an agent could call this with a stale version and get an unexplained failure that the description does not anticipate.

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?

Schema description coverage is 0% for two required parameters, and the description never explains proposal_id or why version is required (likely an optimistic-concurrency guard). The schema's min/max constraints stand in for documentation, so the description adds no parameter meaning of its own.

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: marks the pending draft discarded, scoped to unsaved drafts. It implicitly contrasts with the saved workout ('the saved workout and completed history remain unchanged'), which helps separate it from apply_workout_proposal or delete_workout, though no sibling is named explicitly.

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 a clear triggering condition ('when the user chooses to discard an unsaved draft'), which is the decisive context for selecting this over applying or updating a proposal. It does not spell out when-not-to-use or name the alternative tool if the user wants to keep the draft.

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