Skip to main content
Glama
Open Wearables

Open Wearables

Official

get_workout_events

Retrieve a user's workout sessions within a date range, including type, duration, distance, calories, and heart rate data when available.

Instructions

Get workout events for a user within a date range.

This tool retrieves discrete workout sessions including type, duration, distance, calories, and heart rate data (if available from the wearable device).

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": {
      "user_id": "<user_id>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_workout_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYesUUID of the user. Use get_users to discover available users.
end_dateYesEnd date in YYYY-MM-DD format. Example: "2026-01-07"
start_dateYesStart date in YYYY-MM-DD format. Example: "2026-01-01"
workout_typeNoOptional filter by workout type. Examples: "running", "cycling", "swimming", "strength_training", "walking", "hiking", "yoga", "hiit"

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden; it conveys that results come from a wearable and that heart-rate data may be absent, which is genuine context. It does not state that the operation is read-only, whether results are paginated or capped, or any auth/permission requirements.

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

Conciseness4/5

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

Two sentences, front-loaded with the core action and scope, then the payload detail. No filler or repetition; slightly verbose in the second sentence but each clause carries information.

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?

An output schema exists, so return values need not be re-explained, and all four parameters are documented in the schema. For a simple read/retrieval tool the description is close to sufficient; the only shortfall is absent read-only or pagination context given there are no annotations.

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 coverage is 100%, so every parameter already has its own description including date formats and the workout_type examples, making 3 the baseline. The description adds little parameter-level meaning beyond confirming the date-range pair and noting optional heart-rate availability.

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 gives a specific verb and resource ("Get workout events") plus the scoping constraint ("for a user within a date range") and enumerates what a workout event contains. That is enough to distinguish it from get_activity_summary and get_sleep_summary sibling tools, though it never names an alternative explicitly.

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 implied by the phrase "within a date range" and by the contrast between "discrete workout sessions" and aggregate summaries, which hints at when to prefer this tool. However there is no explicit when-to-use/when-not guidance and no mention of the optional workout_type filter as a narrowing strategy.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.