Skip to main content
Glama

Bafan

Set recipe favorite

set_recipe_favorite
Idempotent

Save or unsave a recipe for the user.

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": {
      "recipe_id": "<recipe_id>",
      "saved": "<saved>"
    },
    "name": "set_recipe_favorite"
  }
}

Input Schema

NameRequiredDescriptionDefault
savedYes
recipe_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true, and openWorldHint=false, so the safety profile is largely covered. The description adds only "for the user" (personal scope) and does not say whether the recipe must exist, what happens to other recipes' state, or what a failed save returns.

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 eight-word sentence with the action and resource front-loaded; nothing is wasted. It is efficient but borders on under-specified rather than trimmed.

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?

The tool is simple (two required scalar params, no output schema, strong annotations), so the description is close to sufficient. It still omits the relationship to the save_recipe sibling and any error behavior, which are the remaining gaps an agent would want.

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 0%, so the schema supplies only names and types. The description's "Save or unsave" does clarify the meaning of the saved boolean, but recipe_id and any constraints (e.g., ID validity, behavior on unknown IDs) are left entirely unexplained.

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 gives a specific verb pair plus resource ("Save or unsave a recipe") and names the affected entity, which is enough to distinguish it from get_recipe or delete_recipe. It does not, however, distinguish it from the sibling save_recipe, which an agent could reasonably select instead.

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 when-to-use guidance, no exclusion of alternatives, and no mention of how this differs from the sibling save_recipe or from delete_recipe. The agent must infer the toggle semantics entirely from the verb pair and parameter names.

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