Skip to main content
Glama
FitDays MCP Server

FitDays MCP Server

get_latest_weight

Read-onlyIdempotent

Fetch the newest weight measurement and full body-composition metrics for the active profile, with optional extension data and deleted-row inclusion.

Instructions

Read-only. Call check_auth_status first. Return the newest measurement for the active profile, full metrics and extension data.

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_latest_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
suidNoProfile id; defaults to the active profile
include_deletedNoInclude tombstoned rows (default false)
include_ext_dataNoInclude parsed extension data (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, and 'Read-only' merely restates that. The description's genuine addition is the auth prerequisite ('Call check_auth_status first') and the disclosure that the response carries full metrics and extension data. It omits behavior when the profile has no measurements, keeping it from a 5.

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 sentences, front-loaded with the safety and prerequisite before the outcome. 'Read-only.' duplicates the readOnlyHint annotation and is the one piece of low-value text, 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 no output schema, the description correctly takes on the job of describing the return ('full metrics and extension data'), and it flags the auth prerequisite. It is nearly complete for a simple read tool, missing only the empty/no-data case.

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 each of the three parameters already has a description including its default. The description adds only the notion of the 'active profile' as the default target, which is marginal, so 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?

States a specific verb and resource ('Return the newest measurement') plus scope ('for the active profile'), and the word 'newest' implicitly contrasts with the history tool. It does not name a sibling alternative explicitly, so it stops short of a 5.

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 usage guidance. However, nothing says when to prefer this over get_weight_history or compare_measurements, and no exclusions or failure conditions are given, so guidance is only partially covered.

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