Skip to main content
Glama

google_shopping

Destructive

当用户需要查询 Google Shopping 商品搜索结果、商品价格、促销、包邮、小企业商品,或按价格区间、排序和购物过滤条件检索商品时触发。

Input Schema

NameRequiredDescriptionDefault
qYes定义想要搜索的查询内容。提供 shoprs 参数时不需要同时提供 q 参数。调用方必须提供非空值,不使用默认值。
glNo定义 Google 搜索要使用的国家/地区。它是一个两位数的国家/地区代码。例如 us 代表美国,uk 代表英国,fr 代表法国。
hlNo定义 Google 职位搜索要使用的语言。它是一个两位数的语言代码。例如 en 代表英语,es 代表西班牙语,fr 代表法语。
jsonNo定义采集结果的输出格式。1 返回 JSON 格式数据,2 返回 JSON+HTML 格式数据,3 返回 HTML 格式数据,4 返回 Light JSON。默认值为 1。1
uuleNo希望用于搜索的 Google 编码位置。uule 和 location 参数不能同时使用。
startNo定义结果偏移量。它跳过指定数量的结果,用于分页。该值取决于返回的结果数量,可以是 10 或 20。例如,移动端返回 10 条结果时,start 应为 10、20、30。
shoprsNo定义包含关于查询和搜索过滤器元数据的令牌。提供 shoprs 参数时不需要同时提供 q 参数。要应用多个过滤器,请使用 || 分隔符连接它们,例如 shoprs_1||shoprs_2||shoprs_3。
on_saleNo仅显示促销产品。该参数会覆盖嵌入到 shoprs 参数中的相应过滤器。
sort_byNo定义结果的排序顺序。1 为价格从低到高,2 为价格从高到低。该参数会覆盖嵌入到 shoprs 参数中的相应过滤器。
locationNo定义搜索发起的地理位置。如果有多个位置与请求的位置匹配,将选择最受欢迎的一个。
no_cacheNo默认情况下,5 分钟内缓存相同参数的搜索结果。设为 true 可跳过缓存,设为 false(默认)则使用缓存结果。缓存搜索免费,且不计入搜索统计。false
max_priceNo价格范围查询的上限。该参数会覆盖嵌入到 shoprs 参数中的相应过滤器。
min_priceNo价格范围查询的下限。该参数会覆盖嵌入到 shoprs 参数中的相应过滤器。
free_shippingNo仅显示包邮产品。该参数会覆盖嵌入到 shoprs 参数中的相应过滤器。
google_domainNo定义要使用的 Google 域名。默认为 google.com。google.com
small_businessNo仅显示来自小企业的产品。该参数会覆盖嵌入到 shoprs 参数中的相应过滤器。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, and the description adds no behavioral context at all — nothing about cost/credits, caching (only the no_cache parameter documents that), rate limits, or pagination behaviour. With a destructive annotation on a query tool, the agent would benefit from clarification, and the description supplies none.

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?

A single, front-loaded sentence with no filler or repetition. The long enumeration of features is slightly list-heavy but each item corresponds to a real capability, so nothing feels wasted.

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

Completeness3/5

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

For a 16-parameter tool with no output schema and a destructive annotation, the description covers only trigger conditions. The schema compensates fully for parameter meaning, but return-format expectations, caching/cost implications and pagination are left to the schema or undocumented, leaving meaningful gaps.

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

Parameters3/5

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

Schema description coverage is 100% and the schema itself documents every parameter in detail, including cross-parameter rules (shoprs vs q, overrides of shoprs filters, uule vs location). The description adds no parameter meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific resource (Google Shopping 商品搜索结果) and enumerates the abilities: prices, promotions, free shipping, small-business items, price ranges and filters. That is clear enough to identify the tool, but it never contrasts itself with near siblings such as google_shopping_info or bing_shopping, so an agent has no textual basis for choosing between them.

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 sentence is written entirely as a trigger condition, listing concrete situations in which to call it (price lookup, promotions, free shipping, small business, price-range/sort/filter retrieval). This is solid when-to-use guidance, but there are no exclusions or named alternatives when another shopping/search sibling would fit better.

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.

Resources