Skip to main content
Glama

Confirmer le retrait d’une ligne du panier

confirm_remove_from_cart
Destructive

Confirms the removal of an item from the Greenweez shopping cart. Rejects any confirmations for carts that changed meanwhile, then removes the targeted line and verifies the updated cart contents.

Instructions

Consomme une confirmation de retrait, refuse tout panier modifié entre-temps, retire la ligne ciblée, puis vérifie le panier réel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmationTokenYes
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, covering the destructive nature. The description adds valuable context beyond annotations: it rejects modified carts (optimistic concurrency), verifies the real cart afterward, and requires a confirmationToken. However, it doesn't disclose what happens on rejection (error behavior, partial execution) or authentication requirements. The description is consistent with the destructiveHint annotation, adding meaningful behavioral context without contradicting structured data.

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 dense sentence covering the full lifecycle: consume, reject-if-changed, remove, verify. No wasted words. While complete, the French structure packs many subordinate clauses; a reader might benefit from slightly clearer segmentation, but this is efficient for the information conveyed.

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 mutation tool with destructiveHint=true, no output schema, and 0% param schema coverage, the description carries a heavy burden. It does explain the transactional behavior (reject if modified) and post-action verification, which is good. However, it lacks error/return information, what happens on confirmation token expiry, and whether the tool can fail silently. Given the tool's moderate complexity (1 param, clear state-machine behavior), the missing return-value documentation is a notable gap.

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?

The description mentions the confirmationToken concept ('Consomme une confirmation') and 'refuse tout panier modifié' relates to its validation behavior. However, with 0% schema description coverage and an opaque 43-character token pattern, the description doesn't explain where the token comes from (presumably from preview_remove_from_cart). It adds partial meaning but leaves the token's origin and format details unexplained.

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 clearly states the verb (confirm/consume) and resource (retrait d'une ligne du panier). It explains the multi-step behavior: consumes a confirmation, rejects modified carts, removes the line, verifies the real cart. It doesn't explicitly distinguish from sibling tools, but the 'confirmation' aspect sets it apart from preview_remove_from_cart, though this differentiation is only implicit.

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 description implies this is the confirmation step following preview_remove_from_cart (sibling tool), indicating a two-phase pattern. However, it doesn't explicitly state when to use this versus alternatives or describe the required prerequisites like obtaining a confirmation token first. The 'refuse tout panier modifié entre-temps' gives context on a behavioral constraint but not explicit usage direction.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ncleton-petitmaker/greenweez-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server