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

Switch Walmart.ca cart to pickup or delivery

set_fulfillment_mode
Idempotent

Switch a signed-in cart between pickup and delivery without selecting a time slot; requires items in the cart.

Instructions

Switch the signed-in cart between pickup and delivery (without choosing a time). The cart must have items.

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": {
      "mode": "<mode>"
    },
    "name": "set_fulfillment_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYespickup or delivery

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare non-readOnly, idempotent, non-destructive, open-world behavior; the description adds the useful precondition that items must be in the cart and that no time is selected. It does not disclose what happens to an already reserved slot when switching modes, nor what the call returns, which matters for a mutation with downstream scheduling effects.

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 short sentences, zero filler, with the scope restriction front-loaded before the precondition. Every clause carries information the agent needs.

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

Completeness3/5

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

For a small mutation tool with no output schema, the essential precondition and scope are present, but side effects (does an existing time slot get cleared?) and post-call state are unaddressed. Adequate but leaves a real gap for a cart-state-changing operation.

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% and the single enum parameter is fully documented in the schema, so the description's "pickup or delivery" adds no meaning beyond it. Baseline 3 applies when the schema carries the parameter burden.

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 ("Switch the signed-in cart between pickup and delivery") and immediately bounds the scope with "(without choosing a time)", which cleanly separates it from slot-related siblings like get_delivery_slots and reserve_slot.

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 a concrete precondition ("The cart must have items") and implies that time selection is a separate step, so the agent knows this is the mode-only call. It stops short of naming the follow-up tools (reserve_slot / get_delivery_slots) explicitly, so it is clear context rather than full routing.

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