Skip to main content
Glama

log_anything

Log food, drinks, water, exercise, or a weigh-in from one natural-language sentence — the same parser as the app's voice logging. Examples: 'two eggs and toast', '30 minute run', '3 glasses of water', 'weighed 184 this morning'. Spoken dates like 'yesterday I had pizza' work. Describe the FOOD, not just numbers: stating explicit nutrition in the text ('burrito, 800 calories') pins those totals exactly but logs ONE pre-computed item with no ingredient breakdown — if you do that, follow up with update_log's ingredients array so the log keeps its per-item detail.

Input Schema

NameRequiredDescriptionDefault
textYesWhat to log, in plain words.
logged_atNoBare-local timestamp YYYY-MM-DDThh:mm:ss (no zone). Omit to use the user's 'now'.
tz_offset_minNoThe user's JS getTimezoneOffset() — minutes BEHIND UTC (e.g. 240 for EDT). Optional: when omitted, the user's app-reported timezone is used (UTC only if the account has never reported one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, and openWorld=false, so the mutation profile is known; the description still earns credit for disclosing a non-obvious side effect (explicit nutrition pins totals and collapses the entry into one pre-computed item with no ingredient breakdown). However it never says what comes back from the call (e.g. a log id), which the prescribed update_log follow-up depends on.

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?

Purpose and examples are front-loaded and every sentence carries information, including the nutrition caveat. Slightly dense in the final sentence, which could be tightened, but there is no filler.

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?

Strong for a mutation tool with annotated safety: behavior, parsing quirks, and a remediation path are all present. The one gap is the return contract — the description instructs a follow-up update_log call without stating that an id is returned to make it possible.

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 coverage is 100% and logged_at/tz_offset_min are already documented in-schema. The description adds real meaning only about `text` — the parser is the app's voice parser, spoken dates are accepted, and explicit nutrition changes how the text is interpreted — but it doesn't tie those behaviors to the parameter explicitly or give syntax/format hints beyond the schema.

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?

A concrete verb and an explicit list of resources (food, drinks, water, exercise, weigh-in), plus four worked examples that make the input shape concrete. It does not, however, differentiate itself from the sibling tools log_exercise / log_water / log_weight, so an agent must infer that this is the natural-language generalist.

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?

Given clear conditions: free-form sentences, spoken dates like 'yesterday', and a specific branch telling the agent to follow up with update_log's `ingredients` array when explicit nutrition is stated. Missing an explicit when-not / prefer-log_water style exclusion against the domain-specific siblings.

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