Skip to main content
Glama

add_favorite

Add a recipe to a user's favorites by providing the user ID and recipe slug. Use it to save recipes for quick access in Mealie.

Instructions

Add Favorite — Users: Ratings. Create favorite. [POST /api/users/{id}/favorites/{slug}] Adds a recipe to the user's favorites Keywords: add_favorite, add favorite, create favorite, new favorite, make favorite, write favorite, favorite, favorites, users ratings, users, create, add, new, make, write, post, mealie.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.11

TDQS

C2.9/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 burden. It implies a write via 'Adds' and shows POST, but never says whether the operation is idempotent when the recipe is already favorited, what permissions are needed, or what is returned/errored.

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 functional sentence and endpoint are front-loaded and short, but the 'Keywords: ...' block is pure filler that merely restates the tool name and synonyms, adding no selection value.

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 simple two-parameter write tool with no annotations or output schema, the description covers the action and endpoint but omits idempotency, auth expectations, and success/failure behavior that an agent would need to call it safely.

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 coverage is 0%, but the endpoint template '/api/users/{id}/favorites/{slug}' usefully maps id to a user identifier and slug to a recipe identifier, and the schema supplies the uuid4 format for id. It still gives no guidance on where the caller obtains slug or whose user id is expected.

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 line 'Adds a recipe to the user's favorites' states a concrete verb and resource, and the endpoint template shows it is scoped to a user. It is distinguishable from siblings like remove_favorite and get_favorites, though the leading fragments ('Users: Ratings. Create favorite.') add noise rather than precision.

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?

Nothing states when to use this instead of remove_favorite, get_favorites, or set_rating, nor any precondition (e.g., recipe must exist, user must be the caller). Usage is only implied by the verb.

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