Skip to main content
Glama
scraperapi

scraperapi-mcp-server

Official

walmart_review

Read-onlyIdempotent

Retrieve parsed customer reviews for a Walmart product by product ID, with pagination, sorting, and filters for rating or verified purchase.

Instructions

Retrieve parsed customer reviews for a Walmart product by product ID.

    Returns structured reviews — rating, title, text, author, date, verified
    purchase status — for one Walmart product, with pagination, sorting, and
    rating/verified filters.

    When to use:
    - Sentiment analysis or review mining for a known Walmart product
    - Tracking new reviews or filtering by star rating

    When NOT to use:
    - You want the product's own details (use 'walmart_product')
    - You only have a search term (use 'walmart_search' to get the ID first)

    Args:
        params (WalmartReviewParams): product_id (required) plus optional page,
            sort, ratings, verified_purchase, tld, country_code, and
            output_format.

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

    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, openWorldHint, idempotentHint, and destructiveHint, so the safety profile is clear. The description adds valuable context: returns structured reviews with specific fields, supports pagination and filters, and raises ToolError for API/rate-limit issues. No contradictions with annotations.

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?

Well-structured with sections, bullet points, and front-loaded purpose. Every sentence contributes value, though the 'Args:' section partly duplicates schema info. Overall efficient and readable.

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?

Given annotations and schema richness, the description adequately covers return format (JSON/CSV with fields), use cases, and error handling. No output schema is provided, but the description explains return structure sufficiently for an agent to understand what to expect.

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?

Input schema has detailed descriptions for all parameters (100% coverage), so baseline is 3. The description lists the parameters but doesn't add much meaning beyond what the schema already provides; it does clarify that product_id is required and that optional params enable pagination/sorting/filters.

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 customer reviews for a Walmart product by product ID. It specifies the verb (retrieve), resource (reviews), and unique identifier. The 'When NOT to use' section distinguishes it from siblings like walmart_product and walmart_search.

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?

Explicit 'When to use' and 'When NOT to use' sections are provided, with clear context for sentiment analysis or review mining and alternatives for product details or search. This gives direct guidance on tool selection.

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