Skip to main content
Glama

MyFitnessPal MCP Server and API by Cotlet

Log food in MyFitnessPal

myfitnesspal_log_food
Read-onlyIdempotent

Log food in the user's own MyFitnessPal account from ChatGPT, Claude or any AI agent. Returns how to do it in MyFitnessPal step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's MyFitnessPal Cloud Browser. MyFitnessPal's official API: MyFitnessPal has a private API and its API site says "We are not accepting requests for API access at this time" (checked 5 Nov 2026).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and the description is consistent, reinforcing it with "opens nothing by itself." It adds genuinely useful context beyond annotations: the return shape (screens, buttons, fields) and the reason browser automation is required (MyFitnessPal's private API is closed to new access).

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?

Front-loaded with the action and the key caveat (returns instructions, opens nothing), then the workflow, then the API rationale. The API-access sentence is slightly tangential but earns its place by explaining why the browser path exists.

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 must convey what comes back, and it does at a high level (step-by-step screens, buttons, fields). It stops short of describing format, length, or whether the steps are tailored to a specific food, which leaves some ambiguity for a tool whose entire output is prose guidance.

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?

The tool takes zero parameters, so the baseline is 4. The description correctly implies no inputs are needed and instead points to the browser tools that will carry the actual data entry, which is the right framing for a zero-arg guidance tool.

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 ("Log food in the user's own MyFitnessPal account") and immediately clarifies the actual mechanic: it returns step-by-step instructions rather than performing the log. The name/title imply a write action, but the description corrects that within the first sentence, so an agent can tell what it really gets. It does not explicitly contrast with siblings like myfitnesspal_quick_add_calories or myfitnesspal_search_foods.

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?

Gives a clear follow-on workflow: use the returned steps, then execute with cotlet_browser_* tools in the Cloud Browser. However, it offers no when-not guidance — nothing says when to prefer quick_add_calories, search_foods, or the diary tools instead, which matters given several overlapping logging siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources