Skip to main content
Glama
khushal1512

Spark Customer Agent MCP Server

by khushal1512

remove_from_cart

Remove a product from the shopping cart using its product ID. Optionally remove all quantities of the item at once.

Instructions

Remove a product from the shopping cart

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productIdYesThe ID of the product to remove from cart
removeAllNoWhether to remove all quantities of the product (default: false)
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it only states 'Remove a product' without detailing side effects, quantity behavior, error conditions, or return values. The removeAll parameter is handled by the schema, but the description itself does not clarify, for example, whether a single unit or all units are removed by default.

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 a single, grammatically correct sentence with no unnecessary words. It is front-loaded with the key verb and resource, making it highly scannable.

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?

For a simple mutation tool, the description is minimally adequate: it states the operation and the schema covers parameter semantics. However, it lacks any usage guidance or behavioral context (e.g., what happens when the product is not in the cart, or the return payload), making it incomplete for an AI agent facing unfamiliar situations.

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 description coverage is 100%, so the schema already documents both 'productId' and 'removeAll' adequately. The tool description adds no additional parameter context, earning the baseline score of 3.

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 action (remove), the resource (a product), and the context (shopping cart). It is immediately distinguishable from sibling tools like 'add_to_cart' and 'get_cart_items', conveying a precise purpose.

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 implies usage but does not explicitly say when to use this tool versus alternative tools such as 'add_to_cart' or 'remove_coupon'. No exclusions or conditional context are provided, leaving the usage to be inferred from the tool name.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/khushal1512/spark-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server