Skip to main content
Glama

quick_add_foods

Add calories and macros to a specific date's Garmin food log; submit one or more quick-add items and omit the date to log today.

Instructions

Quick-add nutrition entries (calories/macros) to the food log for a specific date.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "items": "<items>"
    },
    "name": "quick_add_foods"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate in YYYY-MM-DD format (defaults to today)
itemsYesArray of quick-add food item objects

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It states an additive write effect ('quick-add ... to the food log') but omits permissions, duplicate handling, whether items are created or matched, and what the response contains.

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 definition is a single front-loaded sentence with no filler. Every word contributes to identifying the action, payload, and target.

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?

For a write tool with a flexible 'items' array whose object fields are not defined in the schema, the description is too thin. It does not explain the structure of each food item or other behavioral details needed to invoke the tool correctly, and no annotations compensate for those gaps.

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 description coverage is 100%, so the schema already documents the date format and that items is an array of objects. The description adds a hint that entries involve calories/macros, but it does not specify the required item object fields or key names.

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 gives a specific verb ('quick-add'), resource ('nutrition entries'), and destination ('food log') with date scoping. It is clear what the tool does, but it does not name or distinguish itself from siblings such as search_foods or get_custom_foods.

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?

The phrase 'to the food log' implies a logging use case, but there is no explicit guidance on when to use this tool versus alternatives like searching foods or retrieving custom foods. No exclusions or prerequisites are stated.

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

Deploy Server

Other Tools