Skip to main content
Glama
FitDays MCP Server

FitDays MCP Server

compare_measurements

Read-onlyIdempotent

Compare body measurements between two dates to retrieve the last recorded value at or before each time and see per-metric changes.

Instructions

Read-only. Call check_auth_status first. Last measurement at or before each time and per-metric delta.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "compare_measurements"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesComparison time (RFC3339 or date)
fromYesReference time (RFC3339 or date)
suidNoProfile id; defaults to the active profile

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so "Read-only" earns no credit, but the description adds two things annotations do not cover: an authentication prerequisite and the carry-forward behavior ("last measurement at or before each time"), which materially affects how results should be interpreted when a reading is missing at the exact timestamp.

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?

Three short fragments with no padding and the prerequisite is front-loaded. It is slightly too telegraphic and leads with a redundant "Read-only", but nothing is wasted.

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

Completeness3/5

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

For a three-parameter read tool with no output schema, the definition is workable but leaves gaps: which metrics are compared, how deltas are represented, and what happens when no measurement exists before one of the times. The auth prerequisite partially offsets this.

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%, so the schema already documents to, from and suid including defaults and accepted formats. The description adds only the weak hint that from is a reference time and to a comparison time, which the schema names already imply; baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys the operation obliquely: "Last measurement at or before each time and per-metric delta" tells an agent it returns a carried-forward reading at two time points plus a delta, but there is no explicit verb and no differentiation from siblings like get_trend or get_weight_history. An agent can guess the purpose, but must infer that this is a point-in-time comparison rather than a series.

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?

"Call check_auth_status first" is a concrete prerequisite, which is real guidance. However, there is no when-to-use versus when-not guidance and no mention of the obvious alternative (get_trend) for time-series comparison, so selection between siblings is left implicit.

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