Skip to main content
Glama

get_nutrition_food_log_range

Read-only

Daily food logs over a range; works without Connect+. GETs /nutrition-service/food/logs/range?startDate&endDate: {dailyNutritionSummaries}, one day-log per day that has anything logged.

Input Schema

NameRequiredDescriptionDefault
enddateYesCalendar date, YYYY-MM-DD (UTC)
startdateYesCalendar date, YYYY-MM-DD (UTC)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the read-only and open-world profile, so the bar is lower, and the description still adds real behavior: no Connect+ subscription required, plus the important detail that only days with logged data appear ('one day-log per day that has anything logged'), which prevents the agent from assuming a dense zero-filled series. It omits rate limits and pagination, but for a read-only tool this is solid added context.

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 purpose sentence followed by a compact endpoint/value-shape note; no filler. The second clause is tersely punctuated, but every element (endpoint, required params, return shape) earns its place.

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

Completeness5/5

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

There is no output schema, so the description compensates by naming the response key and its granularity. Combined with the Connect+ note and the conditional-inclusion behavior, an agent has enough to call this correctly with just two date parameters.

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% with both date parameters documented as YYYY-MM-DD UTC, so the schema carries the burden. The description echoes startDate/endDate in the endpoint path but adds no new semantics such as inclusivity of the boundaries or a maximum range span.

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?

States a specific verb+resource and scope: daily food logs across a date range, with the exact endpoint and the shape of the returned collection. The 'range' scope implicitly separates it from the sibling get_nutrition_daily_food_log (single day), so an agent can route between them without opening schemas.

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?

Adds one genuinely useful eligibility rule: 'works without Connect+', which tells the agent it can call this on free-tier accounts. However, it never states when to prefer this over the single-day get_nutrition_daily_food_log or get_nutrition_daily_meals sibling, leaving the range-vs-single-day choice to inference.

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.