Skip to main content
Glama
garmin-everything-mcp

garmin-everything-mcp

by dlekdns08

get_sleep_stats_weekly

Read-only

Retrieve weekly sleep statistics, including overall stats and per-week values, to track sleep trends across a configurable number of weeks ending on a chosen date.

Instructions

[read-only] Return weekly sleep statistics (overallStats + per-week values). Signature: get_sleep_stats_weekly(end: str | None = None, weeks: int = 52) -> dict[str, Any] Dates are YYYY-MM-DD.

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_sleep_stats_weekly"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoDate as YYYY-MM-DD.
weeksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the '[read-only]' prefix is pure duplication. The genuinely additive part is disclosing the return content ('overallStats' + per-week values), which matters because there is no output schema. Auth requirements, rate limits and the default time window behavior are unstated.

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 description is short and front-loads the purpose, which is good. But the bracketed '[read-only]' duplicates annotations and the 'Signature:' line re-renders parameter names and defaults already present in the schema, so some sentences do not earn their place.

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

Completeness2/5

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

With no output schema, the description does partially compensate by naming the returned keys. However it leaves the central parameter ('weeks', default 52) undefined and gives no routing guidance in a sibling set dense with sleep and weekly variants, so an agent could easily misfire.

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

Parameters2/5

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

Schema coverage is only 50%: 'end' is documented, but 'weeks' has no description anywhere. The description restates the YYYY-MM-DD format that the schema already gives, and never explains whether 'weeks' counts back from 'end' or from today, despite a default of 52. The signature line adds nothing beyond the schema.

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 ('Return weekly sleep statistics') plus the shape of the payload ('overallStats' + per-week values), which lets an agent tell it apart from the daily sleep siblings. It stops short of explicitly contrasting with get_sleep_stats_overall, but 'weekly' vs 'overall' is at least stated.

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?

There is no when-to-use guidance and no exclusions. Nothing says when to pick this over get_sleep_stats_overall, get_daily_sleep, or get_sleep_daily, even though several siblings clearly overlap on sleep data. Usage is only implied by the word 'weekly'.

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

Deploy Server

Other Tools