Skip to main content
Glama

Set meal plan

set_meal_plan
DestructiveIdempotent

The user's meal plan: up to 12 meals plus the fixed catch-all 'other'. Each meal has a stable key, a label and an optional time window. Pass a preset (two_meals: lunch+dinner; three_meals; three_meals_two_snacks), or 'slots' as the whole plan in the order wanted: a slot without 'meal' creates a new meal (its key is derived from the label, e.g. 'Post-dinner snack' → post_dinner_snack); a known key or label updates that meal (omitted fields keep their values); meals not listed are turned off, not deleted. Use 'remove' to delete meals for good: their logged food moves to other. Renaming keeps the key and the entries.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_meal_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotsNo
presetNo
removeNoKeys (or labels) of meals to delete. Their entries move to other and their meal targets are dropped. Can be combined with slots.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description adds genuinely non-obvious behavior on top: meals not listed are turned off rather than deleted, 'remove' permanently deletes and relocates their logged food to 'other', omitted fields retain their values, and renaming preserves the key and its entries. That is exactly the data-loss and identity semantics an agent needs before calling a destructive tool.

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?

The paragraph is dense but every clause carries semantic load — presets, key derivation, update-vs-create, omission behavior, turn-off-vs-delete, and rename semantics. The opening sentence describes the resource rather than leading with the action, which slightly weakens front-loading, 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?

For a destructive, zero-required-parameter mutation with no output schema, the description covers the important consequences (existing meals disabled, entries relocated, keys stable across rename) and all three inputs. It stops short of saying what the call returns or how the resulting plan is reported, which is a minor gap given no output schema exists.

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

Parameters5/5

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

With only 33% schema description coverage, the description carries real weight and does so: it enumerates the preset meanings (two_meals = lunch+dinner; three_meals; three_meals_two_snacks), explains that a slot without 'meal' creates a meal whose key is derived from the label (with a worked example), and defines 'slots' as the complete ordered plan. This goes well beyond the schema's per-field text.

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?

The description names the specific resource (the user's meal plan with up to 12 meals plus a fixed 'other') and the three ways to set it — a preset, a full 'slots' list, or 'remove'. It does not explicitly contrast itself with the sibling set_meal_targets, so an agent must infer the plan-vs-targets split, which keeps this at 4.

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?

It clearly states the conditions selecting each mode: pass a preset name, pass 'slots' as the whole plan in the order wanted, or use 'remove' to delete meals for good, and notes preset 'slots' and 'remove' can be combined. What's missing is a statement of when to reach for this tool rather than set_meal_targets or set_targets.

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