Skip to main content
Glama

get_daily_metrics

Read-only

Retrieve Coros nightly HRV and daily metrics for a configurable period (1–52 weeks) using cached data for fast access.

Instructions

Retrieve nightly HRV and daily metrics from Coros for a configurable time range (up to 52 weeks).

Historical data is served from the local SQLite cache (fast); only the uncached tail is fetched from the Coros API. The underlying API endpoint supports up to 24 weeks per call; the cache layer fetches longer uncached ranges in 12-week chunks, so any range up to 52 weeks works even on a cold cache.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
weeksNoNumber of weeks to fetch (1–52). Default: 4.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

The description provides rich behavioral context: data is served from local SQLite cache, the uncached tail fetches from the API, and longer ranges are chunked into 12-week calls. This goes well beyond the readOnlyHint annotation and clarifies performance and caching behavior.

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

Conciseness5/5

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

The description is three sentences: a clear purpose statement followed by two sentences of implementation details. Each sentence earns its place, providing useful information without unnecessary verbosity.

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?

Given the output schema exists and annotations indicate read-only behavior, the description fully covers the data source, range constraints, and caching behavior. There are no significant gaps for a single-parameter fetch tool.

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 for the only parameter (weeks) is 100%, so the baseline is 3. The description adds value by explaining that the range is configurable and works even on a cold cache, giving extra confidence about parameter behavior beyond the schema's basic range description.

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 description clearly identifies the tool's function: 'Retrieve nightly HRV and daily metrics from Coros' with a configurable time range. It also distinguishes itself from sibling tools like get_sleep_data by specifying 'HRV and daily metrics'.

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?

The description explains how the cache and API are used, implying that the tool is suitable for historical data ranges. However, it does not explicitly mention when to avoid this tool or suggest alternatives, so it lacks explicit exclusion guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cygnusb/coros-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server