Skip to main content
Glama

SendaMeal Storefront

remove_item_from_cart

Remove specific items from your shopping cart. It is removing the item completly from the cart. If you want to reduce quantity of the items use 'update_cart_item'

Remove unwanted items from your shopping cart by targeting specific item IDs. This tool provides precise control over cart cleanup and item removal.

Use this tool when customers want to: -Remove specific products they no longer want -Delete gift certificates from their cart -Clean up their cart before checkout -Remove items added by mistake

Features:

  • Target removal by specific item ID

  • Works with both products and gift certificates

  • Maintains cart structure after removal

  • Immediate cart updates

Flow:

  • Call 'search_products' tool to find products by search term.

  • Call 'get_product_details' tool to get product variants and images.

  • Call 'add_item_to_cart' tool to create new cart with item

  • Call 'add_item_to_cart' tool to add another item to cart

  • Call 'remove_item_from_cart' tool to remove added item to cart

  • Call 'create_checkout_url' tool to generate a checkout URL for the cart.

Requires an existing cart with items to remove.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cartYes
messageNo
successYes

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description must carry the full burden of behavioral disclosure. It states that removal is complete ('removing the item completly from the cart'), that it works for both products and gift certificates, maintains cart structure, and provides immediate updates. This adds genuine context beyond the raw tool name. It could mention irreversibility or error conditions, but given the simple scope it is fairly transparent.

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

Conciseness2/5

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

The description is overly verbose and repetitive. It states the purpose multiple times, includes a 'Flow' section that outlines a full shopping journey with unrelated tools, and contains a typo ('completly'). While the key information is front-loaded, the unnecessary workflow steps and redundant features make it less concise than it should be.

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?

The tool is simple with one parameter, and an output schema exists, so return values need not be described. The description covers prerequisites (existing cart), use cases, parameter semantics, and behavioral details. However, the 'Flow' section adds contextual workflow that may be helpful but is not directly needed, and there is no mention of possible errors. Overall, it is sufficiently complete for a tool of this complexity.

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

Parameters4/5

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

The input schema has one required string parameter 'item_id' with no description. The tool description explicitly mentions targeting by 'specific item ID' and lists 'Target removal by specific item ID' as a feature. This clarifies that the parameter is the ID of the item to remove, adding meaning beyond the raw schema.

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 clearly states the tool removes specific items from the shopping cart, using a specific verb and resource. It distinguishes itself from the sibling tool 'update_cart_item' by explicitly noting that quantity reduction should use that alternative, and it lists concrete use cases like removing gift certificates and cleaning up cart.

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

Usage Guidelines5/5

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

The description explicitly says when to use this tool vs. alternatives: 'If you want to reduce quantity of the items use 'update_cart_item''. It also provides a list of scenarios (remove specific products, delete gift certificates, clean up before checkout, remove items added by mistake) and a precondition: 'Requires an existing cart with items to remove'.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a clear, distinct purpose: searching products, fetching details, adding/removing/updating cart items, and creating a checkout URL. There is no functional overlap between the six tools.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case (e.g., search_products, add_item_to_cart, create_checkout_url). This makes the toolset predictable and easy to navigate.

Tool Count5/5

Six tools is well-scoped for a storefront server, covering the essential product discovery and cart management lifecycle without being bloated or too sparse.

Completeness3/5

The toolset covers product search, product details, cart additions/updates/removals, and checkout URL generation, but lacks a way to view the current cart contents. This is a notable gap since agents need to know what is already in the cart to manage it effectively.

Resources