Skip to main content
Glama

Add a custom exercise

trainrec_add_exercise

Makes a custom exercise with a name, kind and muscles. equipment: "plate" for a plate-loaded machine or "smith" for a Smith machine gives it a sled or bar its base weight is counted from (change_settings baseWeight).

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>",
      "kind": "<kind>"
    },
    "name": "trainrec_add_exercise"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
nameYes
musclesNo
equipmentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the mutating-but-non-destructive profile is covered. The description adds one genuinely useful behavioral detail: that equipment 'plate'/'smith' makes the base weight derive from the change_settings baseWeight value. It does not say whether the exercise persists permanently, what happens if a name already exists, or what is returned on success.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single compact sentence, but the second clause is a run-on ('gives it a sled or bar its base weight is counted from') that is grammatically tangled and slows parsing. The core creation statement is front-loaded, which is good, but the equipment aside is dense and ambiguous.

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

Completeness2/5

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

For a creation tool with four parameters, 0% schema coverage, and no output schema, the description is thin. It omits the meaning of the required 'kind' enum, the format for 'muscles', duplicate-name behavior, and any indication of the return value after creation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry all parameter meaning, and it only partially does. It explains two equipment enum values ('plate', 'smith') but leaves the other seven equipment values and all six 'kind' enum values ('weight_reps', 'bodyweight_reps', etc.) unexplained, and gives no format for the 'muscles' array items.

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 description states a concrete verb and resource: 'Makes a custom exercise' plus the fields it accepts (name, kind, muscles). It implicitly distinguishes from trainrec_list_exercises by saying the exercise is 'custom', though it never names that sibling directly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied by the word 'custom' – the agent can infer this is for creating a new exercise rather than listing existing ones. There is no explicit 'use this when...' guidance, no mention of checking duplicates first, and the only cross-reference (change_settings for baseWeight) is about downstream effects rather than when to pick this tool.

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