Skip to main content
Glama
mercadona-mcp
by Syuf1514

Empty cart

clear_cart
Destructive

Removes all items from the Mercadona shopping cart in one step. Ask the user for confirmation first and pass confirm=true to complete the removal.

Instructions

Remove everything from the cart. Requires confirm=true; ask the user first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "confirm": "<confirm>"
    },
    "name": "clear_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the danger is known from structured data. The description adds the confirm gate and the human-approval protocol, which is real value, but says nothing about irreversibility details, whether the cart is recreated empty, or what the call returns. With annotations covering the safety profile, this is a modest but genuine addition.

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 short sentences, zero filler, with the action front-loaded and the constraint immediately after. Nothing is redundant or buried.

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 single-parameter destructive tool with annotations already declaring destructiveness and no output schema needed, the definition covers what an agent needs to act safely: what it does and the confirmation requirement. Minor omissions like post-call state are acceptable at this complexity.

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 0%, so the description must carry the single parameter, and it does: it states confirm must be true and frames it as a user-approval confirmation rather than a boolean flag toggle. The meaning of the parameter (a safety gate, not a setting) is conveyed despite no schema documentation.

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 and resource with a scope qualifier: 'Remove everything from the cart.' The word 'everything' implicitly separates it from item-level siblings like remove_from_cart or update_cart, though no alternative is named explicitly.

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?

Gives a clear precondition and workflow ('Requires confirm=true; ask the user first'), which tells the agent exactly how to proceed before invoking. It stops short of naming when to prefer remove_from_cart for a single-item removal, so alternative-selection guidance is only implied.

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