Skip to main content
Glama

Rename Favorite Meal

rename_favorite_meal
DestructiveIdempotent

Rename one of the user's favorite meals. Use when the user asks to rename a favorite. Its foods stay the same. The result gives the new and previous name.

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": {
      "favorite_meal_id": "<favorite_meal_id>",
      "name": "<name>",
      "request_id": "<request_id>"
    },
    "name": "rename_favorite_meal"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe new name.
request_idYesA new unique string for this action. Reuse it only when retrying the same action.
favorite_meal_idYesThe favorite meal id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the bar is lower, yet the description adds real value: "Its foods stay the same" scopes the mutation to the name only (important given the destructive flag), and "The result gives the new and previous name" discloses the response, which no output schema provides. It omits permission/auth requirements and any rollback semantics, keeping it from a 5.

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?

Four short sentences, front-loaded with purpose then usage, behavior, and return value; nothing is wasted. Phrasing is slightly clipped ("Its foods stay the same") but still perfectly legible.

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

Completeness4/5

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

A simple three-parameter mutation with full schema coverage and annotations covering the safety profile; the description additionally covers return values, which compensates for the absent output schema. Only permission prerequisites are unaddressed, a minor gap at this complexity level.

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 100%, so all three parameters (name, request_id, favorite_meal_id) are already documented in the schema. The description adds no syntax, format, or validation detail about the new name beyond what the schema states, so the baseline 3 applies.

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 and resource ("Rename one of the user's favorite meals"), which is clearly distinct from create_favorite_meal, delete_favorite_meal or log_favorite_meal by verb alone. It stops short of explicitly naming which sibling to use instead, so it is clear but not maximally differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Use when the user asks to rename a favorite" supplies a concrete trigger condition, which is more than most definitions offer. It does not state when NOT to use it (e.g. renaming a saved recipe or a log entry), but the context is unambiguous enough for correct selection.

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