Skip to main content
Glama

log_workout

Log a workout with exercise sets (strength or cardio unified). Requires an app user context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
setsNo
titleNo
primary_sportNo
idempotency_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
dateNo
titleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / sets / items / properties / distance_m
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / sets / items / properties / duration_seconds
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / sets / items / properties / notes
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / sets / items / properties / rest_seconds
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / sets / items / properties / set_number
      Added value: +{
      +  "type": "number"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / sets / items
      Added value: +{
      +  "properties": {
      +    "completed": {
      +      "type": "boolean"
      +    },
      +    "exercise_name": {
      +      "type": "string"
      +    },
      +    "reps": {
      +      "type": "number"
      +    },
      +    "rpe": {
      +      "type": "number"
      +    },
      +    "weight": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "date": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With annotations all false, the description must carry the behavioral disclosure burden. It adds a meaningful prerequisite (requires an app user context) and the verb 'log' implies an additive write, but it does not disclose idempotency behavior, potential side effects, or response structure. This is limited but not misleading.

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?

The description is two short sentences with no filler. Each sentence adds a distinct point: what the tool does and a prerequisite. It is efficiently structured and front-loaded.

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?

This is a fairly complex tool with 5 parameters, a nested sets array, and an idempotency_key, yet the description is very sparse. It fails to explain the structure of sets, the meaning of primary_sport, or the idempotency mechanism, making it incomplete for an agent to use correctly without additional inference.

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 is the only source of parameter meaning. It mentions 'exercise sets' and that they can be strength or cardio unified, but ignores key parameters like date, title, primary_sport, and idempotency_key. This leaves most parameters unexplained.

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 description clearly states the verb 'Log' and the resource 'workout', and specifies 'with exercise sets (strength or cardio unified)'. This distinguishes it from sibling tools like log_cardio and log_meal, and the requirement of an app user context adds further specificity.

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?

The phrase 'strength or cardio unified' implies this tool is for logging complete workouts that may include both types of sets, which helps differentiate it from log_cardio. It also states a prerequisite (app user context), but does not explicitly mention alternatives or exclusions for cases like updating existing sets or standalone cardio logging.

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