Skip to main content
Glama
walmart-ca-mcp
by anaqi

Walmart.ca order details

get_order_details
Read-only

Retrieve a Walmart.ca order by ID to view item-level product IDs, quantities, prices, and outcomes (received, substituted, refunded, unavailable), plus shipment summaries and totals.

Instructions

One Walmart.ca order: each item with product id, quantity, price and what happened to it: Received, Received (price adjusted to actual weight), Substitute received, Refunded (no need to return), Unavailable (not charged; "charged": false). Walmart does not say which ordered item a substitute replaced. Also a per-shipment summary ("7 items received", "1 unavailable item") and subtotal, savings, fees, tax, tip and total. Payment and address details are not returned.

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

Input Schema

NameRequiredDescriptionDefault
orderIdYesOrder id from get_orders, e.g. 600000144723643

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

With only readOnlyHint and openWorldHint annotations, the description carries the behavioral burden well. It explains the exact status semantics, notes that Walmart does not identify which ordered item a substitute replaced, clarifies that unavailable items are not charged, and explicitly states that payment and address details are not returned.

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?

The description is front-loaded with the core resource ('One Walmart.ca order') and then packs in necessary return-value details. It is dense and somewhat run-on, but most sentences earn their place by documenting statuses, summary fields, and exclusions.

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?

There is no output schema, so the description must explain returned values, and it does so thoroughly: per-item fields, fulfillment statuses, per-shipment summaries, totals, and omitted payment/address details. This is complete enough for an agent to understand what it will get and what it will not.

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 description coverage is 100%, and the schema already defines orderId with an example. The description adds some scope context by specifying that this returns details for one order, but it does not enrich the parameter semantics beyond what the schema provides.

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 clearly identifies the resource as a single Walmart.ca order and enumerates the item-level and order-level data returned. It implicitly contrasts with get_orders by emphasizing 'One' order, but it does not explicitly name sibling tools or explain how this differs from track_order.

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: the schema says the orderId comes from get_orders, which suggests this tool is used after listing orders to inspect one order's details. The description provides no explicit when-to-use guidance, prerequisites, or exclusions relative to alternatives like track_order.

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