Skip to main content
Glama
mercadona-mcp
by Syuf1514

Set delivery postal code

set_postal_code

Sets the Spanish postal code for catalog, prices and availability, returning the warehouse that serves it. Use it before searching products or checking delivery options.

Instructions

Set the Spanish postal code used for catalog, prices and availability. Returns the warehouse that serves it.

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": {
      "postal_code": "<postal_code>"
    },
    "name": "set_postal_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
postal_codeYes5-digit Spanish postal code, e.g. 28001

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, open-world operation, and the description adds genuinely new context: the state being changed is the postal code that governs catalog, prices and availability, and the call returns the warehouse that serves it. It still omits persistence scope (session vs. account) and any auth requirement, keeping it short of a 5.

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 with zero filler, front-loading the action and following with the effect and return value. Nothing could be removed without losing information.

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 tool with full schema coverage and annotations, the description covers action, scope, downstream effect and the return value (the serving warehouse). The only meaningful omission is whether the setting is session-scoped or tied to the authenticated account.

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?

Schema coverage is 100% and the schema already specifies the 5-digit pattern with an example, so the description's only contribution is the word 'Spanish'. That is consistent with the schema but adds no syntax or format detail beyond it, so the baseline 3 applies.

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 names a specific verb and resource ('Set the Spanish postal code') and states its effect on catalog, prices and availability. It is unambiguous on its own, though it never references a sibling or clarifies that no other tool in the set performs this function.

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?

Usage is implied by the downstream effects: an agent can infer this must be called to localize catalog, prices and availability for a delivery address. There is no explicit when-to-use statement, no mention of prerequisites such as an active session, and no named alternative or exclusion.

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