Skip to main content
Glama

skylight_update_meal

Destructive

Update a planned meal by changing its name, recipe, slot, notes, date, or repeat rule. Choose recurrence scope to edit one occurrence, future occurrences, or the entire series.

Instructions

Update a planned meal (meal sitting) — change its name, recipe, category/slot, notes, date or repeat rule. Targets one occurrence by its date and applies the change at the chosen recurrence scope. For a recurring meal, note that apply_to:'one' and 'future' SPLIT the series into additional sittings rather than editing in place; re-run skylight_list_meals afterward to see the resulting shape.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMeal sitting id (from skylight_list_meals).
dateNoYYYY-MM-DD to move the meal to.
noteNo
rruleNoReplacement iCal RRULE string (plain string, NOT an array).
confirmNoMust be true to proceed. Without this, the tool returns a preview.
frameIdNo
summaryNoNew meal name. The create route 422s when this is non-blank and meal_recipe_id is also set; whether PATCH enforces the same rule is UNVERIFIED, so prefer setting one or the other.
apply_toYesRecurrence scope: 'one' = just this occurrence (splits it out of the series), 'future' = this and all later occurrences (splits the tail into a new sitting), 'all' = the whole series.
descriptionNoIngredients / instructions.
instance_dateYesYYYY-MM-DD of the occurrence to act on — must be one of that sitting's `instances`.
meal_recipe_idNoLink a different recipe.
meal_category_idNoMove to another slot (breakfast/lunch/dinner).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.8.1

TDQS

A4.5/5.0
Behavior4/5

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

The annotations only include destructiveHint: true, so the description carries the burden of explaining the mutation's side effects. It does this well by warning that apply_to:'one' and 'future' SPLIT the series into additional sittings rather than editing in place. It does not mention the preview/confirm flow or other side effects, but the key surprising behavior is disclosed.

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 sentences with no waste: the first states what the tool does, the second explains targeting mechanism, and the third warns about the most important behavioral nuance. The critical splitting warning is placed where it is likely to be read before invocation, and the follow-up tool reference is concise and useful.

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 tool with recurrence complexity and no output schema, the description is complete enough: it covers the editable fields, the occurrence targeting, the apply_to semantics including the split behavior, and points to the right follow-up tool. The only missing piece, the confirm/preview flow, is already documented in the schema, so the description doesn't need to repeat it.

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 description coverage is 83%, so the schema already documents most parameters. The description adds value by explaining the meaning of apply_to in the context of recurrence ('SPLIT the series into additional sittings') and by emphasizing that the tool targets a specific occurrence via its date. This goes beyond what the parameter list alone states, though some parameters like confirm and frameId are not addressed in the description.

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?

The description states a specific verb ('Update') and resource ('planned meal (meal sitting)'), lists the editable fields (name, recipe, category/slot, notes, date, repeat rule), and clarifies that it targets one occurrence by date. This clearly differentiates it from siblings like skylight_plan_meal or skylight_delete_meal, which create or remove meals rather than modify an existing sitting.

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?

The description gives clear context: use this to update an existing meal sitting, and it even advises re-running skylight_list_meals to inspect the resulting series shape after recurrence changes. It does not explicitly state when not to use it or name alternative tools such as skylight_plan_meal, but the context is sufficient for an agent to route correctly.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrischall/skylight-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server