Skip to main content
Glama

analyze_meal_patterns

Analyze meal timing, frequency, and discover which foods appear on days you hit calorie and protein targets.

Instructions

Analyze meal timing, frequency, and which foods correlate with hitting targets.

Shows when you eat, how many meals per day, most frequent foods, and which
foods appear most on days where you hit your calorie and protein targets.

Args:
    start_date: Start date (YYYY-MM-DD). Default: 30 days ago.
    end_date: End date (YYYY-MM-DD). Default: today.
    limit: Max foods to show per category (default 15).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
end_dateNo
start_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden for behavioral transparency. It does not disclose whether the tool is read-only, requires authentication, or has any side effects. For an analysis tool, it likely does not modify data, but this is not stated, leaving uncertainty.

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?

The description is concise and well-structured, with a clear first sentence summarizing the tool, a second line listing outputs, and an Args section. Every sentence adds value, and the format is front-loaded for quick understanding.

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?

Given an output schema exists (not shown), the description appropriately does not detail return values. It covers the main analysis categories. However, it could mention the date range defaults or that it works with logged meals, but overall it is sufficiently complete for a read-only analysis tool.

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

Parameters5/5

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

The input schema has 0% description coverage, but the description's Args section provides full meaning for all three parameters: start_date (default 30 days ago), end_date (default today), and limit (max foods per category, default 15). This adds significant value beyond the schema's bare property definitions.

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 clearly states the tool's purpose: analyzing meal timing, frequency, and food correlations with hitting calorie/protein targets. It lists specific outputs (when you eat, meals per day, frequent foods, foods on hit-days), making it distinct from sibling tools like get_food_log or get_nutrition_summary.

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 description does not explicitly provide when or when not to use this tool versus alternatives. While the function is clear, there is no guidance on distinguishing it from similar analysis tools like nutrition_performance_correlation or get_insights. Usage is implied but not advised.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NasserAlbusaidi/macrofactor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server