Skip to main content
Glama

Edit custom exercise

update_exercise
DestructiveIdempotent

Edit one of the user's OWN custom exercises: name, category, muscles, equipment, instructions, video link (admins only), laterality (unilateral = one side at a time) and load_type (per_hand / total / bodyweight; volume of past sets is recalculated). Library exercises are shared and read-only: to log something differently, create a custom exercise and move the sets there with move_workout_sets.

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": {
      "exercise": "<exercise>"
    },
    "name": "update_exercise"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
categoryNo
exerciseYesExercise id (preferred) or exact name
equipmentNo
load_typeNo
video_urlNo
lateralityNo
instructionsNo
primary_musclesNo
secondary_musclesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so safety is partly covered; the description adds real context beyond them: changing load_type recalculates volume of past sets, and video_url is admin-only. It does not state whether omitted fields are left untouched or overwritten, which matters most for a destructive edit.

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 sentences, scoping constraint front-loaded before the field list and the fallback path. The dense parentheticals (laterality and load_type definitions) are efficient but make the middle sentence harder to scan.

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 10-parameter destructive mutation with no output schema and near-zero schema documentation, this covers the field semantics, the auth constraint, and the recalculation side effect. The main remaining gap is patch-vs-replace behavior for omitted fields, plus any validation or error behavior.

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?

With only 10% schema description coverage, the description carries the burden and mostly succeeds: it glosses laterality ('unilateral = one side at a time'), defines the load_type values (per_hand / total / bodyweight) with their effect, and restricts video link to admins. It does not mention that 'exercise' accepts an id or exact name, which the schema does document.

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 ('Edit') and a precisely scoped resource ('one of the user's OWN custom exercises'), then enumerates the editable fields. It also draws the boundary against library exercises, which the agent can use to tell this apart from create_exercise or read tools 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 Guidelines5/5

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

Explicitly covers when to use it (own custom exercises), when not to (library exercises are shared and read-only), and what to do instead (create a custom exercise and move sets with move_workout_sets, a named sibling). Nothing is left to inference.

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