Skip to main content
Glama

Set the meal for a day

set_meal_decision
Destructive

Set today's instance of a recurring meal/decision routine. Commits immediately.

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": {
      "routine_id": "<routine_id>",
      "prompt": "<prompt>",
      "chosen": "<chosen>"
    },
    "name": "set_meal_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
chosenYes
promptYes
rationaleNo
routine_idYes
additional_informationNoAny extra structured details that don't fit the fields above (kept on the record verbatim).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false; the description adds "Commits immediately," which usefully tells the agent there is no draft/preview stage. It does not disclose what an existing entry is replaced with, whether the overwrite is recoverable, or what happens when today's instance already exists — meaningful gaps for a destructive write.

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 short sentences with the scoping constraint and the commit behavior front-loaded, no filler. It is efficient, though the brevity borders on under-specification rather than deliberate concision.

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

Completeness2/5

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

This is a destructive mutation with no output schema, 20% schema coverage, and a nested free-form object parameter — the highest-burden combination — yet the description is a single clause. An agent lacks the information needed to call it safely or to know what a successful commit produces.

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

Parameters2/5

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

Schema description coverage is only 20% across five parameters, so the description must carry the load and it does not: routine_id, prompt, chosen, and rationale are never explained, nor is the nested additional_information object. The agent cannot tell, for example, whether 'prompt' is an identifier or free text, or how 'chosen' relates to the routine's options.

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 ("Set") and a specific resource ("today's instance of a recurring meal/decision routine"), so an agent knows it writes a single day's entry rather than the routine itself. It does not differentiate itself from nearby siblings such as record_decision or complete_routine_today, leaving the boundary to inference.

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?

"Today's instance" implies a day-scoped use case, but there is no explicit when-to-use, when-not-to-use, or named alternative. The agent must guess whether this replaces an existing decision, creates one, or how it relates to record_decision and list_decision_prompts.

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