Skip to main content
Glama

Litescrape

Google Shopping

google_shopping
Read-only

Search Google Shopping and return the product grid (shopping_results with title, price, source, rating, thumbnail), category blocks, sponsored listings and the refinement chips Google renders (filters). Price bounds, sale, shipping and small business refinements are mutually exclusive; sort_by combines with one of them. Requires an API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoProduct query; required unless shoprs is supplied
glNoTwo-letter country for localization, e.g. "us"
hlNoLanguage code such as "en" or "en-GB"; default en
numNoProduct count, 1-100
uuleNoPre-encoded Google location token; conflicts with location
startNoResult offset
deviceNoLayout to request; default desktop
shoprsNoRefinement token from a previous response's filters
on_saleNo
sort_byNo1 price low to high, 2 price high to low, 3 rating, 4 relevance
locationNoNamed search origin such as "Austin, Texas"; conflicts with uule and lat/lon
max_priceNoUpper price bound
min_priceNoLower price bound
free_shippingNo
google_domainNoGoogle domain such as google.co.uk; default google.com
result_groupsNoReturn only these top-level result groups, e.g. ["organic_results", "knowledge_graph"]; omit for the complete response. search_metadata is always kept
small_businessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With readOnlyHint and openWorldHint already present, the bar is lower, but the description adds value by disclosing the response composition (shopping_results fields, category blocks, sponsored listings, refinement chips) and the API key requirement. No contradiction with annotations exists.

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?

Three sentences with no filler. The first sentence front-loads the tool's purpose and output, the second captures the key parameter constraint, and the third states the operational prerequisite. Every sentence earns its place.

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?

For a 17-parameter tool with no output schema, the description supplies the essential output shape and the most important parameter-combination constraint, while the schema covers individual parameter details. It could be more complete by explicitly routing the agent to this tool only for shopping queries versus generic search, but the core invocation knowledge is present.

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 coverage is 82%, so the schema already describes most parameters. The description adds crucial cross-parameter semantics not visible in the schema: the mutual exclusivity of price/sale/shipping/small_business refinements and the rule that sort_by combines with one refinement. This meaningfully improves correct invocation.

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 opens with a specific verb and resource: 'Search Google Shopping'. It then enumerates the concrete return components (product grid, category blocks, sponsored listings, refinement chips), which clearly distinguishes this tool from generic siblings like google_search, bing_search, and google_maps.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives practical usage guidance: it states the API key prerequisite and explains that price bounds, sale, shipping, and small business refinements are mutually exclusive while sort_by can combine with one of them. It does not explicitly say 'for general web results use google_search', so it stops short of full alternative routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.