Skip to main content
Glama
A1-x-Tech

mcp-google-merchants

Run an MCQL report query

search_reports
Read-onlyIdempotent

Run MCQL queries to fetch Merchant Center reports on products, performance, pricing, and competitiveness. Filter products by querying product_view.

Instructions

Runs a Merchant Center Query Language (MCQL) query via reports:search. Tables: product_view, product_performance_view, price_competitiveness_product_view, price_insights_product_view, non_product_performance_view, best_sellers_product_cluster_view, best_sellers_brand_view, competitive_visibility_top_merchant_view, competitive_visibility_competitor_view, competitive_visibility_benchmark_view. Rules: field names are snake_case in the query but camelCase in the JSON response; no SELECT ; performance views require a WHERE date range, e.g. SELECT offer_id, clicks, impressions FROM product_performance_view WHERE date BETWEEN '2026-07-01' AND '2026-07-31' ORDER BY clicks DESC. price_ views require the Market Insights opt-in. Each result row has exactly one populated view object. This is also the way to FILTER products (product_view) — list_products has no filter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesMCQL query, e.g. SELECT offer_id, title, price FROM product_view WHERE availability = 'out of stock'.
accountNoMerchant Center account ID (digits, e.g. "123456"). Omit to use the GOOGLE_MERCHANTS_ACCOUNT_ID default.
page_sizeNoMax results per page (1..100000; API default 1000).
page_tokenNonextPageToken from the previous response. All other parameters must be identical to the previous call.
Behavior5/5

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

Adds rich behavioral details beyond annotations: snake_case query vs camelCase response, row structure ('exactly one populated view object'), opt-in requirements, and view constraints. Annotations already cover read-only/idempotent, so these extra details substantially improve transparency.

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 well-structured with 'Tables:' and 'Rules:' sections, and every sentence provides necessary context—no filler. While it lists many table names, each is essential for query construction.

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 complex query-language tool with no output schema, the description covers available tables, constraints, permissions, row shape, and alternatives. This is a complete and self-sufficient guide for an agent to use the tool effectively.

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 covers all parameters with 100% description coverage, so baseline is 3. The description adds extra query-specific semantics (date range examples, naming conventions, table-specific rules) that go beyond the schema's single example, justifying a 4.

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 clearly states it runs MCQL queries via reports:search and lists the available tables. It also distinguishes itself from list_products by explicitly noting this is the way to filter products, making the purpose unambiguous and well differentiated.

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 usage rules: no SELECT *, performance views require a date range, price_* views require Market Insights opt-in, and it explicitly contrasts with list_products for filtering. These guidelines give clear when-to-use and when-not-to-use context.

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/A1-x-Tech/mcp-google-merchants'

If you have feedback or need assistance with the MCP directory API, please join our Discord server