Skip to main content
Glama

Ration Kitchen Agent Server

set_active_meals

Idempotent

Purpose-built: set the Galley active meal selection to exactly these mealIds (clears others). Optionally sync supply afterward.

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": {
      "mealIds": "<mealIds>"
    },
    "name": "set_active_meals"
  }
}

Input Schema

NameRequiredDescriptionDefault
mealIdsYes
syncSupplyNo

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
metaNo
toolYes
errorNo
outcomeNo
warningsNo
requestIdNo
retryableNo
operationIdNo
retryAfterMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (idempotent, non-destructive, closed-world), the description discloses the key behavioral trait: this is a full replacement that clears previously selected meals, and it has an optional downstream side effect on supply. It does not mention limits on how many meals can be set or what happens to invalid IDs, but the replacement semantics are the crucial disclosure.

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?

Two tight sentences, with the core replacement semantics front-loaded before the optional flag. 'Purpose-built:' is mild filler that could be dropped, but nothing else is wasted.

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 simple two-parameter mutation with an output schema and full annotation coverage, the description supplies the essential replacement semantics and the optional side effect. Only edge-case behavior (item cap, invalid or duplicate IDs) is missing, which is minor at this complexity.

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 0%, so the description must carry the load. It explains mealIds as the complete target selection (the 'exactly' framing adds real meaning beyond the array type) and clarifies syncSupply as an optional post-step sync, but omits the 50-item cap and any invalid-ID behavior.

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?

States a specific verb and resource ('set the Galley active meal selection') and pins the semantics with 'to exactly these mealIds (clears others)', which distinguishes it from clear_active_meals and set_nutrition_goal. It does not name a sibling explicitly, but the replace-whole-set wording is unambiguous.

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

Usage Guidelines3/5

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

The phrase 'set ... to exactly these mealIds (clears others)' implies when to use it over an additive or clear operation, and 'Optionally sync supply afterward' tells the agent the follow-up is discretionary. There is no explicit when-not guidance or named alternative for clearing selections entirely.

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