Skip to main content
Glama
Paxaver MCP Server

Paxaver MCP Server

Official

Archive Restaurant Menu Item (Admin)

archive_restaurant_menu_item
DestructiveIdempotent

Soft-deletes a restaurant menu item so it cannot be ordered while preserving it on historical orders. Use to retire menu items without erasing order history.

Instructions

ADMIN: Archives (soft-deletes) a menu item so it can no longer be ordered - the item is removed from ordering but stays on historical orders. To retire it from the restaurant menu without archiving, use update_restaurant_menu_item with is_active=false. Requires pac_cordinator or lunch_cordinator role. DESTRUCTIVE operation - confirm 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": "archive_restaurant_menu_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
menu_item_idYesMenu item ID - from list_restaurant_menu_items
restaurant_idYesRestaurant ID - from list_school_restaurants

Output Schema

NameRequiredDescriptionDefault
idNoMenu item ID
deletedNoWhether the item was soft-deleted

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds what the annotations cannot: the operation is a soft delete, the item disappears from ordering while remaining attached to historical orders, and a coordinator role plus user confirmation is needed. That is exactly the behavioral context an agent needs before mutating data.

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 scope and the destructive effect, then the alternative, then prerequisites. Most sentences earn their place, though the closing procedural instruction about collecting inputs one at a time is workflow meta-guidance rather than tool semantics.

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 destructive two-parameter admin mutation, the description covers effect, irreversibility limits (history retained), authorization, prerequisite lookups, and confirmation. An output schema exists, so return-value explanation is correctly omitted.

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 100% and both parameters already document their provenance ('from list_restaurant_menu_items', 'from list_school_restaurants'). The description restates the same sourcing advice without adding format or constraint detail, so it neither hurts nor meaningfully exceeds the schema.

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 with its precise semantic effect: 'Archives (soft-deletes) a menu item so it can no longer be ordered - the item is removed from ordering but stays on historical orders.' It also distinguishes itself from the nearby update_restaurant_menu_item path, so an agent can separate the two without opening either schema.

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?

Explicitly names the alternative and the condition that selects it: 'To retire it from the restaurant menu without archiving, use update_restaurant_menu_item with is_active=false.' It also states the required role (pac_cordinator or lunch_cordinator) and the upstream calls that supply each ID, leaving little to inference.

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