Skip to main content
Glama

Remove from cart

remove_line

Removes a line from the cart.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cart_tokenYescart_token from create_cart
product_idYes
combination_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already state readOnlyHint=false and destructiveHint=false, so the safety profile is nominally covered, but the description adds nothing beyond them. For a cart mutation it should disclose what happens to the cart total, whether removing the last line empties the cart, whether the call is idempotent, and whether combination_id affects which line is targeted. None of that is present. No contradiction with annotations, though destructiveHint=false for a removal tool is worth noting.

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

Conciseness3/5

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

A single short sentence with no filler and no buried information, but its brevity reflects under-specification rather than tight writing. It is appropriately front-loaded yet too thin for a three-parameter mutation tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and low schema coverage, the description carries the burden of explaining effects and error behavior, and it does not. An agent cannot tell what is returned, what happens to the cart, or how combination_id interacts with product_id.

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 only 33%: cart_token is documented in the schema (referencing create_cart), but product_id and combination_id have no descriptions anywhere. The description contributes zero parameter meaning, so it fails to compensate for the coverage gap; the required product_id is entirely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Removes a line from the cart' is a verbatim restatement of the title 'Remove from cart' and the name remove_line, adding no distinguishing detail. It does not distinguish this tool from siblings like set_quantity (which could plausibly reduce a line to zero) or add_line, so an agent gains nothing beyond the identifier.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives such as set_quantity or add_line, nor any statement of prerequisites. The only implicit cue is the name itself, which the description merely echoes.

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