Skip to main content
Glama

update_item_price

Idempotent

Updates a menu item's price in reais for a specified merchant and item ID. Use it to change prices or set an optional original strike-through value for promotions.

Instructions

Update a menu item's price (reais).

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>",
      "value": "<value>"
    },
    "name": "update_item_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesNew price in reais (e.g. 29.90).
item_idYesItem ID (UUID).
merchant_idYesMerchant ID
original_valueNoOptional original/strike-through price for promotions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, and openWorld=true, so the mutation profile is largely covered. The description adds only the currency unit (reais), and says nothing about whether a price change affects open orders or how promotions via original_value behave beyond what the schema states.

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 no filler, and the resource is front-loaded. It is efficient, though its brevity borders on under-specification rather than genuine density.

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 four-parameter update with full schema coverage and mutation annotations, the description is adequate but barely so. It omits any note on scope (merchant/item pairing), on the optional strike-through price, or on what the call returns, leaving the structured fields to carry the rest.

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 four parameters (merchant_id, item_id, value, original_value) are documented in the schema. The description's "(reais)" merely repeats the schema's "New price in reais" and adds no syntax or constraint detail, so the baseline of 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 and resource: "Update a menu item's price". An agent can tell it changes an item's price rather than an option's (update_option_price) or creates one (upsert_item), though the distinction rests on the noun alone rather than any explicit contrast.

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, and no mention of alternatives such as update_option_price, update_item_status, or upsert_item. The agent must infer from the name alone when this tool is the right choice.

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