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

Walmart.ca weekly flyer

get_flyer
Read-only

Retrieve current Walmart.ca flyer items for your store, including prices, deals, categories, and valid-to dates. Filter by name or category and use product IDs for cart or product details.

Instructions

Items in the current Walmart.ca flyers for the profile's store: name, brand, flyer price (e.g. "$2.44", "$3.97/lb", "From $9.97"), regular price, deal (e.g. Rollback), category, details and valid-to date. "id" is the Walmart product id (works with add_to_cart / get_product_details). Defaults to the main weekly flyer; others (Private Brands, Holiday Gifting, ...) are listed in "flyers". Filter by words in the name/description or by category (as listed in "categories"). Cached for an hour.

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_flyer"
  }
}

Input Schema

NameRequiredDescriptionDefault
flyerNoFlyer id or name from "flyers" (default: the main weekly flyer)
limitNoItems to return (default 50)
offsetNoSkip this many matching items
searchNoOnly items whose name, brand or description contains all of these words
categoryNoOnly items in this category, e.g. "Produce", "Dairy", "Meat"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely new behavior, notably that results are cached for an hour and that each item carries a valid-to date. It also explains the "id" field's downstream compatibility with add_to_cart and get_product_details, which no annotation conveys.

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-loaded with the resource and scope, then field list, then parameter behavior, then the caching caveat. The dense field enumeration is justified because no output schema exists, but the parenthetical price-format examples are slightly verbose.

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?

With no output schema, the description compensates by enumerating returned fields including price formats and the deal label. Defaults, filter mechanisms, id reuse, and cache freshness are all covered, leaving nothing an agent needs 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 adds meaning the schema lacks: the flyer parameter's default resolves to the main weekly flyer and valid values come from "flyers"; category values come from "categories". Search matching behavior is essentially restated from the schema rather than extended.

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 resource and scope: items in the current Walmart.ca flyers for the profile's store, with the concrete fields returned (name, brand, flyer price, regular price, deal, category, valid-to). That is far more specific than a restatement of the name. It stops short of explicitly contrasting with search_products, the nearest sibling, so sibling differentiation is only implicit.

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?

It gives clear operating context: defaults to the main weekly flyer, other flyers are discoverable via "flyers", and filtering is by words in name/description or by category from "categories". It never states when to prefer this over search_products or when-not to use it, so there are no explicit exclusions or alternatives.

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