Skip to main content
Glama

Framezone

Log workout

log_workout

Log a workout session with type, duration, calories, and heart rate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesWorkout type
notesNoNotes
avg_hrNoAverage heart rate
max_hrNoMax heart rate
min_hrNoMin heart rate
caloriesNoTotal calories burned
ended_atNoSession end (Y-m-d H:i:s)
locationNoWhere the session happened
started_atNoSession start (Y-m-d H:i:s)
workout_dateNoWorkout date (Y-m-d, defaults to today)
active_caloriesNoActive calories (Apple Watch)
duration_minutesNoDuration in minutes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already indicate this is a mutation (readOnlyHint=false) and non-destructive (destructiveHint=false). The description adds minimal behavioral context beyond the act of logging, not disclosing potential side effects, auth requirements, or rate limits. It does not contradict annotations, but adds little value beyond them.

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 a single, concise sentence that front-loads the action and resource. It wastes no words and is easily scannable.

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

Completeness3/5

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

For a tool with 12 parameters and no output schema, the description is minimal. It does not explain return behavior or any prerequisites beyond what the schema covers. However, given the schema's completeness and annotations, it is adequate but not rich.

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

Parameters3/5

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

Schema description coverage is 100%, so all parameters are already documented. The description mentions a subset (type, duration, calories, heart rate) but does not add new meaning or relationships beyond what the schema provides. Baseline 3 is appropriate given high coverage.

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 session', and lists key fields (type, duration, calories, heart rate). It is specific and distinct from siblings like delete_workout and log_workout_sets, even without naming them.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as log_workout_sets or log_body_measurement. It does not mention any prerequisites or conditions that would select this tool over others, leaving the agent to infer usage.

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