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

Walmart.ca purchase history

get_orders
Read-only

Retrieve recent Walmart.ca order history for the signed-in account, including dates, totals, statuses, and item quantities; filter by date, returns, in-store purchases, or item name.

Instructions

Recent Walmart.ca orders for the signed-in account, newest first: order id, date, total, item count, and per delivery/pickup group the status and item names with quantities. Filter by date ("last-3-months", "last-6-months", "year-0" = this year, "year-1" = last year, ...), "returned", or in-store purchases; the valid ids come back in "filters". Item lists here are as ordered; use get_order_details for what was actually received (unavailable / substituted items), item prices and the order breakdown.

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

Input Schema

NameRequiredDescriptionDefault
limitNoOrders to return (default 10)
filterNoOne filter id from "filters", e.g. "last-3-months" or "year-1"
searchNoSearch orders by item name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds real behavioral context beyond that: newest-first ordering, the per-delivery/pickup grouping of results, and the important caveat that item lists reflect what was ordered rather than delivered. It stops short of describing pagination behavior or the session/auth prerequisite beyond the phrase 'signed-in account'.

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?

Purpose, return shape, filtering, and sibling routing are front-loaded in a logical order with no filler sentences. The middle sentence is dense and multi-clause, which makes it slightly heavy to parse, but every clause adds information an agent needs.

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?

No output schema exists, so the description carries the burden of describing return values, and it does so concretely including the group-level structure. Combined with the filter-id discovery hint and the sibling hand-off, an agent has everything needed to call it correctly.

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?

Schema coverage is 100%, so the baseline is 3, but the description genuinely adds meaning the schema lacks: it expands the opaque 'filter' values ('last-3-months', 'year-1' = last year) and notes that ids come back in 'filters', and it explains 'search' as item-name matching. Only 'limit' is left to the schema, which already documents it well.

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 ('Recent Walmart.ca orders for the signed-in account, newest first') and enumerates the returned fields (order id, date, total, item count, per-group status and items with quantities). It explicitly distinguishes itself from the sibling 'get_order_details' by scope, so an agent can pick between the two without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: use this for the ordered item lists and get_order_details 'for what was actually received (unavailable / substituted items), item prices and the order breakdown.' It also explains the filter options and points to where valid filter ids come from ('the valid ids come back in "filters"'), covering the main decision points.

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