Skip to main content
Glama

manage_cart

Read, add, update, or remove items and clear the live ATB shopping cart without placing orders. Use it to prepare a cart before checkout.

Instructions

Read, add/update/remove items, or clear the live ATB cart (never places orders).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "manage_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
clearNo
itemsNo
actionNoget
formatNomd
city_idNo
shop_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the full behavioral burden. It usefully discloses that the cart is live and that no order is placed, but says nothing about reversibility of clear, whether 'items' replaces or merges with existing contents, or any permission requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that enumerates capabilities and then immediately states the key negative constraint. No filler or repetition.

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?

An output schema exists, so return values need no explanation, and the core mutation semantics are sketched. However, for a six-parameter tool with zero annotation and zero schema-description coverage, the missing guidance on action values and the city/shop scoping parameters is a real gap.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters. The description only hints at 'items' and 'clear'; it gives no meaning for 'action' (beyond the default 'get'), 'format', 'city_id', or 'shop_id', leaving half the inputs undocumented in both places.

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?

The description names the resource (the live ATB cart) and enumerates the operations clearly: read, add/update/remove items, or clear. The parenthetical '(never places orders)' carves out the boundary against order-submission siblings, though the acronym 'ATB' is unexplained jargon.

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?

It gives a clear positive scope (cart manipulation) and an explicit exclusion (never places orders), which implicitly routes checkout/order tasks to siblings like submit_pickup_order. It stops short of naming those alternatives or stating when the 'get' action is preferable to just reading a cart via another tool.

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