Skip to main content
Glama
FatSecret MCP Server

FatSecret MCP Server

get_food_history_stats

Calculate frequent foods, usual servings, meals, and nutrition totals over a date range up to 93 days to analyze eating patterns and track dietary habits.

Instructions

Calculate frequent foods, usual servings, meals, and nutrition totals for up to 93 days.

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

Input Schema

NameRequiredDescriptionDefault
date_toNo
date_fromNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. The 93-day cap is a genuine behavioral constraint worth credit, but the description never states that this is a read-only aggregate, what happens when date_from/date_to are omitted, or how long the computation takes. For an unannotated tool, that leaves the mutation/safety profile and default behavior unstated.

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?

A single front-loaded sentence with no filler, and the verb-plus-outputs ordering is easy to scan. It is arguably under-specified rather than verbose, which is not a conciseness failure but does cost it a point against a five.

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

Completeness2/5

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

With no annotations, no output schema, and 0% parameter coverage, this description is the only documentation the agent has. It covers the what and the 93-day ceiling but omits date format, default window when both dates are null, and the shape of the returned statistics. That is a substantial gap for a two-optional-parameter analytics tool.

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

Parameters2/5

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

Schema description coverage is 0%: both date_from and date_to are bare nullable strings with no format, no default semantics, and no guidance on whether they are inclusive or exclusive. The description's "for up to 93 days" is the only parameter-adjacent clue and it only implies a range bound. It does not compensate for the coverage gap.

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 opens with a specific verb ("Calculate") and enumerates the concrete outputs: frequent foods, usual servings, meals, and nutrition totals. That distinguishes it from aggregation siblings like get_daily_nutrition_summary or get_most_eaten. It stops short of naming an alternative, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance and no named alternative among the many overlapping statistics siblings (get_most_eaten, get_recently_eaten, get_monthly_nutrition_summary). The "up to 93 days" phrase hints at a windowed aggregate use case but is the only contextual cue. An agent must infer selection criteria entirely on its own.

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