Skip to main content
Glama

Create workout template

create_workout_template

Create a reusable routine. Exercise names are fuzzy-matched to the library (resolve them with list_exercises first when unsure). Omitted weights are filled from the user's history (suggest_weights=false to leave them empty).

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": {
      "name": "<name>",
      "exercises": "<exercises>"
    },
    "name": "create_workout_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYese.g. 'Upper A', 'Lower B'
notesNo
exercisesYes
suggest_weightsNoFill omitted weights from the user's history (default true)
create_missing_exercisesNoCreate custom exercises for names with no match (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare it is a non-idempotent, non-destructive write with no external side effects. The description goes further, disclosing two non-obvious behaviors: fuzzy name matching against an exercise library and automatic backfilling of omitted weights from user history. It omits any mention of create_missing_exercises, the other side-effecting flag.

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?

Three compact sentences: purpose first, then the two behavioral caveats an agent would otherwise get wrong. Every clause carries information and there is no restatement of the tool name.

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 complex nested-exercise creation tool with no output schema, it covers the main ambiguity points (name resolution, weight defaulting). A missing piece is that nested exercise entries can also be created via create_missing_exercises, and there is no hint about what the call returns.

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 60% schema coverage, the description usefully adds meaning for suggest_weights (what it defaults to and how to turn it off) and for the exercise name field (fuzzy matched, with list_exercises as the resolution path). It adds nothing for create_missing_exercises beyond the schema's own description, and says nothing about name/notes.

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?

The opening verb+resource phrase 'Create a reusable routine' is specific and immediately distinguishes this from session-logging or planning siblings. It stops short of saying 'workout template' in the body, relying on the title for the exact noun, but the intent is unambiguous.

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?

It gives explicit pre-call guidance: resolve names via list_exercises first when unsure, and set suggest_weights=false to suppress history-based filling. It does not contrast against plan_workout or log_workout, so the agent must infer that this persists a template rather than scheduling or recording one.

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