Skip to main content
Glama
mercadona-mcp
by Syuf1514

Log in (opens browser)

mercadona_login

Opens a Chrome window so you can sign in to tienda.mercadona.es yourself, then saves the session token locally for later requests.

Instructions

Open a Chrome window on tienda.mercadona.es so the USER can sign in themselves (email/password + captcha). Waits up to 5 minutes, then stores the session token locally (~/.mercadona-mcp/session.json). Tell the user a browser window is opening before calling this.

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": "mercadona_login"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the side effects and constraints: a visible Chrome window opens, the agent blocks for up to 5 minutes, and the resulting session token is persisted to ~/.mercadona-mcp/session.json. These are exactly the facts an agent needs before triggering an interactive, slow, state-changing operation.

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?

Three short sentences, each earning its place: what happens, how long it blocks and what is persisted, and the required user-facing behavior. The core action is front-loaded before the timeout and file-path details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With zero parameters, no output schema, and only three annotations, the description carries all remaining burden and does so: mechanism, duration, persistence location, and a required pre-call message. Nothing an agent needs to invoke it safely 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?

The tool takes no parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The description correctly implies the call is parameterless, with all input happening in the browser.

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: open a Chrome window on tienda.mercadona.es so the user can sign in. The described mechanism (interactive browser sign-in) is unmistakably different from the sibling session tools like mercadona_import_session or mercadona_status, so an agent can select it without opening a schema.

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 clear context for use: this is a human-in-the-loop sign-in that requires the user's own credentials plus captcha handling, and it instructs the agent to announce the browser window before calling. It does not explicitly exclude alternatives (e.g., 'if you already have a token, use mercadona_import_session instead'), leaving that routing to inference.

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