Skip to main content
Glama
thesaaspreneur

MyFitnessPal MCP

mfp_get_goals

Read-onlyIdempotent

Retrieve daily nutrition goals for calories, protein, carbs, and fat for a specified date, defaulting to today. Returns data in markdown or JSON.

Instructions

Get the user's daily nutrition goals (calories, protein, carbs, fat, etc.).

Returns the configured daily targets for all tracked nutrients.

Args:
    params: GetGoalsInput containing:
        - date (str, optional): Date in YYYY-MM-DD format, defaults to today
        - response_format (str): 'markdown' or 'json'

Returns:
    str: Daily nutrition goals and targets

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the description does not need to prove safety. The description adds mild context by specifying that it returns configured targets for all tracked nutrients and that date defaults to today, but it does not disclose additional behavioral traits such as timezone handling or behavior when no goals are configured.

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?

The description is front-loaded with the core purpose and remains compact. The Args and Returns sections are organized and useful, with no filler. It is slightly redundant with the input schema, but the structure is clear and appropriately sized.

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?

For a simple read-only tool with strong annotations and a minimal parameter set, the description covers the essentials: what is retrieved, the parameters, and the return type. It does not mention edge cases like missing goals, but an output schema is reportedly available and the annotation set already establishes safety and idempotency.

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

Parameters4/5

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

With reported schema_description_coverage at 0%, the description carries the parameter documentation burden. It names both parameters: date with format and default, and response_format with accepted values 'markdown' or 'json'. This is sufficient for an agent to construct valid input, even though the schema also happens to contain similar details.

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 opens with a specific verb and resource: 'Get the user's daily nutrition goals (calories, protein, carbs, fat, etc.)'. This clearly identifies the tool's function and differentiates it from sibling getters like mfp_get_diary. The additional 'Returns the configured daily targets for all tracked nutrients' reinforces the scope.

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 intended use is implied by the name and opening sentence, but no explicit guidance is given about when to choose this over related tools such as mfp_set_goals or mfp_get_report. It does not state exclusions or provide alternate tool routing, so the guidance is adequate but left to inference.

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

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/thesaaspreneur/myfitnesspal-mcp'

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