Skip to main content
Glama
mercadona-mcp
by Syuf1514

Order details

get_order
Read-only

Retrieve a specific online Mercadona order with every product line, ordered versus prepared quantities, and price paid.

Instructions

Details of one online order including every product line (ordered vs. prepared quantity, price paid).

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": {
      "order_id": "<order_id>"
    },
    "name": "get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavioral context about the response shape (per-line ordered vs. prepared quantity, price paid), but says nothing about authentication, error behavior for an unknown order_id, or the external-service dependency implied by openWorldHint.

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 front-loaded sentence with no filler, and the parenthetical adds real detail about the returned line-item fields. Every clause earns its place.

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?

With no output schema, the description must convey return content, and it does so for line items but not for other likely order fields (status, totals, delivery slot, address, timestamps). For a simple read-only one-parameter tool this is adequate, though order_id sourcing and format remain unexplained.

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?

There is one required parameter with 0% schema description coverage, so the schema explains nothing about order_id. The description only implies the parameter identifies a single order; it does not state the accepted format, where to source the ID, or how string vs. numeric IDs are treated. The single, obvious parameter keeps this from being worse, but it does not compensate for the coverage gap.

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: retrieve details of ONE online order, with its product lines. The singular scope distinguishes it in spirit from the plural list_orders sibling, but no sibling is named, so the differentiation is implicit rather than explicit.

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 only implied by 'one online order' — an agent can infer this is for drilling into a specific order it already has an ID for, rather than enumerating orders. There is no explicit when-to-use statement, no mention of list_orders or purchase_history as the way to obtain an order_id, and no exclusions.

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