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

Walmart.ca product details

get_product_details
Read-only

Retrieve full details for a Walmart.ca product—price, stock, seller, specifications, description, variants, and images—using a product ID or Walmart.ca URL.

Instructions

Full details for one Walmart.ca product: price, stock, seller, specifications, description, variants and images. Accepts a product id from search_products or a walmart.ca product URL.

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": {
      "product": "<product>"
    },
    "name": "get_product_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
productYesProduct id (e.g. 6000196063044) or walmart.ca/en/ip/... URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 useful context by enumerating what data is returned, but says nothing about live vs cached pricing, whether stock reflects online or store inventory, or what happens when a product id is invalid or delisted.

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?

Two sentences with zero waste: the capability and its returned fields come first, the accepted input forms second. Nothing is repeated and no filler is present.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with no output schema, the description compensates well by listing the returned data categories. Minor gaps remain around failure modes and freshness characteristics, but nothing essential for invoking it correctly is missing.

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 gives both acceptable forms with an example id. The description only adds the provenance hint ('from search_products'), which is a small increment over the schema — baseline 3 applies when the schema does the heavy lifting.

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?

Specific verb+resource ('Full details for one Walmart.ca product') with an explicit enumeration of the returned fields (price, stock, seller, specifications, description, variants, images). It also distinguishes itself from the sibling search_products by naming it as the source of the product id, so an agent can tell lookup-from-search apart without opening either schema.

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?

The phrase 'Accepts a product id from search_products or a walmart.ca product URL' implicitly documents the intended workflow: search first, then fetch details for a single item. There is no explicit when-not guidance or mention of the other single-item siblings (e.g. get_order_details), but the context is clear enough to route correctly.

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