Skip to main content
Glama
Better Mealie MCP

Better Mealie MCP

Create Households Mealplans Random

create_households_mealplans_random

Generates a random meal plan entry for a household on a chosen date, applying configured meal-plan rules and falling back to any random meal when no rules exist.

Instructions

create_random_meal is a route that provides the randomized functionality for meal planners. It operates by following the rules set out in the household's meal plan settings. If no settings are set, it will return any random meal.

Refer to the meal plan settings routes for more information on how rules can be applied to the random meal selector.

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": {
      "date": "<date>"
    },
    "name": "create_households_mealplans_random"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
endDateNo
entryTypeNo
accept-languageNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.30.0
    • addedInput schema / properties / endDate
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  2. First observedv3.20.1

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden, yet it omits whether this persists a meal plan entry, what date and endDate control, and whether authentication or permission constraints apply. It does disclose that rules from household settings influence selection and that a fallback applies, but critical mutation semantics remain unexplained.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only three sentences and front-loads the general behavior, but it spends space on internal route naming and a cross-reference to settings routes. That wording could be tightened while adding actionable parameter guidance instead.

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?

For a create-oriented endpoint with four undocumented parameters and no annotations, the description should clarify persistence, parameter roles, and side effects. The output schema covers return values, but the call semantics an agent needs are still largely missing.

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

Parameters1/5

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

Schema description coverage is 0%, and the description never mentions date, endDate, entryType, or accept-language. None of the four parameters receive any semantic explanation beyond what their names and types imply.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says it provides randomized meal planner functionality and falls back to any random meal when settings are absent. However, it never clearly states that it creates a meal plan entry for a specific household/date, and the internal route name 'create_random_meal' conflicts with the tool name in a way that leaves the actual operation ambiguous.

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 guidance on when to use this tool versus create_households_mealplans or list_households_mealplans. The only routing hint is a generic reference to meal plan settings routes, which does not tell an agent what selection criteria or preconditions make this endpoint appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools