Skip to main content
Glama

eglise.shop — Christian bookstore (FR/EN)

Retirer du panier

remove_from_cart
DestructiveIdempotent

Retire un livre du panier (par sa key, renvoyée par get_cart), ou vide tout le panier avec all=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNo
keyNo
cart_idYesIdentifiant du panier renvoyé par create_cart (commence par fr. ou en.).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered by structured data. The description adds useful scope detail (one book vs. the entire cart), but says nothing about behavior when both key and all are supplied, or about permission/auth requirements.

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?

A single front-loaded sentence with no filler; the primary action precedes the alternative mode. Every clause earns its place.

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 three-parameter destructive mutation with no output schema, the description covers both modes and the key's provenance. Minor gaps remain (precedence when both key and all are given, error behavior for an invalid key), but nothing critical is missing.

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?

Schema coverage is only 33% ('all' and 'key' are undocumented in the schema), so the description must compensate: it explains that 'key' is the identifier returned by get_cart and that all=true empties the whole cart. That meaningfully disambiguates both optional parameters beyond the bare schema types.

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?

States a specific verb and resource ('Retire un livre du panier') and distinguishes two distinct modes of operation (single item by key vs. full clear via all=true). An agent can tell it apart from siblings like add_to_cart and get_cart immediately.

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?

Explicitly states the two usage modes and the condition selecting each (key for one book, all=true to empty the cart), and routes the agent to get_cart as the source of the key. No explicit exclusions or error-case guidance, but context is clear.

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