Skip to main content
Glama

Query advertising search terms

query_advertising_search_terms
Read-only

Returns product-scoped buyer search term performance or product-ASIN search term performance. When a manual AD_STRUCTURE_CREATE draft has productAds but lacks positive targeting, use dimension=sku|asin|parentAsin with values to find evidence-backed keyword or product-target candidates. Sort by adOrders, adSales, or roas to surface historical performers. The returned average CPC can be presented as a historical bid reference, but it is not an Amazon suggested bid. Show the supporting metrics and obtain customer approval before adding any candidate or bid to the draft. MCP reporting and workflow metric date ranges use yyyy-MM-dd and include both startDate and endDate, with at most 95 calendar days per range. For longer read-only reports, split into non-overlapping windows: endDate = startDate plus 94 days, capped at the requested end date; the next startDate is the previous endDate plus 1 day. Apply the same limit independently to comparison ranges. Do not average ratios such as ACOS or ROAS across windows; recompute them from summed base metrics. Do not automatically split advertising write plans or metric-based selectors; obtain a supported analysis window from the user. Keyword ranking trends have separate limits: DAILY supports up to 90 inclusive days and RAW up to 31 inclusive days. For keyword ranking trends, use these interval-specific limits when splitting read-only reports. This reporting limit does not apply to campaign scheduling dates.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of items to return. Defaults to 100 and cannot exceed 100.
offsetNoZero-based pagination offset.
sortByNoAdvertising performance sort field.
valuesNoOptional identifiers for the selected dimension.
endDateYesEnd business date in yyyy-MM-dd format. Date range is inclusive and can contain at most 95 days. For longer read-only reports, use non-overlapping windows of up to 95 days.
storeIdYesStore ID from the Stores API, formatted as sellerId:marketplaceId.
dimensionNoQuery dimension.
searchKeyNoOptional buyer search term text.
sortOrderNoSort order.
startDateYesStart business date in yyyy-MM-dd format. Date range is inclusive and can contain at most 95 days. For longer read-only reports, use non-overlapping windows of up to 95 days.
resultTypeNoSearch term result type.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish read-only/non-destructive, and the description adds genuinely new behavioral context: average CPC is a historical reference and not an Amazon suggested bid, ratios must be recomputed from summed base metrics rather than averaged, and customer approval is required before mutating the draft. These are non-obvious operational constraints that materially change how an agent should use the output.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and usage guidance are correctly front-loaded, but the second half is bloated: the 95-day window and non-overlapping-window splitting rules largely restate the startDate/endDate schema descriptions, and the passage about keyword ranking trend limits (DAILY 90 days / RAW 31 days) belongs to a different tool and is noise here.

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 read-only query with an output schema and full annotation coverage, the description supplies what is needed to call it correctly: date-range constraints, dimension/values pairing, sorting guidance, and the bid-reference caveat. The misplaced keyword-ranking-trend text adds confusion but does not create a functional gap.

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 the baseline is 3, but the description adds usage meaning the schema does not: which dimension/values combinations to combine for candidate discovery and which sortBy fields (adOrders, adSales, roas) surface historical performers. It does not explain searchKey/resultType interplay, so it is above baseline but not exhaustive.

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 first sentence names a specific verb and resource and disambiguates the two return modes: "Returns product-scoped buyer search term performance or product-ASIN search term performance." Combined with the schema's dimension/resultType enums, an agent can tell exactly what this does versus siblings like query_aba_search_terms or query_advertising_targets.

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 gives an explicit triggering scenario (a manual AD_STRUCTURE_CREATE draft with productAds but no positive targeting) and a concrete recipe using dimension=sku|asin|parentAsin with values. It also states the approval gate before adding candidates. It stops short of naming an alternative sibling or an explicit when-not-to-use case, so it falls just below the top band.

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