Skip to main content
Glama

log_meal

Record meals you eat—including item, location, mood, hunger, and rating—to build a personalized taste profile over time.

Instructions

Log a meal you ate. This builds your taste profile over time.

Use this when someone says "I had the chicken at Wiley" or "just ate at Ford, it was great".

Args:
    item_name: What you ate (e.g. "Grilled Chicken", "Pasta Primavera")
    location: Where you ate (e.g. "wiley", "ford")
    meal_type: "breakfast", "lunch", or "dinner" (auto-detected if not given)
    mood: How you're feeling (e.g. "tired", "great", "stressed")
    hunger_level: 1 (snack) to 5 (starving)
    rating: 1-5 rating of the food
    notes: Any additional notes

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": {
      "item_name": "<item_name>"
    },
    "name": "log_meal"
  }
}

Input Schema

NameRequiredDescriptionDefault
moodNo
notesNo
ratingNo
locationNo
item_nameYes
meal_typeNo
hunger_levelNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden, and it does disclose two useful traits: the write is cumulative ('builds your taste profile over time') and meal_type is inferred when omitted. It does not say whether duplicate logs are allowed, whether location must match a known dining venue, or what failure looks like, which matters for an unannotated mutation.

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?

Front-loaded with purpose, then a usage line, then a clean per-argument block — easy to scan and no filler. The Args list is somewhat mechanical but each entry adds information rather than restating the schema titles.

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?

An output schema exists, so return values need not be explained, and the description covers the seven-parameter surface plus the inference behavior. For an unannotated mutation, a line about persistence or duplicate handling would close the remaining gap, but an agent has enough to invoke it correctly.

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

Parameters4/5

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

Schema coverage is 0% — titles only — so the description must compensate, and it does: every one of the seven parameters gets meaning plus examples, including the hunger_level 1–5 scale anchors ('snack' to 'starving') and the allowed meal_type values. It stops short of defining rating granularity or whether location is free-text or an enum-like key, so it is not complete.

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 and resource ('Log a meal you ate') plus the downstream effect ('builds your taste profile over time'), which an agent can act on immediately. It does not distinguish itself from the related sibling rate_item, even though both appear to capture a rating, so it falls short of a 5.

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?

Provides concrete trigger phrasing — 'I had the chicken at Wiley', 'just ate at Ford, it was great' — which maps natural user utterances to this tool, a genuinely useful usage signal. It gives no exclusions or 'use X instead' routing, so an agent facing a pure rating request has no stated tie-breaker against rate_item.

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