Skip to main content
Glama

Walmart Autocomplete API

walmart_keyword_tool
Read-onlyIdempotent

Fetch Walmart search suggestions for a partial query to reveal popular shopper keywords and guide product or SEO research. Costs 1 credit per successful call.

Instructions

See the searches Walmart suggests as shoppers type. Costs 1 credit per successful call. Suggestions show what is popular, not how many searches happen. Results can differ over time.

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": {
      "query": "<query>"
    },
    "name": "walmart_keyword_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesStart of a search. Type a word or phrase a shopper might start with.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, so the safety profile is covered. The description adds genuinely new context: a per-call credit cost, a caveat that suggestions signal popularity rather than volume, and that results vary over time. It stops short of describing how results are ordered or limited.

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?

Four short sentences with zero filler: purpose first, then cost, then interpretation caveat, then volatility. Each sentence carries distinct information an agent needs.

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 one-parameter, no-output-schema tool, the description covers cost, semantics, and variability, which is most of what is needed. It only lightly implies the return shape (a list of suggested phrases) without stating it.

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% for the single 'query' parameter, and the schema already explains it is the start of a shopper search. The description adds no format, length, or normalization guidance beyond that, so the baseline 3 applies.

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 states a specific mechanism: it returns the search phrases Walmart autocompletes as a shopper types. That clearly separates it from product-search siblings like walmart_product_search, though it never names an alternative outright.

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 implied rather than stated: an agent can infer this is for keyword/discovery research, but there is no explicit when-to-use, when-not-to-use, or pointer to google_autocomplete or amazon_keyword_tool for cross-platform comparison.

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