Skip to main content
Glama

sync_coros_data

Idempotent

Sync Coros fitness data for a specified date range into a local SQLite cache, so subsequent metrics, sleep, and activity queries are served from cache and only fetch incremental API updates.

Instructions

Sync Coros data for a date range into the local SQLite cache.

After the first full sync, subsequent calls to get_daily_metrics, get_sleep_data, and list_activities will serve historical data from cache and only fetch the incremental tail from the API.

For large date ranges (> 6 months), call this tool in segments to avoid timeout (e.g. one segment per year). For the initial full historical backfill, use the CLI instead: coros-mcp sync --from 20230101

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dayNoEnd of sync range in YYYYMMDD format — local calendar date (same convention as start_day). Defaults to today if omitted.
start_dayNoStart of sync range in YYYYMMDD format — local calendar date (per COROS_TIMEZONE, defaults to system timezone). Defaults to two years ago if omitted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Beyond annotations, the description discloses cache side effects, incremental behavior after first sync, and timeout risks for large ranges. It also mentions the CLI alternative for backfills, which annotations do not convey. No contradiction with readOnlyHint=false or idempotentHint=true.

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 very concise: three sentences, each serving a clear purpose (what it does, post-sync behavior, usage advice). It is front-loaded with the core purpose and contains no fluff or redundant details.

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?

Despite having an output schema, the description covers essential behavioral context: cache population, downstream effects, timeout avoidance, and CLI alternative. For a sync tool with side effects and optional parameters, this is comprehensive and leaves no obvious gaps.

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% with both start_day and end_day described in detail (format, defaults, timezone). The description adds no additional parameter-level meaning beyond what the schema already provides, so the baseline of 3 applies.

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 states the tool syncs Coros data for a date range into a local SQLite cache, using a specific verb-resource pair. It distinguishes itself from read tools like get_daily_metrics by explaining its role as a cache population step.

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?

Explicitly explains when to use this tool (before reads), what happens after first sync, and gives alternative guidance for large ranges (segmenting) and initial backfill (use CLI). This directly contrasts with sibling tools and prevents misuse.

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