Skip to main content
Glama
olgasafonova

TilbudsTrolden

by olgasafonova

log_meal

Idempotent

Record cooked meals by date and recipe to track rotation and avoid repeating dishes in future weekly planning. Deduplicates entries and confirms date, recipe, and people logged.

Instructions

Record a cooked meal for rotation tracking. USE WHEN: logging what was cooked to avoid repeating meals in future planning. Deduplicates by date + recipe name. Returns confirmation with date, recipe, and people logged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesYYYY-MM-DD
peopleYesWho ate
recipeYesRecipe name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantive behavior beyond the single idempotentHint: deduplication by date + recipe name, and return confirmation contents (date, recipe, people). This tells the agent what happens on duplicate writes, which the annotation alone does not.

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?

Three front-loaded sentences: purpose, when-to-use, behavior/return. No waste, easily scannable.

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?

For a 3-param write with only idempotentHint annotation and no output schema, the description covers purpose, trigger, dedup behavior, and return shape. Minor gap: no note on whether people list must be non-empty or how meal history retrieval interacts.

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%, so all three params are documented in schema. The description mentions dedup key 'date + recipe name' implicitly supporting date and recipe semantics, but adds no format or constraint details beyond the 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?

States a specific verb+resource ('Record a cooked meal') and the domain purpose (rotation tracking to avoid repeating meals). Among 18 siblings, this is clearly distinguishable from plan_and_shop or log_spend.

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?

Explicit 'USE WHEN: logging what was cooked to avoid repeating meals in future planning.' Names the use case and its goal. No explicit exclusion conditions or named alternatives (e.g. vs get_meal_history), but the intent is clear.

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