Skip to main content
Glama

update_cart_item

Change the quantity (1-12) of the staged draft item. EverList carts hold exactly ONE listing, so quantity is the only editable field; get_cart shows the draft. Session-local (TTL 1h) - nothing is booked and no money moves until checkout completes.

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": {
      "quantity": "<quantity>"
    },
    "name": "update_cart_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
quantityYesnew seats/units for the staged listing

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / quantity / description
      Added value: +"new seats/units for the staged listing"
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses session-local state with a 1h TTL, that nothing is booked, and that no money moves until checkout completes, which tells the agent this is a low-risk reversible mutation. It omits what happens on an invalid quantity or after the TTL expires, but the side-effect profile is otherwise clear.

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?

Three short sentences, front-loaded with the action and constraint before the safety context. The "(1-12)" restates the schema bounds and is the one mildly redundant element, but nothing else is wasted.

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?

For a one-parameter tool with no output schema and no annotations, the description covers the action, the domain constraint, the state lifetime, and the financial side effects. It does not state what the call returns (presumably the updated cart), which is the only remaining gap and is minor given the tool's simplicity.

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 the single quantity parameter already documents minimum 1, maximum 12, and the integer type, so the description largely repeats the range. It adds only a mild semantic nuance ("seats/units for the staged listing"), which is the baseline expectation when the schema does the heavy lifting.

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 target ("Change the quantity ... of the staged draft item") and adds a domain constraint that separates it from siblings: an EverList cart holds exactly one listing, so quantity is the only editable field. An agent can tell this apart from add_to_cart/remove_from_cart without opening any schema.

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?

Gives clear context for use (adjusting quantity of the already-staged draft) and routes the agent to get_cart for viewing the draft, and implicitly away from other cart mutations since quantity is the sole editable field. It never explicitly names an alternative for removing or replacing the item, so it falls just short of full when/when-not guidance.

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.