Skip to main content
Glama
FitDays MCP Server

FitDays MCP Server

refresh_sync

Read-onlyIdempotent

Bypass the five-minute cache to reload read-only FitDays cloud health data and return per-collection counts plus the cache timestamp. Optionally set a history window in days.

Instructions

Read-only upstream refresh; bypasses the five-minute cache. Returns per-collection counts and the cache timestamp.

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": "refresh_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHistory window in days; defaults to the configured sync window

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, and the description stays consistent with them while adding genuinely new context: that the call reaches upstream and skips the five-minute cache, which the agent needs to know for cost/latency and freshness decisions. It also discloses the shape of the response (per-collection counts plus cache timestamp), though it says nothing about failure or timeout behavior on upstream calls.

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?

Two short sentences with no filler; the read-only/cache-bypass constraint is front-loaded and the return information follows it. Every clause carries information the agent can act on.

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

Completeness4/5

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

For a one-parameter read tool with annotations covering safety and idempotency, the definition covers purpose, cache behavior, and return shape, which compensates for the absent output schema. The remaining gap is operational: nothing about latency or what happens if the upstream refresh fails.

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 description coverage is 100% — the single `days` parameter is already documented as a history window defaulting to the configured sync window. The description adds no further meaning about that parameter, so the baseline 3 applies.

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 ("Read-only upstream refresh") plus a key modifier (cache bypass), so the agent knows exactly what operation it triggers. It does not distinguish itself from any sibling such as get_raw_collection, so an agent cannot rule alternatives in or out from the text alone.

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

Usage Guidelines3/5

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

"Bypasses the five-minute cache" strongly implies the situation that selects this tool (when cached data is too stale), but that is inference rather than an explicit when-to-use statement. There is no statement of when not to use it and no named alternative for the cached path.

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