Skip to main content
Glama

update_item_status

Idempotent

Sets a menu item’s availability to AVAILABLE or UNAVAILABLE for a merchant so MCP clients can control whether customers can order it.

Instructions

Set a menu item AVAILABLE/UNAVAILABLE.

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": {
      "merchant_id": "<merchant_id>",
      "item_id": "<item_id>",
      "status": "<status>"
    },
    "name": "update_item_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYesNew availability status.
item_idYesItem ID (UUID). Discover via list_catalogs → list_categories(includeItems=true).
merchant_idYesMerchant ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds essentially nothing beyond that — it does not say what availability changes affect downstream (orders, listings, customer visibility) or whether the change is reversible.

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 short sentence with the resource and allowed values front-loaded and zero wasted words. It is efficient, though its terseness edges toward under-specification rather than crispness.

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 three-parameter mutation with full schema coverage and good annotations, the description is minimally sufficient to call the tool correctly. It falls short on the effects of the status change and any preconditions, which matter for a write operation.

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%, and the schema itself documents item_id discovery via list_catalogs → list_categories and the status enum. The description restates only the status values, adding no meaning beyond the schema, so 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?

States a specific verb ("Set") and resource ("menu item" status) with the exact allowed values AVAILABLE/UNAVAILABLE. This implicitly separates it from update_option_status and update_item_price, though it never names those siblings explicitly.

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?

No when-to-use guidance, no prerequisites, no mention of alternatives. An agent must infer from the name alone that this is the correct tool for item availability versus option availability or price updates.

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