Skip to main content
Glama

Remove vendor from cart

zoodex_cart_remove_vendor
Destructive

Remove all items from one or more vendors in a cart by specifying vendor slugs or cart vendor IDs, letting you clear selected sellers before checkout.

Instructions

Remove all items of one or more vendors from the cart. Pass vendor slugs or cart_vendor_id values from zoodex_cart_view.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "zoodex_cart_remove_vendor"
  }
}

Input Schema

NameRequiredDescriptionDefault
vendor_slugsNo
cart_vendor_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is covered. The description adds that the destruction is vendor-scoped ('all items of one or more vendors'), which meaningfully clarifies blast radius. It does not say whether the removal is reversible, what happens with an unknown slug, or how partial failures are handled.

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?

Two short sentences with the action front-loaded and the identifier sourcing immediately after. No filler or restated title.

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 destructive cart mutation with no output schema and zero schema coverage, the description covers the essentials but leaves the caller guessing on identifier precedence, error behavior for invalid vendors, and confirmation of what is returned. Adequate, not complete.

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 0%, so the description must carry the parameter burden, and it does identify both inputs by name and their source (slugs or cart_vendor_id from zoodex_cart_view). However, it never states whether the two arrays are alternatives or combinable, nor that at least one is effectively needed despite zero required parameters.

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

Purpose4/5

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

The description gives a specific verb and resource ('Remove all items of one or more vendors from the cart') and implicitly bounds scope against siblings like zoodex_cart_remove_item (single item) and zoodex_cart_clear (whole cart). It does not name those alternatives, but an agent can still tell what this tool does.

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?

It tells the agent where to source identifiers ('from zoodex_cart_view'), which is useful invocation guidance. It offers no explicit when-to-use vs. when-to-use-an-alternative guidance, such as when to prefer removing a single item or clearing the whole cart.

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