Skip to main content
Glama

get_daily_food_logs

Read-only

Retrieve nutrition food logs for a specific calendar date to review daily dietary intake and track meals.

Instructions

饮食记录。与官方客户端 get_daily_food_logs 一一对应。参数和日期限制沿用官方接口。Return nutrition food logs for a calendar date.

Input Schema

NameRequiredDescriptionDefault
calendar_dateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and open-world nature are covered. The description adds only that it is 1:1 with the official client and that "parameter and date restrictions follow the official API" — a pointer to external, unspecified constraints rather than a disclosure of them. No info about data source, auth, or limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but two of the four sentences (the Chinese title restatement and the "official client 1:1" claim) add nothing actionable. The useful information is buried last instead of front-loaded, and the language mixing reduces clarity.

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 output schema and an openWorld hint, the description should say what a food log entry roughly contains and where data comes from; it does neither. The unactionable deferral to "official interface" restrictions leaves real open questions for a caller.

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% for the single required parameter calendar_date, so the description must compensate and it does not: no format (ISO date?), timezone, or range limits are given. The phrase "参数和日期限制沿用官方接口" explicitly defers parameter semantics to an interface the agent cannot see.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The English sentence names a specific verb (return) and resource (nutrition food logs) scoped to a calendar date, which separates it from the sibling daily-metric tools like get_daily_steps. However, the Chinese preamble ("饮食记录") merely restates the name, and nothing explains how food logs differ in shape from the other daily summaries.

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?

No statement of when to call this versus get_daily_summaries or get_daily_hydration, and no prerequisites. The only framing given is that it mirrors the official client, which does not help an agent choose it over siblings.

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