Skip to main content
Glama
AdamWalt

MyFitnessPal MCP Server

by AdamWalt

mfp_get_measurements

Read-onlyIdempotent

Get historical body measurements such as weight and body fat over a date range to monitor weight loss and body composition changes.

Instructions

Get body measurements (weight, body fat, etc.) over a date range.

Returns historical measurement data with dates and values. Useful for
tracking weight loss progress and body composition changes.

Args:
    params: GetMeasurementsInput containing:
        - measurement (str): Type of measurement (default 'Weight')
        - start_date (str, optional): Start date, defaults to 30 days ago
        - end_date (str, optional): End date, defaults to today
        - response_format (str): 'markdown' or 'json'

Returns:
    str: Measurement history with dates and values

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds valuable context by stating it returns historical data with dates and values, and it clarifies output format options ('markdown'/'json'). This exceeds the minimum but doesn't fully describe pagination or rate limits, though they are likely not relevant.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, front-loaded with purpose, then organized into an Args section and Returns statement. Every sentence provides useful information without redundancy.

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

Completeness5/5

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

Given the tool's moderate complexity (one nested input object), the description covers all necessary aspects: what it does, what parameters to pass, defaults, and the return type. With output schema present and strong annotations, nothing important is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 0%, so the description must fully compensate. It does, listing each parameter with its type, default values, and allowed values (e.g., response_format as 'markdown' or 'json'). This is complete and actionable.

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

Purpose5/5

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

The description states a specific verb ('Get'), resource ('body measurements'), and scope ('over a date range'), with examples like weight and body fat. This clearly distinguishes it from sibling tools such as mfp_get_diary or mfp_get_water.

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 description provides a clear use case ('Useful for tracking weight loss progress and body composition changes') but does not explicitly compare with alternatives or state when not to use. It is implied rather than explicit, so it falls short of a 4.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AdamWalt/myfitnesspal-mcp-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server