Skip to main content
Glama
FatSecret MCP Server

FatSecret MCP Server

get_daily_nutrition

Retrieve total daily calories, protein, carbohydrates, and fat by aggregating all diary entries for a specified date, defaulting to today.

Instructions

Get a summary of total daily nutrition (calories, protein, carbohydrates, fat, and more) for a specific date by aggregating all diary entries. Requires OAuth 1.0 user credentials.

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

Input Schema

NameRequiredDescriptionDefault
dateNoDate to get nutrition summary for (YYYY-MM-DD). Defaults to today.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add real value: it discloses the aggregation behavior, that it spans all diary entries, that the date defaults to today, and that OAuth 1.0 user credentials are required. It omits what happens when no entries exist for the date (empty totals vs. error) and any timezone handling for the date boundary.

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?

Two sentences, front-loaded with the outcome and then the auth prerequisite; every clause carries information and nothing is padded.

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 single-optional-parameter read tool this covers purpose, scope, defaults, and auth. Since there is no output schema, the partial field listing ("calories, protein, carbohydrates, fat, and more") is helpful but leaves the actual shape of the return value somewhat open.

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% and the single parameter already documents format (YYYY-MM-DD) and the today default. The description's "for a specific date" adds nothing beyond the schema, so the baseline of 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?

The description names a specific verb and resource ("Get a summary of total daily nutrition") and states the mechanism ("aggregating all diary entries"), which implicitly separates it from entry-level siblings like get_food_entries. It stops short of naming an alternative tool, so the differentiation is inferred rather than stated.

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?

Usage is only implied: an agent can infer this is the tool for rolled-up daily totals rather than raw entries. There is no explicit when-to-use/when-not guidance and no mention of how it relates to get_month_of_statistics or get_food_entries for overlapping questions.

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