Skip to main content
Glama

remove_from_cart

Removes a template from the cart.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesSlug of the template to remove.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesAlways true: the slug is no longer in the cart.
totalYesLines the cart has after this call.
wasThereYesIt was inside and has been removed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / slug / description
      Previous value: -"Slug de la plantilla a quitar."New value: +"Slug of the template to remove."
    • changedOutput schema / properties / ok / description
      Previous value: -"Siempre true: el slug ya no está en el carrito."New value: +"Always true: the slug is no longer in the cart."
    • changedOutput schema / properties / total / description
      Previous value: -"Líneas que tiene el carrito después de la llamada."New value: +"Lines the cart has after this call."
    • changedOutput schema / properties / wasThere / description
      Previous value: -"Estaba dentro y se ha quitado."New value: +"It was inside and has been removed."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the burden of signaling mutation; 'removes' does communicate a destructive side effect. However, it does not disclose idempotency, behavior for a slug not in the cart, or reversibility, though these are somewhat implicit for a cart removal.

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 one short, front-loaded sentence with no filler; every word contributes to the tool's meaning.

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 one-parameter mutation with an output schema, the description is essentially sufficient: it names the action, the target, and the parameter is self-explanatory. It could add usage caveats, but nothing critical is missing at this complexity level.

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% and 'slug' is already documented as 'Slug of the template to remove.' The tool description adds no additional parameter meaning beyond confirming the singular operation.

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 states a specific action ('Removes a template') on a specific resource ('the cart'), making the intent unmistakable and clearly different from sibling operations like add_to_cart and my_cart.

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 verb 'removes' implies when to use it (when deleting a template from the cart), but there is no explicit guidance about prerequisites, such as the template needing to be in the cart, nor an explicit contrast with add_to_cart/my_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