Skip to main content
Glama
scraperapi

scraperapi-mcp-server

Official

walmart_product

Read-onlyIdempotent

Retrieve structured product details—name, brand, pricing, availability, specifications, images, and review summary—for a Walmart product using its product ID.

Instructions

Retrieve parsed details for a single Walmart product by product ID.

    Returns structured product data — name, brand, pricing, availability,
    specifications, images, and review summary — for one Walmart listing.

    When to use:
    - You have a Walmart product ID and want its full structured details
    - Product monitoring, catalog enrichment, price/spec extraction

    When NOT to use:
    - You only have a search term (use 'walmart_search' first)
    - You want the product's reviews (use 'walmart_review')

    Args:
        params (WalmartProductParams): product_id (required) plus optional
            tld, country_code, and output_format.

    Returns:
        str: JSON (default) or CSV containing the structured product data.

    Raises:
        ToolError: If the API key is missing, the rate limit is exceeded, or
            the request fails.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint. The description adds information on error conditions (API key, rate limit, request failure) and return format, but does not contradict annotations.

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?

Well-structured with clear sections, front-loaded purpose, and no wasted words. Every sentence adds value.

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?

Covers purpose, usage guidelines, parameters, return type, and error conditions. Lacks explicit output schema details, but the listed data fields provide adequate context for a simple lookup tool.

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?

The description summarizes parameters (product_id required, optional tld, country_code, output_format) but the schema already contains full descriptions. The description adds little new meaning beyond the schema.

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?

The description clearly states the tool retrieves parsed details for a single Walmart product by ID, explicitly distinguishes from siblings like walmart_search and walmart_review, and lists the data fields returned.

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?

Includes explicit 'When to use' and 'When NOT to use' sections with specific alternative tools (walmart_search, walmart_review), providing clear guidance on when to invoke this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scraperapi/scraperapi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server