Skip to main content
Glama

Log food

weight-forecast.logFood

Log a food item (name + calories, optional macros) for the authenticated user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fatNo
dateNoISO date (YYYY-MM-DD). Defaults to today.
nameYes
carbsNo
proteinNo
caloriesYes
mealTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It notes the tool acts for the 'authenticated user' but never says whether repeated logging creates duplicates, whether entries are editable/overwritable, what validation or errors occur, or what the response looks like for this mutation tool.

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?

A single tight sentence with the core fields front-loaded and zero wasted wording. Nothing needs trimming.

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 7-parameter mutation tool with no annotations, no output schema, and 14% schema description coverage, the description is too thin. It should disclose duplicate semantics, date defaulting behavior, and mealType usage to be callable with confidence.

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 very low (14%), so the description must compensate. It does group the optional fat/carbs/protein as 'macros' and names the two required fields, but it omits the date parameter (which defaults to today) and the mealType enum entirely.

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?

States a specific verb ('Log') and resource ('a food item') and identifies the required fields (name + calories) and optional ones (macros). It is clearly distinct from siblings like addWeight, getForecast, and listEntries, though it does not explicitly contrast itself with them.

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 description gives no when-to-use guidance, no exclusions, and never references the sibling tools an agent might confuse this with (e.g., addWeight). Usage is only implied by the tool name and resource.

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