Skip to main content
Glama
scraperapi-mcp-server

scraperapi-mcp-server

Official
by scraperapi

Home Depot Search

homedepot_search
Read-onlyIdempotent

Retrieve structured Home Depot product search results for a keyword or search/category URL, including item IDs for product discovery and price research.

Instructions

Retrieve parsed Home Depot (homedepot.com) product search results.

    Returns structured search results, including each product's item ID,
    for a keyword search or for a Home Depot search or category browse page
    URL. Results are localized to a default Home Depot store; selecting a
    specific store or ZIP code is not supported. Ranking can change between
    requests, so use item IDs to deduplicate when paginating.

    When to use:
    - Discovering Home Depot products and their item IDs for a search term
    - Price/market research across a Home Depot search or category page

    When NOT to use:
    - You already have an item ID, GTIN or product URL (use
      'homedepot_product' / 'homedepot_reviews')

    Args:
        params (HomedepotSearchParams): either search_term or url (one is
            required), plus optional page, sort_by, min_price and max_price.
            With url, page, sort_by and the price filters are ignored.

    Returns:
        str: JSON containing the structured search results.

    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_search"
  }
}

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?

Beyond the read-only and idempotent annotations, it discloses default-store localization, lack of store or ZIP-code selection, ranking volatility between requests, and the need to deduplicate paginated results by item ID. It also notes ToolError conditions for missing API keys, rate limits, and request failures.

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?

The description is well structured and front-loads the core behavior, usage guidance, and parameter constraints. Some sections, especially the 'Returns' note, are redundant given the output schema and could be trimmed, but they do not obscure the important content.

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?

For a search tool with an output schema, the description covers the necessary operational context: input exclusivity, ignored parameters, localization limits, pagination deduplication, and error conditions. Nothing essential for correct invocation appears to be 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?

The description adds important meaning beyond the schema by stating that either search_term or url is required and that page, sort_by, and price filters are ignored when url is used. It does not enumerate all sort options or page-size limits, but those are present in the schema and the description adequately compensates for the reported low schema coverage.

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 states a specific verb and resource: retrieve parsed Home Depot product search results. It clearly distinguishes this from sibling tools by directing agents with an item ID, GTIN, or product URL to 'homedepot_product' or 'homedepot_reviews'.

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?

It provides explicit 'When to use' and 'When NOT to use' sections, naming the alternative sibling tools and the condition that selects them. This leaves little ambiguity about when this search tool is appropriate.

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