Skip to main content
Glama
scraperapi-mcp-server

scraperapi-mcp-server

Official
by scraperapi

Home Depot Reviews

homedepot_reviews
Read-onlyIdempotent

Retrieve structured Home Depot product reviews by item ID, GTIN, or URL, and page through results for sentiment analysis or review mining.

Instructions

Retrieve parsed customer reviews for a Home Depot (homedepot.com) product.

    Returns structured customer reviews for one Home Depot product,
    identified by item ID, GTIN or URL. If several identifiers are given,
    url takes priority, then gtin. To page through all reviews, use item_id
    with page (up to 30 reviews per page). A gtin or a product page url
    returns the first 10 reviews only; a reviews page url returns that
    page. Reviews of related products can appear; each review's item_id
    shows the product it belongs to.

    When to use:
    - Sentiment analysis or review mining for a known Home Depot product
    - Paging through a product's reviews by item ID

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

    Args:
        params (HomedepotReviewsParams): one of item_id, gtin or url (at
            least one is required), plus optional page.

    Returns:
        str: JSON containing the structured reviews.

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

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": {
      "params": "<params>"
    },
    "name": "homedepot_reviews"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, but the description adds real behavioral context beyond them: identifier priority (url > gtin), a 10-review cap for gtin/url versus 30 per page with item_id, the caveat that related-product reviews can appear, and the failure modes (missing API key, rate limit, request failure). These are exactly the surprises that would otherwise derail a call.

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 front-loaded: capability, then identifier precedence, then use/avoid routing. Some of the Args/Returns/Raises docstring boilerplate restates the schema and adds little, which keeps it from a 5, but nothing is genuinely wasted.

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

Completeness5/5

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

Given an output schema exists, the description need not document the return shape, and it covers the remaining burdens: identifier precedence, pagination limits, cross-product review bleed, and error conditions. Nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds meaning the schema cannot express, notably the precedence order when multiple identifiers are supplied and the rule that page only applies with item_id. Much of the per-field detail (page size, 10-review cap, URL forms) duplicates the schema property descriptions, so it stops short of a 5.

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 ('Retrieve parsed customer reviews') scoped to homedepot.com, and explicitly separates itself from 'homedepot_product' and 'homedepot_search'. An agent can pick it without opening the schema.

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?

Provides explicit 'When to use' and 'When NOT to use' sections naming the correct sibling alternatives (product details -> homedepot_product, search term only -> homedepot_search first). It also routes paging to the item_id + page path, which is a usage decision, not just a parameter fact.

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