Skip to main content
Glama

The Meal Plan Vault

Update meal prep

update_meal_prep
Idempotent

Change a meal prep: its prep day, servings, storage (fridge or freezer), use-by date, notes, or whether it's been cooked.

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": {
      "meal_prep_id": "<meal_prep_id>"
    },
    "name": "update_meal_prep"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
cookedNo
use_byNoISO date YYYY-MM-DD, or null to clear
storageNo
servingsNo
prep_dateNoISO date YYYY-MM-DD
meal_prep_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the safety profile is covered structurally. The description adds the concrete set of fields that can be mutated, but does not state partial-update semantics (are omitted fields left unchanged?), whether clearing a field requires null, or what happens on an unknown meal_prep_id.

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?

A single front-loaded sentence that puts the verb and target first, then the field list. No padding or redundancy; the only shortfall is that everything is packed into one sentence rather than separating behavior from fields.

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

Completeness3/5

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

For a seven-parameter mutation tool with no output schema and low schema description coverage, the description covers the field surface but leaves out update semantics and error/not-found behavior. Adequate to invoke, but not complete for correct use.

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 description coverage is only 29% (prep_date and use_by are the only documented properties), so the description must compensate. It does enumerate all six mutable fields in prose, including the fridge/freezer storage options, which is genuinely useful for a partial-update tool; however it adds no format or constraint detail beyond the schema and omits the required meal_prep_id.

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 a specific verb ('Change') and resource ('a meal prep') and enumerates the mutable surface: prep day, servings, storage, use-by date, notes, cooked status. Combined with the name, an agent can distinguish it from creation (plan_meal_prep) and deletion (remove_meal_prep) siblings, though the description itself does not name any alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, no mention that the meal prep must already exist, and no pointer to a sibling such as plan_meal_prep for creating one. The only usage signal is the verb 'Change', which the agent must interpret on its own.

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