Skip to main content
Glama

remove_from_cart

Empty the session draft cart (EverList drafts hold at most one listing). Nothing is booked and no money has moved; add_to_cart can stage a different listing afterward.

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": "remove_from_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly succeeds: it discloses that the cart is session-scoped, that drafts hold at most one listing, and that nothing is booked and no money has moved, which reassures the agent this is financially non-destructive. It omits what the response looks like and whether the call is idempotent when the cart is already empty.

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 sentences, no waste. The core action and scope constraint come first, and the state/aftermath note plus follow-up routing come second.

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 zero-parameter, no-output-schema tool, the description covers what it does, the scope constraint, side-effect safety, and the follow-up action. Only the empty-cart/idempotency edge case and the confirmation response are left unspecified.

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 tool has zero parameters, so there is nothing for the description to disambiguate. Baseline 4 applies; the description correctly adds no parameter noise.

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: 'Empty the session draft cart.' The parenthetical that EverList drafts hold at most one listing resolves the ambiguity between the tool name (remove_from_cart implies item-level removal) and the description (whole-cart emptying). It stops short of explicitly contrasting with siblings like update_cart_item or get_cart.

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

Usage Guidelines4/5

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

Usage context is clear: clear the staging cart, then use add_to_cart to stage a different listing. That gives an agent a positive routing signal to a named sibling. There is no explicit when-not guidance, e.g. whether this is appropriate mid-checkout or when the cart is already empty.

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.