Skip to main content
Glama
scraperapi

scraperapi-mcp-server

Official

google_shopping

Read-onlyIdempotent

Retrieve structured product listings from Google Shopping for price comparison and market research. Returns titles, prices, merchants, ratings, and links for a given search query.

Instructions

Retrieve parsed Google Shopping product results for a query.

    Returns structured shopping listings (product title, price, merchant,
    rating, link) from Google Shopping for a query.

    When to use:
    - Price comparison and product discovery across merchants
    - Market/pricing research for a product keyword

    When NOT to use:
    - A specific marketplace's own data — use the Amazon/Walmart/eBay SDE tools
    - General web results (use 'google_search')

    Args:
        params (GoogleShoppingParams): query (required) plus optional
            localization, pagination, tld, output_format, and include_html.

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

    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, covering safety and behavior. The description adds context about error conditions (missing API key, rate limit, request failure) and the output format (JSON/CSV). It does not fully detail pagination behavior beyond param hints, but overall it supplements the annotations well without contradiction.

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?

The description is concise with three paragraphs, a returns clause, and a raises clause. It is front-loaded with the core purpose and structured with clear sections (when to use, when not to use, args, returns). No extraneous information.

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 the tool's complexity (shopping search with multiple siblings), the description fully covers its role, distinguishes it from alternatives, explains typical use cases, and notes error conditions. It references an output schema, so no further detail on return values is needed. The description is self-contained for an AI agent to decide when and how to invoke it.

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?

Schema description coverage is 0% (the description does not repeat parameter details), but the schema itself has detailed descriptions for each parameter. The tool description refers to params by category (localization, pagination, etc.), which adds organizational value. Since the schema already provides full parameter semantics, the description's summary is sufficient and adds clarity.

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 uses a specific verb ('Retrieve parsed Google Shopping product results') and clearly identifies the resource ('for a query'). It lists the structured fields returned (product title, price, merchant, rating, link) and explicitly distinguishes from sibling marketplace tools (Amazon, Walmart, eBay) and general web search, making the purpose unambiguous.

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?

The description includes explicit 'When to use' (price comparison, market research) and 'When NOT to use' sections, naming specific alternatives like amazon_search, walmart_search, and google_search. This provides clear decision criteria for the agent.

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