Skip to main content
Glama

Remove from my cart

cart_remove
Destructive

Remove releases or tracks from the person's cart, or empty it with all.

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

Input Schema

NameRequiredDescriptionDefault
allNotrue empties the whole cart
itemsNoUp to 50 items to remove, each with either release or track

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the destructive/irreversible nature is covered structurally. The description adds essentially nothing beyond that — it does not say whether the operation is atomic, what happens to unknown IDs, or whether removing a release also removes its tracks. With annotations carrying the safety profile, this is a thin addition.

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

Conciseness4/5

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

One sentence, front-loaded with the primary action and the item types, with the bulk-empty mode trailing. The phrase 'empty it with all' is slightly awkward but costs little.

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 two-parameter tool with full schema coverage, rich annotations and no output schema, the description covers the core operation and the bulk variant. Minor gaps remain around partial-failure behavior and whether release removal cascades to tracks.

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 both 'all' and 'items' are fully documented in the schema, including the 50-item cap and the release/track choice. The description restates the 'all' semantics without adding format or edge-case detail, so baseline 3 applies.

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?

States a specific verb (remove) and resource (the person's cart), and names the removable entities (releases or tracks) plus the empty-cart mode. It is clearly distinguishable from playlist_remove_tracks by the cart scope, though it never names a sibling explicitly.

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?

Usage is implied: use it to take releases/tracks out of the cart, or set 'all' to clear everything. There is no explicit when-not guidance, no mention of the playlist_remove_tracks alternative, and no note about what happens if an item isn't in the cart.

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