Skip to main content
Glama
FitDays MCP Server

FitDays MCP Server

export_data

Read-onlyIdempotent

Export measurements, nutrition, or water records as CSV or JSON, filtered by profile ID and date range for reporting or backup.

Instructions

Read-only. Call check_auth_status first. Export measurements, FitDays 2.0 nutrition or water rows as CSV or JSON text, filtered by profile and time.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dataset": "<dataset>"
    },
    "name": "export_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
suidNoProfile id; defaults to the active profile
limitNoMaximum rows, default 5000, max 20000
sinceNoWindow start (RFC3339 or date)
untilNoWindow end (RFC3339 or date)
formatNoOutput format: csv or json (default csv)
datasetYesDataset: measurements, nutrition or water

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint and idempotentHint, so "Read-only" adds nothing. What the description does contribute beyond annotations is the auth prerequisite and the fact that output comes back as CSV/JSON text rather than structured rows — useful, but there is no mention of row caps or truncation behavior that an export tool would need.

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?

Two compact sentences with the safety note and prerequisite front-loaded before the purpose. The opening "Read-only." is redundant with the annotations and could be dropped, but nothing else is wasted.

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?

With six fully documented parameters and no output schema, the description supplies the key missing piece — that results are returned as CSV or JSON text. It is nearly complete for a read-only export, though row-cap behavior would strengthen it.

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%, with defaults and the 20000 maximum already documented inline, so the schema carries the load. The description only restates the dataset choices and the profile/time filters, adding no syntax or format detail 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?

States a specific verb (export) plus the exact resources (measurements, nutrition, water rows) and the concrete output form (CSV or JSON text), which separates it from the record-returning getters like get_nutrition_history and get_water_history. It stops short of explicitly contrasting itself with those siblings by name, so differentiation is implicit rather than stated.

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?

Gives a clear precondition ("Call check_auth_status first") and scopes the operation to profile and time filtering, which is actionable context for the caller. It offers no when-not guidance or pointer to a lighter-weight alternative for small lookups, which keeps it below a 5.

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