Skip to main content
Glama

export_data

Read-onlyIdempotent

Download daily, sleep, heart-rate, workout, or body rows as CSV or JSON for reporting and analysis.

Instructions

Read-only. Export daily, sleep, heart-rate, workout or body rows as CSV or JSON.

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
limitNo
sinceNo
untilNo
formatNo
datasetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

The annotations already declare readOnlyHint and idempotentHint, and the description's leading "Read-only." merely restates that. Beyond the dataset/format enumeration it discloses nothing behavioral: no volume limits, no default for limit, no indication of how far back 'since' can go, and no note on whether export is synchronous or file-based.

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 tight sentences, front-loaded with the safety note and immediately followed by scope. The only wasted content is the redundant "Read-only." already covered by annotations.

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?

For a five-parameter export tool with zero schema coverage and no output schema, the description leaves most invocation decisions unresolved: date range formatting and boundaries, limit behavior, and the exact CSV/JSON format token are all unaddressed.

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 description coverage is 0% across five parameters, so the description must carry the load. It usefully enumerates the accepted dataset values, which fills the missing enum for 'dataset', but 'format', 'limit', 'since' and 'until' remain undefined — no accepted strings, no date syntax, no default or maximum limit.

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) and an enumerable set of resources (daily, sleep, heart-rate, workout, body rows) plus output forms (CSV or JSON). An agent can tell this is a bulk data-dump tool rather than the get_* single-metric readers, though no sibling is named explicitly.

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?

No when-to-use or when-not-to-use guidance is given. It is only implied that the tool is for producing CSV/JSON files rather than inline metric reads; there is nothing telling the agent to prefer get_daily_summary or get_raw_collection in specific situations, and no prerequisites mentioned.

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