Skip to main content
Glama

Lezzoo

Remove a cart item

remove_cart_item

Remove a cart line by line_id (from view_cart).

Input Schema

NameRequiredDescriptionDefault
lineIdYesline_id from view_cart.

Output Schema

NameRequiredDescriptionDefault
itemsNoCart line items (line_id, product_id, name, quantity, prices, options).
messageNoPresent on an empty cart.
currencyNo
subtotalNo
item_countNo
merchant_idNo
merchant_cityNo
merchant_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the lineId sourcing constraint but does not explain what happens if the line is missing, whether removal is reversible, or any side effects on cart totals.

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 definition is a single front-loaded sentence with zero filler. The key identifier source is included immediately.

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 mutation tool with complete schema description coverage, annotations, and an output schema, the description is nearly sufficient. It could be slightly stronger by clarifying behavior for invalid or already-removed line IDs, but no critical agent-facing information is absent.

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%, so the single parameter is already documented as 'line_id from view_cart.' The description repeats this same information without adding format, validation, or error semantics beyond what the schema provides.

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 (remove), resource (cart line), and identifier source (line_id from view_cart). An agent can distinguish it from clear_cart (all lines) and update_cart_item (modifying a line) without opening schemas.

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 phrase 'from view_cart' implies the prerequisite workflow for obtaining line_id, but the description does not explicitly say when to use this versus clear_cart or update_cart_item. Usage is implied rather than fully guided.

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.

Resources