Skip to main content
Glama

Camberstack: Google Ads

Run a Merchant Center report

merchant_report
Read-only

Runs a read-only Merchant Center Query Language (MCQL) query on one account and returns up to limit rows. One view per query. product_performance_view: segments date, week, offer_id, title, brand, marketing_method (ADS or ORGANIC), customer_country_code, category_l1…l5, product_type_l1…l5, custom_label0…4; metrics clicks, impressions, click_through_rate (conversions, conversion_value and conversion_rate count free listings only). It needs a date range and at least one metric, e.g. SELECT offer_id, title, clicks, impressions FROM product_performance_view WHERE date DURING LAST_30_DAYS AND marketing_method = 'ADS' ORDER BY clicks DESC LIMIT 50. product_view (current status): id, offer_id, title, brand, price, availability, gtin, feed_label, aggregated_reporting_context_status (ELIGIBLE, ELIGIBLE_LIMITED, PENDING, NOT_ELIGIBLE_OR_DISAPPROVED), item_issues, click_potential (LOW, MEDIUM, HIGH); id must be selected. price_competitiveness_product_view (benchmark_price) needs id and report_country_code selected; price_insights_product_view (suggested_price, effectiveness) needs id. best_sellers_product_cluster_view and best_sellers_brand_view need report_date, report_granularity, report_country_code and report_category_id selected and WHERE report_granularity = 'WEEKLY' (or 'MONTHLY') AND report_country_code = 'US'; ORDER BY rank. WHERE joins conditions with AND only (no OR); dates as date BETWEEN 'YYYY-MM-DD' AND 'YYYY-MM-DD' or date DURING LAST_7_DAYS / LAST_30_DAYS. Reports work on standalone accounts and sub-accounts, not on an advanced account itself. Changes nothing.

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": {
      "account_id": "<account_id>",
      "query": "<query>"
    },
    "name": "merchant_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMost rows to return
queryYesAn MCQL SELECT statement
account_idYesMerchant Center account ID, digits only (from merchant_accounts)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish read-only and non-destructive behavior, and the description adds meaningful constraints: one view per query, row limits, account scope, WHERE limitations, date syntax, and required selections for each view. The closing note that it changes nothing reinforces the read-only contract without contradicting annotations.

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?

The description is dense and long, but the length is driven by the query language's complexity and view-specific requirements. The purpose and main constraints are front-loaded, followed by necessary per-view details and an example, so little is wasted even if it is a heavy read.

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 tool with no output schema, the description covers account scope, query construction, supported views, required fields, filter syntax, and row limits. It provides enough detail for an agent to construct and invoke the tool correctly without needing return-value documentation.

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 100%, so `account_id`, `query`, and `limit` are already documented structurally. The description adds substantial meaning for the `query` parameter by explaining MCQL syntax, supported views, required fields, metric behavior, joins, and date filters, though the `limit` semantics are mostly left to the schema.

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: it runs a read-only Merchant Center Query Language query on one account and returns up to `limit` rows. It clearly establishes the MCQL/Merchant Center scope, distinguishing it from a general or Ads query tool.

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?

It explains the core usage conditions: one view per query, a required date range, at least one metric, and the account scope of standalone accounts and sub-accounts but not advanced accounts. It does not explicitly name an alternative sibling tool for related query needs, but the operational guidance is clear.

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.