Skip to main content
Glama
shaiu
by shaiu

rami_levy_remove_item

Remove a product from the Rami Levy cart by product ID, then re-sync the remaining cart with the real account. Returns local and server totals; if the server rejects items, they are removed and alternatives should be offered.

Instructions

Remove one product from the cart by productId, then re-syncs the remaining cart to the real account. Returns cartTotal (local estimate) and serverTotal (Rami Levy's own total — authoritative). ok:false with a transport reason means nothing changed. reason items_rejected means the server refused the listed products; they have been removed from the cart too, so tell the user and pick alternatives.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure scrub and does so thoroughly. It discloses a side-effect beyond the obvious removal: 're-syncs the remaining cart to the real account'. It also explains return semantics (cartTotal vs serverTotal), the meaning of ok:false with a transport reason, and the special items_rejected case including follow-up guidance to 'tell the user and pick alternatives'. This is rich, practical behavior context.

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?

The description is three sentences with no filler. It front-loads the primary action, then explains return valuesholistically, and finally addresses failure semantics. Every sentence adds meaningful, non-redundant information, making the description dense and structured for an agent to quickly parse.

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 single-parameter tool with no annotations or output schema, the description is notably complete: it covers the action, side effects, return fields, failure modes, and a recommended user interaction upon items_rejected. Minor gaps remain, such as how to locate a valid productId or what happens if the product is not already in the cart, but these are secondary to the tool's core behavior and are partially implied by the description.

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?

The input schema only defines productId as a required string with minLength 1ley, and schema description coverage is 0%. The description adds some meaning by identifying productId as the identifier of the product to remove, but it does not elaborate further on what format or where the productId comes from. Given the low schema coverage, the description partially compensates but could provide more detail about how to obtain a valid productId.

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?

The description states a specific verb and resource: remove one product from the cart by productId ('Remove one product from the cart'). It also clarifies the action's scope ('one product'), which distinguishes it from sibling tools like clear_cart and add_item. The follow-up re-sync behavior further defines the tool's responsibility.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies when to use this tool – when a single product must be removed from the cart – but it does not explicitly provide exclusion conditions or point to alternatives. It also does not name sibling tools or explain when another tool (e.g., clear_cart) would be more appropriate. Usage is inferred rather than explicitly guided.

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