Skip to main content
Glama

add_repeat_item

Schedule recurring food entries to automatically log meals on specific days, simplifying nutrition tracking in Cronometer.

Instructions

Add a recurring food entry that auto-logs on selected days.

Quantity is in default servings for the food (e.g., for coffee where the default serving is 1 cup, quantity=12 means 12 cups).

Use search_foods to find food_id and food_source_id.

Args: food_id: Numeric food ID from search_foods results. food_source_id: Food source ID from search_foods results. quantity: Number of default servings. food_name: Display name for the food. diary_group: Meal slot — "Breakfast", "Lunch", "Dinner", or "Snacks". days_of_week: Comma-separated day numbers (0=Sun, 1=Mon, ..., 6=Sat), or "all" for every day (default), or "weekdays", or "weekends".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
food_idYes
food_source_idYes
quantityYes
food_nameYes
diary_groupNoBreakfast
days_of_weekNoall

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses key behaviors: the tool creates recurring entries that auto-log, uses default servings for quantity, and has default values for diary_group and days_of_week. However, it doesn't cover permissions, rate limits, or what happens on conflicts (e.g., if a repeat item already exists for those days).

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?

The description is well-structured: purpose first, then quantity explanation, usage hint, and parameter details. It's appropriately sized but could be slightly more concise (e.g., the quantity example could be integrated more tightly). Every sentence adds value.

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 6 parameters with 0% schema coverage and no annotations, the description does an excellent job explaining parameters and tool purpose. Since an output schema exists, return values needn't be described. The main gap is lack of behavioral details like error conditions or side effects.

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?

Schema description coverage is 0%, so the description must fully compensate. It provides detailed semantics for all 6 parameters: explains quantity units (default servings), sources for IDs (search_foods), diary_group options, and days_of_week format with examples. This adds substantial meaning beyond the bare schema.

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: 'Add a recurring food entry that auto-logs on selected days.' It specifies the verb ('add'), resource ('recurring food entry'), and key behavior ('auto-logs on selected days'), distinguishing it from sibling tools like add_food_entry (which likely adds one-time entries).

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?

The description provides clear context for usage: it references search_foods to find required IDs and explains the tool's role in creating recurring entries. However, it doesn't explicitly state when NOT to use it (e.g., vs. add_food_entry for one-time entries) or mention prerequisites beyond ID sourcing.

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/cphoskins/cronometer-mcp'

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