Skip to main content
Glama
gohluke

Dayze MCP

by gohluke

Log Food (diary write)

log_food

Add a food or drink entry to the user's Dayze food diary and calendar. Optionally include meal period, companions, place, amount, and consumed time.

Instructions

MUTATES the authenticated user Food Diary and calendar. Use when they ate or drank — do not store this as a chat memory. Example: “I had Mee Pok for late lunch with my parents” → log_food({ what: "Mee Pok", kind: "meal", meal_period: "late lunch", with: ["my parents"] }). Optional: place/merchant, amount, consumed_at (ISO). Resolves with/Mum/Dad via person aliases; unknown names do not fail the food write. Tags companions on the mirrored event. Rebuilds life_state. Requires API key or OAuth with scope context. Share tokens cannot write. ($0.10; API key required)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo
whatYesWhat they ate or drank (required). Example: Mee Pok
withNoCompanion names, aliases, ids, or group tokens. "my parents" / Mum / Dad resolve via aliases; "family" expands to CRM rows with family relationship labels
notesNo
placeNoVenue or location
amountNoPrice if mentioned
paid_byNoWho paid (name or alias)
currencyNoISO currency, e.g. SGD
merchantNoRestaurant, stall, or shop
person_idsNoOwned person UUIDs to tag (user-scoped)
request_idNoClient idempotency key (retries return original result).
consumed_atNoISO 8601 datetime; wins over meal_period
meal_periodNoSpoken period when consumed_at is omitted, e.g. "late lunch"
people_namesNoAlias for with
idempotency_keyNoAlias for request_id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
food_idYes
messageYes
event_idYes
food_logYesSaved Food Diary row.
people_taggedYes
unresolved_peopleYes
life_state_rebuiltYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.28.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description reveals mutation, side effects ('Tags companions on the mirrored event', 'Rebuilds life_state'), alias resolution behavior, unknown-name tolerance, and authentication constraints ('Requires API key or OAuth... Share tokens cannot write'). These are meaningful behavioral facts not inferable from readOnlyHint/destructiveHint alone.

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?

Every sentence earns its place: mutation warning, trigger condition, worked example, optional fields, side effects, auth limitations, and pricing. The key information is front-loaded and the later sentences are short and scannable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 15-parameter mutating tool, the description, combined with a rich input schema and output schema, is complete. It provides a worked example, side-effect model, authentication requirements, and enough parameter semantics to make a correct call without additional inference.

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 87%, so the schema already documents most parameters. The description adds real value by mapping an utterance to what/kind/meal_period/with, noting the optional place/merchant/amount/consumed_at fields, and explaining alias resolution and non-failure for unknown names.

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?

Description opens with 'MUTATES the authenticated user Food Diary and calendar,' naming the exact action and resource, then supplies a concrete natural-language example. The title '(diary write)' plus 'Use when they ate or drank' clearly separates it from sibling tools like log_event and update_food.

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?

Explicitly states 'Use when they ate or drank — do not store this as a chat memory,' giving both a positive trigger and a negative instruction. It does not directly name sibling alternatives such as log_event, update_food, or delete_food, but the food/meal trigger makes the intended selection clear.

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