Skip to main content
Glama

Get daily activity statistics

get_daily_activity_statistics
Read-only

Retrieve aggregated daily step counts and energy consumption for a date range under 28 days to summarize Suunto activity totals instead of intraday detail.

Instructions

Returns aggregated daily step count and energy consumption (joules) from the /247 API for the given datetime range. Response is an array of AggregatedActivityData objects, each with a Name ('stepcount' or 'energyconsumption'), Aggregation ('sum'), and Sources array containing per-device Samples with TimeISO8601 and Value. The window must be less than 28 days (exactly 28 is rejected). Samples with null Value indicate no data synced for that day. Each daily Sample is stamped local noon (TimeISO8601 like 2026-09-27T12:00:00+02:00); a one-day window (startdate = enddate = D) was observed returning the samples for D and the day after, so select samples by the date in TimeISO8601 rather than summing the response. Prefer this tool over list_daily_activity when you need totals rather than intraday time-series. from / to are the preferred names of startdate / enddate (both pairs work; neither pair is required by the schema, but each end must be given one way). Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_daily_activity_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoPreferred name of `enddate` (same meaning and forms). Give `to` or `enddate`; both given and different is an error.
fromNoPreferred name of `startdate` (same meaning and forms). Give `from` or `startdate`; both given and different is an error.
enddateNoEnd datetime in ISO-8601 format, same forms as startdate (e.g. 2026-04-27T23:59:59). Must be less than 28 days after startdate. Same as `to` (preferred).
startdateNoStart datetime in ISO-8601 format, with or without a UTC offset (e.g. 2026-04-01T00:00:00 or 2026-04-01T00:00:00+02:00). An offset written +0200, as `date +%z` prints it, is rewritten to +02:00 because Suunto rejects the former. Same as `from` (preferred).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.3.0
    • changedInput schema / properties / enddate / description
      Previous value: -"End datetime in ISO-8601 format, same forms as startdate (e.g. 2026-04-27T23:59:59). Must be less than 28 days after startdate."New value: +"End datetime in ISO-8601 format, same forms as startdate (e.g. 2026-04-27T23:59:59). Must be less than 28 days after startdate. Same as `to` (preferred)."
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "Preferred name of `startdate` (same meaning and forms). Give `from` or `startdate`; both given and different is an error.",
      +  "examples": [
      +    "2026-04-01T00:00:00"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / startdate / description
      Previous value: -"Start datetime in ISO-8601 format, with or without a UTC offset (e.g. 2026-04-01T00:00:00 or 2026-04-01T00:00:00+02:00). An offset written +0200, as `date +%z` prints it, is rewritten to +02:00 because Suunto rejects the former."New value: +"Start datetime in ISO-8601 format, with or without a UTC offset (e.g. 2026-04-01T00:00:00 or 2026-04-01T00:00:00+02:00). An offset written +0200, as `date +%z` prints it, is rewritten to +02:00 because Suunto rejects the former. Same as `from` (preferred)."
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "Preferred name of `enddate` (same meaning and forms). Give `to` or `enddate`; both given and different is an error.",
      +  "examples": [
      +    "2026-04-27T23:59:59"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "startdate",
      -  "enddate"
      -]
  2. Changed3 schema fields changedv0.15.1
    • changedInput schema / properties / enddate / description
      Previous value: -"End datetime in ISO-8601 format (e.g. 2026-04-30T23:59:59). Must be within 28 days of startdate."New value: +"End datetime in ISO-8601 format, same forms as startdate (e.g. 2026-04-27T23:59:59). Must be less than 28 days after startdate."
    • changedInput schema / properties / enddate / examples
      Previous value: -[
      -  "2026-04-30T23:59:59"
      -]New value: +[
      +  "2026-04-27T23:59:59"
      +]
    • changedInput schema / properties / startdate / description
      Previous value: -"Start datetime in ISO-8601 format (e.g. 2026-04-01T00:00:00). Data is stored in UTC."New value: +"Start datetime in ISO-8601 format, with or without a UTC offset (e.g. 2026-04-01T00:00:00 or 2026-04-01T00:00:00+02:00). An offset written +0200, as `date +%z` prints it, is rewritten to +02:00 because Suunto rejects the former."
  3. Addedv0.10.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint, it discloses the 28-day window limit and rejection edge case, the null-Value meaning (no data synced), the local-noon stamping convention, and an observed off-by-one in one-day windows. These are non-obvious behaviors an agent would otherwise get wrong.

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 resource and range constraint, and most sentences carry genuinely useful quirks (nulls, noon stamping, window limit). The closing from/to alias sentence duplicates the schema and is the least earned part, keeping it from a 5.

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, and the description fully describes the returned AggregatedActivityData array with Name, Aggregation, Sources, TimeISO8601 and Value — plus how nulls and timestamps behave. Nothing needed to call or interpret this tool is missing.

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% and the schema already documents from/to as preferred aliases of startdate/enddate and the error on conflicting pairs, so the description largely restates structured data. The reminder that neither pair is schema-required but each end must be given one way adds minor value beyond the schema.

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?

States a specific verb and resource — aggregated daily step count and energy consumption in joules from the /247 API over a datetime range — and explicitly contrasts itself with list_daily_activity for totals vs intraday series. An agent can distinguish it from siblings without opening the schema.

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

Usage Guidelines5/5

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

Names the alternative tool explicitly and the condition that selects it ('Prefer this tool over list_daily_activity when you need totals rather than intraday time-series'). It also gives a hard usage constraint (<28 days, 28 exactly rejected) and directs selection of samples by TimeISO8601 date rather than summing.

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