Skip to main content
Glama
FatSecret MCP Server

FatSecret MCP Server

get_month_of_statistics

Retrieve daily nutrition totals—calories, protein, carbs, and fat—for each diary-entry day in a specified month to track trends and support weekly or monthly analysis.

Instructions

Get daily nutrition totals (calories, protein, carbs, fat) for every day in a given month that has diary entries. Useful for tracking trends and weekly/monthly analysis. 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_month_of_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoAny date within the target month (YYYY-MM-DD). Defaults to current month.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose two non-obvious traits: only days that actually have diary entries are returned (so gaps in output are expected), and OAuth 1.0 user credentials are required. It does not describe ordering, empty-month behavior, or the response shape, which keeps it below a 5.

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?

Three short sentences: capability and scope first, intended use second, prerequisite last. Every sentence carries information an agent cannot get from the name or schema, with no filler.

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 single-parameter read tool with no output schema, the description covers what is returned (the four macro fields per day), the filtering rule, and the auth requirement. Missing are the response structure and what an empty month yields, which matters because no output schema exists to fill that gap.

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 description coverage is 100% and the sole parameter's description already states the format (YYYY-MM-DD) and the current-month default. The description adds no further meaning about the date parameter, so the baseline 3 applies.

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 names a specific verb and resource ('Get daily nutrition totals'), enumerates the returned fields (calories, protein, carbs, fat), and scopes it to 'every day in a given month that has diary entries.' The month-level scope plus the sparse-day filter cleanly separates it from the day-level sibling get_daily_nutrition without needing to name it.

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

Usage Guidelines4/5

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

It gives clear usage context ('Useful for tracking trends and weekly/monthly analysis'), which tells an agent the aggregation intent behind the call. It stops short of explicit exclusions or naming get_daily_nutrition as the alternative for a single day, so guidance is clear but not complete.

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