Skip to main content
Glama
Paxaver MCP Server

Paxaver MCP Server

Official

Update Restaurant Menu Item (Admin)

update_restaurant_menu_item
Idempotent

Partially update a restaurant menu item: change only supplied fields like name, description, price, nutrition, ingredients, or active status; omitted values remain unchanged.

Instructions

ADMIN: Partially updates an existing menu item - only the provided fields change; omitted fields keep their current values. Use for renames, description edits, price changes (price_cents - FINANCIAL, confirm the new price), nutrition updates, or retiring an item (is_active=false). Day-level orderability is controlled by schedule_lunch_menu_item, not this tool. Use archive_restaurant_menu_item to remove the item permanently. Requires pac_cordinator or lunch_cordinator role. WRITE operation - confirm changes with the user. Get restaurant_id from list_school_restaurants and menu_item_id from list_restaurant_menu_items. Collect each required input one at a time and confirm the details with the user before calling.

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": {
      "restaurant_id": "<restaurant_id>",
      "menu_item_id": "<menu_item_id>"
    },
    "name": "update_restaurant_menu_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew display name for the item
caloriesNoCalorie count
is_activeNoWhether the item stays on the restaurant menu - set false to retire it
cost_centsNoKitchen cost in cents (internal margin tracking)
descriptionNoNew item description shown to parents
ingredientsNoIngredient list
price_centsNoSale price in cents (e.g. 550 = $5.50)
menu_item_idYesMenu item ID - from list_restaurant_menu_items
restaurant_idYesRestaurant ID - from list_school_restaurants

Output Schema

NameRequiredDescriptionDefault
idNoMenu item ID
nameNoItem name
isActiveNoWhether the item is on the restaurant menu
priceCentsNoSale price in cents
isAvailableNoWhether the item can currently be ordered

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.1

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations (which already declare a non-read-only, idempotent, non-destructive write), the description adds the authorization requirement (pac_cordinator or lunch_cordinator), flags price_cents as FINANCIAL requiring confirmation of the new price, and repeats the partial-update merge behavior. It does not describe failure modes or what the response contains, though an output schema exists so that gap is partly covered.

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?

Front-loaded with the admin marker, the operation, and the partial-update rule, followed by use cases and alternatives in a logical order. It runs long and partly restates ID-sourcing guidance that already lives in the schema descriptions, costing a point.

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

Completeness5/5

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

For a 9-parameter admin mutation with full schema coverage and an output schema, the description covers purpose, scope boundaries, permissions, confirmation policy, and the financial-risk field. An agent has everything needed to decide to call it and to sequence the call correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3; the description still adds meaning by marking price_cents as financial and requiring price confirmation, and by clarifying that is_active=false is the retirement path. It does not touch cost_cents vs price_cents distinction (internal margin) or ingredient replacement semantics, which remain schema-only.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('partially updates an existing menu item') plus the crucial semantic that omitted fields retain their current values, which defines the operation precisely. It also distinguishes itself from two siblings by name ('schedule_lunch_menu_item' handles day-level orderability; 'archive_restaurant_menu_item' removes permanently).

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

Usage Guidelines5/5

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

Enumerates the concrete scenarios this tool covers (renames, description edits, price changes, nutrition updates, retiring via is_active=false) and explicitly excludes the day-level scheduling case, naming the sibling that owns it. The prerequisite (get IDs from list_school_restaurants / list_restaurant_menu_items) and the required role are both given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.