Skip to main content
Glama
futureweb

Futureweb Intervals MCP

by futureweb

compare_power_streams

Read-only

Compare two power meter streams from one ride or multiple rides to measure watt and percent offsets, per-band differences, drift, lag, and best efforts.

Instructions

Use to compare two power meters recorded on the same ride (watts vs secondary_power by default), on one ride or across several rides.

One ride (activity_id): offset in W and % (secondary - primary), per power band, in stable 30/60 s windows, drift over the ride quarters, lag, best efforts of each stream and the samples excluded as coasting, missing or outliers. Several rides (no activity_id, or activity_ids): the rides that carry the second stream (default 180 days to end_date, newest first, limit 10, max 20), each compared on its own and summarised per bike and power meter with median, between-ride SD and range. No calibration and no correction factor; sensors are named only from the file's device data. Read-only. Method: intervals://methods/power-meters (get_guide).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoSeveral rides: at most this many, newest first, 1-20
primaryNoStream type of the reference power sourcewatts
end_dateNoSeveral rides: last day YYYY-MM-DD; default today
end_indexNoSample index to stop before (exclusive; one ride only)
secondaryNoStream type of the compared power sourcesecondary_power
athlete_idNoDefault: the configured athlete
start_dateNoSeveral rides: first day YYYY-MM-DD; default 179 days before end_date (180 days)
activity_idNoOne ride, e.g. i123456789; omit (or give activity_ids) to compare several rides
start_indexNoFirst sample index to compare (one ride only)
activity_idsNoComma-separated activity ids to compare as several rides (duplicates ignored, cut to limit)
detail_levelNoSeveral rides: compact = summary only; standard adds one line per ride; full adds power bins and device data per ridestandard
output_formatNojson = machine-readable, all fieldstext

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the reiterated 'Read-only' is redundant but consistent. The description adds real behavioral substance beyond that: no calibration and no correction factor, sensor names sourced only from the file's device data, samples excluded as coasting/missing/outliers, and the statistical outputs produced per mode.

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?

Front-loaded with the purpose and the one-ride/several-ride fork, and each sentence carries information. The two dense paragraphs are long for a tool description, but no sentence is filler and the ordering is logical.

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

Completeness5/5

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

No output schema exists, yet the description spells out the returned metrics (offset in W and %, per power band, 30/60 s windows, drift over quarters, lag, best efforts, exclusions) and the multi-ride aggregation (median, between-ride SD, range, per bike and power meter). It also points to the method guide. Nothing needed to call or interpret this 12-parameter tool is missing.

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%, so the baseline is 3, but the description adds mode-dependent semantics the schema cannot express: which parameters apply only to one ride (start_index/end_index) versus several (start_date/end_date/limit/detail_level), plus 'duplicates ignored, cut to limit' for activity_ids. That meaningfully exceeds the schema's per-field text.

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 first sentence states a specific verb and resource: 'compare two power meters recorded on the same ride (watts vs secondary_power by default)'. It also defines scope (one ride or across several rides), which distinguishes it from compare_best_efforts and compare_workouts without opening a schema.

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 clearly branches on the selecting condition: pass activity_id for one ride, or omit it / pass activity_ids for several rides, with defaults (180 days, newest first, limit 10, max 20). It does not name sibling alternatives explicitly, so an agent must infer routing, but the mode selection guidance is precise.

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