Skip to main content
Glama
djwmarcx

Better Mealie MCP

Create Households Mealplans Random

create_households_mealplans_random

Create a randomized meal plan for a household on a specific date and meal type, following household mealplan rules or falling back to any random meal when no settings exist.

Instructions

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

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
entryTypeNo
accept-languageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.20.1

TDQS

C2.9/5.0
Behavior3/5

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

The description adds useful behavioral context by stating that selection follows household mealplan settings and falls back to any random meal if no settings exist. With no annotations, however, it does not disclose whether the endpoint persists a mealplan record, what authentication is needed, or how entryType affects selection.

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?

The description is compact at three sentences and front-loads the tool's purpose before explaining behavior and pointing to related routes. The first sentence is slightly weak, but there is no wasted prose.

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?

The description covers the core random-selection behavior and references the rules routes, but it omits parameter semantics and usage guidance, and leaves the create-versus-return ambiguity unresolved. For a 3-parameter endpoint with no annotations, this is not enough for an agent to call it confidently.

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, entryType, or accept-language. The agent is left to infer the role of each parameter, so the description adds no meaning beyond the raw schema.

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 identifies the tool as the randomized mealplan functionality and explains that it selects a meal based on household mealplan rules, returning any random meal when no rules are set. It is not a tautology, although 'provides the randomized functionality' is vaguer than explicitly stating it creates a random mealplan entry.

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 description implies this tool should be used when a random meal is needed and references mealplan settings routes for rule configuration. However, it does not explicitly contrast this with related siblings like create_households_mealplans or state when not to use it.

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