Skip to main content
Glama

Get food log

get_food_log
Read-onlyIdempotent

Entries for one date, or a range up to 31 days. Entries include ids for update/delete.

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

Input Schema

NameRequiredDescriptionDefault
dateNoSingle day. Default: today
end_dateNoCalendar date YYYY-MM-DD in the user's timezone
start_dateNoCalendar date YYYY-MM-DD in the user's timezone

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds value beyond them: a hard 31-day range limit and the fact that returned entries carry ids usable for update/delete follow-ups. It omits ordering, pagination, and behavior on empty dates.

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 short sentences with zero filler, front-loading the scope and following with the downstream-usability fact. Every clause carries information an agent needs.

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 three-parameter read tool with full schema coverage and complete annotations, the definition covers scope, limits, and the shape of returned identifiers. Without an output schema, the description could say more about what each entry contains, but nothing required to call it correctly is missing.

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?

Schema coverage is 100% and every parameter is documented, so the baseline is 3. The description adds a semantic constraint not stated in the schema: date is for a single day while start_date/end_date delimits a range, and the range cannot exceed 31 days.

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 states the resource (food log entries) and the scope (one date or a range), so an agent knows this is a read of logged entries. It does not explicitly name the sibling write tool log_food or the summary tools, so differentiation from siblings is implied only by the verb-less phrasing.

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?

The 31-day range cap gives a concrete usage constraint and the 'one date, or a range' phrasing implies date is used alone or with start/end. However, there is no guidance on when to prefer this over get_daily_summary or get_nutrition_trend, and no exclusions.

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