Skip to main content
Glama
FitDays MCP Server

FitDays MCP Server

get_weight_history

Read-onlyIdempotent

Retrieve weight measurement history newest first, filtered by profile and time window, with pagination and optional deleted or extension data.

Instructions

Read-only. Call check_auth_status first. Return measurements newest first, filtered by profile and time window.

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

Input Schema

NameRequiredDescriptionDefault
suidNoProfile id; defaults to the active profile
limitNoMaximum rows, default 100, max 1000
sinceNoEarliest measured time (RFC3339 or date)
untilNoLatest measured time (RFC3339 or date)
offsetNoRows to skip after sorting newest first
include_deletedNoInclude tombstoned rows (default false)
include_ext_dataNoInclude parsed extension data (default false)

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 the bare "Read-only" prefix earns no credit (though it does not contradict them). The description does add genuine context beyond the annotations: result ordering (newest first) and a mandatory auth prerequisite. It omits defaults for limit/offset and deletion filtering, but the schema covers those.

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, front-loaded sentences with the read-only status and auth prerequisite up front, followed by the result semantics. The only wasted token is "Read-only," which duplicates the readOnlyHint annotation.

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?

With no output schema, the description should say more about the shape of the returned rows (value, unit, timestamp), which it only hints at via "newest first." It is adequate about invocation (auth check, filtering, ordering, pagination via schema) but thin on what the caller actually receives from a seven-parameter read tool.

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%, so every one of the seven parameters is already documented in structured data. The description only restates that filtering is by profile and time window, adding no syntax, defaults, or interaction detail beyond the schema. Baseline 3 applies.

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?

"Return measurements newest first, filtered by profile and time window" gives a verb and a resource scope, but the resource is left generic ("measurements") rather than specifying weight data, and nothing distinguishes it from siblings such as get_latest_weight, get_trend, or get_body_composition_detail. An agent can guess the intent from the name, but the description itself does not carve out a distinct role.

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?

The one explicit guideline is "Call check_auth_status first," which is a useful prerequisite. However, there is no guidance on when to choose this bulk-history tool versus get_latest_weight (single point) or get_trend (aggregated), so the selection decision is left to inference.

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