Skip to main content
Glama
futureweb

Futureweb Intervals MCP

by futureweb

analyze_workout_execution

Read-only

Compare a planned workout against actual activity intervals—or evaluate detected intervals without a plan—to report target vs actual time, intensity, HR, cadence, fade, and deviations.

Instructions

Use to check how a planned workout was executed, or without a plan to evaluate each detected interval of one activity.

The plan comes from planned_workout_doc, event_id or the event paired with the activity. Planned steps (repeats expanded) are aligned with the intervals by order, duration or distance and target intensity, never by names; laps that split one effort are merged. Per step: planned vs actual moving time, target (W, bpm or pace) vs actual, time in target, HR response, cadence, fade, Pw:HR drift (work steps of 10 min or more) and custom stream changes, with deviation notes and an alignment confidence. Time past a step's plan and training after the plan are reported apart. Unpaired: up to three candidate events, nothing is paired. Read-only. Method: intervals://methods/execution (get_guide).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
event_idNoPlanned workout event to compare against; default the event paired with the activity
activity_idYesActivity id, e.g. i123456789
detail_levelNocompact = one line per step plus summary; standard; full adds counter and other-sport custom streamsstandard
output_formatNojson = machine-readable, all fieldstext
suggest_matchesNoUnpaired activity without plan: list candidate events of the same days (read-only)
pause_tolerance_sNoRecording pause per step that is not flagged, seconds; default 60
start_tolerance_sNoFlag steps starting further than this from the plan timeline, seconds; default 120
planned_workout_docNoWorkout document {"steps": [...]} (format of add_or_update_event), e.g. when the event was deleted
duration_tolerance_pctNoStep length deviation in % of the step (at least 30 s) before it is split or flagged; default 10

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare readOnlyHint/openWorldHint, and the description confirms read-only while adding substantial behavioral detail: alignment is by order/duration/distance/target intensity and never by names, laps splitting one effort are merged, time past the plan is reported separately, and unpaired runs return up to three candidates. This is meaningful disclosure well beyond structured fields.

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?

The purpose is front-loaded and every sentence carries information, but the body is a dense, run-on block of clauses that is hard to parse on first read. It could be trimmed and bulleted without losing content.

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?

For a 9-parameter, nested-object tool with no output schema, the description does the heavy lifting well: it enumerates the per-step metrics returned, alignment confidence, deviation notes, and the unpaired fallback. A brief note on failure behavior when nothing can be paired would make it fully complete.

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 coverage is 100% (baseline 3), and the description adds real meaning: event_id defaults to the paired event, planned_workout_doc is the add_or_update_event document format used when the event was deleted, and the tolerance parameters drive flagging/splitting behavior. The uplift over the already-complete schema is modest but genuine.

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 opening line states a precise verb+resource: check how a planned workout was executed, or evaluate each detected interval of a single activity when no plan exists. The scope is specific and clearly distinct from generic activity-listing or compliance tools, though it never names a sibling (e.g. get_plan_compliance) to sharpen the contrast.

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?

It explicitly covers the two usage modes (with a plan vs. without) and names the plan sources (planned_workout_doc, event_id, or the paired event), so an agent knows when this applies. It stops short of stating when NOT to use it or which sibling to prefer for closely-related questions.

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