Skip to main content
Glama
migros-mcp

migros-mcp

by herp75

Compare list with order

compare_list_with_order
Read-only

Compare a shopping list with its placed order to spot missing items, quantity differences, short deliveries, and extra lines like substitutes or gifts. Use after ordering or delivery.

Instructions

Compare a shopping list with an online order made from it: items missing from the order (Migros can drop an item that became unavailable between checkout and payment, without a warning), quantity differences, items delivered short (once the order is packed), and order lines not on the list (substitutes or gifts). Matches by product uid; lines of the same product are added up. Pass shoppingListId when the account has several lists. Read only. Use after placing an order, or after delivery. Requires authentication.

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": {
      "orderId": "<orderId>"
    },
    "name": "compare_list_with_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderIdYesOrder id (numeric). Get from get_orders.
shoppingListIdNoThe shopping list the order was made from (get_shopping_lists). Needed when the account has more than one list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.1

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations by explaining match semantics (by product uid), aggregation of duplicate lines, and the real-world reason items go missing (Migros drops unavailable items silently between checkout and payment). "Read only" merely restates the annotation, and the response shape is left unspecified, keeping it from 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the comparison purpose and result categories before the operational details, and every clause carries information. The single dense opening sentence plus parentheticals is slightly heavy but not padded.

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?

For a two-parameter, non-destructive comparison with no output schema, the description covers inputs, matching logic, expected result categories, prerequisites (auth), and timing. Nothing an agent needs to call it correctly is absent.

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%, so both parameters are already documented, including the get_orders/get_shopping_lists sources. The description reinforces when shoppingListId is required but adds no syntax or format detail beyond the schema, which is the expected baseline.

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 ("Compare a shopping list with an online order made from it") and enumerates the four result categories: missing items, quantity differences, short deliveries, and off-list lines. No sibling tool does comparison, so the agent can distinguish it immediately.

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 explicit timing guidance ("Use after placing an order, or after delivery") and a conditional rule for shoppingListId when the account has multiple lists. It does not name an alternative tool, but the surrounding catalog has no competing comparison tool, so the gap is minor.

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