Skip to main content
Glama

Save a meal template

create_meal_template

Saves a reusable meal (name, time and foods) to drop into diet plans.

Input Schema

NameRequiredDescriptionDefault
nameYesE.g. "Pré-treino".
timeNoHH:MM.
itemsNo
notesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds that the saved meal is a reusable library object, but says nothing about duplicate-name behavior, ownership/scope, or whether the created template is immediately usable in a diet plan.

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?

A single tight sentence with no filler, and the object being created is front-loaded. It is efficient but borders on under-specified given the nested items payload.

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

Completeness3/5

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

For a create tool with a nested items array, four parameters and no output schema, the description covers the basic shape but not the item payload semantics (catalog food vs custom food, macro fields) or what identifier comes back for reuse. Annotations carry the mutation profile, but meaningful context is still missing.

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 only 50%, and the description names three of the four top-level parameters (name, time, foods/items), which helps map intent. However it says nothing about the 'notes' field or about the item-level choice between food_id and custom_name, so it only partially compensates for the coverage gap.

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 concrete verb ('Saves') and a concrete resource ('a reusable meal'), and enumerates what the template holds (name, time, foods). It is clear what the tool produces, though it does not explicitly differentiate itself from create_diet_plan or update_meal_template in the sibling list.

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 'to drop into diet plans' implies the intended workflow (build a reusable meal first, then reference it in a plan), but there is no explicit when-to-use, no mention of list_meal_templates/update_meal_template as alternatives, and no statement about prerequisites such as needing a food_id.

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