Skip to main content
Glama

Suggest a saved workout

propose_saved_workout
Idempotent

Suggest a named workout for the person to keep and start whenever they like ("Leg day"), rather than a session on one day (that is propose_workout). Nothing is saved until they approve it in the Metrics Nest app, where they can edit it first. Same exercises as propose_workout: exercise_id from list_exercises or list_exercise_catalog where there is one. Make up a new idempotency_key for each suggestion. Works only where the person allowed this connection to suggest (get_profile says can_propose).

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": {
      "idempotency_key": "<idempotency_key>",
      "title": "<title>",
      "exercises": "<exercises>"
    },
    "name": "propose_saved_workout"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesThe name it will be saved under: "Leg day".
clientNoFor a coach: a client id from list_clients, to read that client. Omitted: your own account.
activityNostrength (default), run, ride, hike, swim, row, yoga, hiit or other.
exercisesYesIn the order they are to be done.
rationaleNoWhy this workout, in a few sentences the person reads before approving.
idempotency_keyYesUnique per suggestion; the same key again returns the first suggestion instead of a duplicate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses the approval workflow: nothing is persisted until the person approves in the Metrics Nest app, and they may edit first. It also states the permission gate ("Works only where the person allowed this connection to suggest (get_profile says can_propose)"), which annotations cannot express.

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?

Front-loads the core distinction from propose_workout in the first sentence, then layers approval behavior, exercise sourcing, and the permission gate. Dense but every sentence carries actionable information with no filler.

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?

Covers everything an agent needs for a 6-parameter mutation with no output schema: what it creates, that it is a proposal pending human approval, permission prerequisites, and the idempotency contract. No material gaps for correct invocation.

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 description coverage is 100%, so the baseline is 3; the description earns above that by explaining where exercise_id values come from and by giving the caller a rule for idempotency_key (make up a new one per suggestion). It does not add meaning for title, activity, client, or rationale beyond the schema, so it stops short of 5.

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 and resource ("Suggest a named workout for the person to keep") and immediately contrasts it with the sibling concept: a reusable saved workout versus "a session on one day (that is propose_workout)". An agent can distinguish it from propose_workout without opening 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?

Explicitly routes the agent: use this for a persistent named workout, use propose_workout for a single-day session, and call get_profile to confirm can_propose first. It also names the prerequisite lookup tools (list_exercises, list_exercise_catalog) for exercise_id.

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