Skip to main content
Glama
mercadona-mcp
by Syuf1514

My regulars → cart

add_regulars_to_cart

Adds products from 'my regulars' to the Mercadona cart using recommended quantities; specify product IDs to limit the selection.

Instructions

Add products from 'my regulars' to the cart with Mercadona's recommended quantity (or all of them if product_ids is omitted — ask first, the list can be long).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_regulars_to_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
product_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare this is a non-destructive, open-world mutation; the description adds substantive behavior the annotations lack — quantities default to Mercadona's recommended amount, and omitting product_ids fans out to the entire regulars list with a size warning. It still doesn't say whether items are appended to or overwrite existing cart contents, or whether auth is required.

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 sentence, front-loaded with the core action, with the default-case behavior and its safety caveat packed into a parenthetical. No redundant or filler wording.

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 one-parameter cart mutation with no output schema and only terse annotations, the description covers the important default behavior but leaves open whether the operation appends or replaces, what the response looks like, and whether a login session is a prerequisite despite existing auth siblings.

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 has one parameter with 0% description coverage, so the description must carry the meaning — and it does, explaining both the populated case (subset of product ids) and the omitted case (add all regulars). It doesn't specify id format or what happens with unknown/invalid ids.

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 (add), a named source (products from 'my regulars'), and a destination (the cart). The source resource naturally distinguishes it from add_order_to_cart and add_shopping_list_to_cart without needing to name them, though no explicit sibling contrast is offered.

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 concrete usage branch: pass product_ids to add a subset, omit it to add everything. It also supplies a caution ('ask first, the list can be long') that tells the agent to confirm before triggering the broad case. It does not address when to prefer a sibling tool like add_shopping_list_to_cart.

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