Skip to main content
Glama

Save own exercise

save_exercise
Destructive

Name an exercise of the person's own, or with id change one. Search list_exercises first and save a new one only when nothing there fits, never for a movement Splot already has under another name. A new exercise needs name, measure and equipment; with id, only what you pass changes and null clears description or note. Splot's own exercises cannot be changed. Muscles shade the person's muscle map, so name the groups the movement really works. Confirm only after success.

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": "save_exercise"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoOnly to change one of the person's own exercises, as list_exercises returned it; leave out for a new one
nameNoWhat the person calls it; needed for a new exercise
noteNoThe person's own note to themselves about it
helpsNoMuscle groups that help
partsNoPrecise muscles within those groups, where the person cares, such as sideDelts
sidedNotrue when it is done one side at a time
measureNoHow a set is logged: weight for a weight and reps, reps with the body as the load, time for seconds held. Needed for a new exercise, and never changed on one already used
musclesNoThe main muscle groups it works
equipmentNoWhat it is done with; needed for a new exercise
descriptionNoHow it is done, in a few short lines

Output Schema

NameRequiredDescriptionDefault
idYes
ownYes
nameYes
noteYes
helpsYes
partsYes
sidedYes
measureYes
musclesYes
equipmentYes
descriptionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / equipment / enum
      Previous value: -[
      -  "barbell",
      -  "dumbbell",
      -  "machine",
      -  "cable",
      -  "kettlebell",
      -  "bodyweight",
      -  "pullUpBar",
      -  "rings",
      -  "parallettes",
      -  "dipBars",
      -  "band"
      -]New value: +[
      +  "barbell",
      +  "dumbbell",
      +  "machine",
      +  "cable",
      +  "kettlebell",
      +  "bodyweight",
      +  "pullUpBar",
      +  "rings",
      +  "parallettes",
      +  "dipBars",
      +  "band",
      +  "ball",
      +  "suspension",
      +  "sled",
      +  "other"
      +]
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, openWorldHint=false), the description discloses patch semantics — with an id only the passed fields change and null clears description or note — plus the ownership restriction on Splot's own exercises and the instruction to confirm only after success. This is exactly the context the annotations alone would not convey.

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?

The create-vs-update split is front-loaded and every sentence carries a rule the agent needs. It is dense and reads slightly as a run-on, but there is no filler to cut.

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

Completeness5/5

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

For a 10-parameter tool with an output schema, it covers the pieces an agent cannot infer: creation requirements, partial-update and null-clearing behavior, the immutability of Splot's own exercises, and when to prefer list_exercises. Nothing needed to call it correctly is missing.

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 100%, so the baseline is 3, but the description adds conditional requirements the schema cannot express because required is empty: name, measure and equipment are needed for a new exercise, and measure is never changed on an exercise already used. It also explains the practical effect of muscles on the person's muscle map.

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?

The first sentence states a specific verb and resource and splits the two modes cleanly: create a personal exercise, or pass an id to modify one. An agent can tell this apart from list_exercises without reading either 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?

Explicit when-to-use guidance: search list_exercises first, create only when nothing fits, and never create a duplicate of a movement Splot already has under another name. It also states the negative case that Splot's own exercises cannot be changed.

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