Skip to main content
Glama

update_client_saved_meal

Rename a client's saved meal and/or replace its foods (the foods list replaces the old one: get it with list_client_saved_meals first). Totals are recomputed. (confirm-gated: previews until confirm: true)

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": {
      "id": "<id>",
      "input": "<input>"
    },
    "name": "update_client_saved_meal"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
inputYes
confirmNoMust be true to actually execute. If false/omitted, returns a preview only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the lone readOnlyHint=false annotation, it discloses two key behaviors: the foods list fully replaces the old one (a destructive overwrite an agent must not treat as a merge) and totals are recomputed. The confirm-gated preview is valuable mutation-safety context. It could still note permissions or required full-list resupply more explicitly, so not a top mark.

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?

Three compact sentences with the operation front-loaded and the destructive replacement followed by the confirm-gate. Dense parentheticals are efficient rather than wasteful, though the '-and/or-' phrasing contributes to the ambiguity noted above.

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 nested-object mutation tool with no output schema and minimal annotations, the description covers the essential behavioral risks (overwrite, recompute, preview). The main residual gap is the 'and/or' wording conflicting with the schema's required name+items, which could lead an agent to omit a required field.

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?

It explains the replacement semantics of the items array and the confirm flag's effect, which adds meaning beyond the schema. However, 'rename and/or replace its foods' implies either field can be supplied independently, while the schema requires both name and items — a misleading mismatch that undermines parameter guidance at 33% coverage.

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 verb+resource (rename and/or replace foods of a client's saved meal) and its scope. It does not explicitly contrast with create_client_saved_meal or delete_client_saved_meal, but the update semantics are unambiguous.

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 gives concrete sequencing guidance ('get it with list_client_saved_meals first') and explains the confirm-gating ('previews until confirm: true'), which tells the agent how to invoke it in two phases. It lacks explicit when-not/alternative framing versus other saved-meal tools.

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.