Empty the cart
clear_cartRemove all products from the Picnic grocery cart in a single action, resetting it before building a new order.
Instructions
Remove every item from the cart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
clear_cartRemove all products from the Picnic grocery cart in a single action, resetting it before building a new order.
Remove every item from the cart.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
v0.2.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered structurally. The description adds only the bulk scope ('every item'), not the irreversibility warning, auth needs, or behavior on an already-empty cart that would add real value beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single short sentence with the action front-loaded and no filler. It is efficient, though its brevity is close to the minimum needed for a destructive bulk operation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter, non-read-only, idempotent, destructive tool with full annotation coverage and no output schema, the description states enough to call it correctly. The only missing piece is explicit contrast with remove_from_cart and expected behavior on an empty cart.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters and the schema is empty at 100% coverage, which is the baseline-4 case. There is nothing for the description to disambiguate and it introduces no confusing parameter wording.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource ('Remove every item from the cart'), and the word 'every' implicitly scopes it as a bulk clear as opposed to the sibling remove_from_cart, which handles a single item. It is clear but never names or contrasts the sibling explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: an agent can infer this is the bulk-emptying variant rather than the single-item remove_from_cart, but the description gives no explicit when-to-use or when-not-to-use guidance, nor any prerequisite note.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.