Skip to main content
Glama
scraperapi-mcp-server

scraperapi-mcp-server

Official
by scraperapi

Home Depot Product

homedepot_product
Read-onlyIdempotent

Fetch structured details for a single Home Depot product by item ID, GTIN or page URL. Use it to extract prices and specs for catalog enrichment or product monitoring.

Instructions

Retrieve parsed details for a single Home Depot (homedepot.com) product.

    Returns structured product data for one Home Depot listing, identified
    by item ID, GTIN or product page URL. If several identifiers are given,
    url takes priority, then gtin. A gtin must match exactly one Home Depot
    product, otherwise the response is "Product not found."

    When to use:
    - You have a Home Depot item ID, GTIN or product URL and want the
      product's full structured details
    - Product monitoring, catalog enrichment, price/spec extraction

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

    Args:
        params (HomedepotProductParams): one of item_id, gtin or url (at
            least one is required).

    Returns:
        str: JSON containing the structured product data.

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

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior, and the description goes further by disclosing identifier precedence (url > gtin), the exact-match constraint on GTIN with its 'Product not found.' failure response, and ToolError conditions for missing API key, rate limiting and request failure. Only minor gaps remain, such as whether returns are cached or how partial/missing fields are represented.

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?

Front-loaded one-line purpose, then structured When to use / When NOT to use / Args / Returns / Raises sections with no filler. The docstring scaffolding is conventional and scannable rather than wasteful.

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?

With an output schema present, the terse 'Returns: JSON structured product data' is acceptable, and error behavior is fully covered. For a single-parameter lookup tool this is essentially complete; only the shape of partial results is left implicit.

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?

Although schema description coverage is reported as 0%, the description adds a genuinely new semantic rule absent from the schema: the priority order url > gtin and the requirement that a GTIN resolve to exactly one product, otherwise not found. It also confirms at least one identifier is required, reinforcing the schema's single 'params' object.

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 (Retrieve) and resource (parsed details for a single Home Depot product), and explicitly distinguishes itself from homedepot_search and homedepot_reviews. The identifier set (item ID, GTIN, URL) further narrows the scope.

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' bullets covering the identifier-based lookup and monitoring/enrichment use cases, plus 'When NOT to use' routing to homedepot_search for search terms and homedepot_reviews for reviews. The alternative routing is unambiguous.

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