Skip to main content
Glama

Query advertising bid recommendations

query_advertising_bid_recommendations
Read-only

Read-only POST that returns current Amazon suggested bids and bid ranges for 1 to 100 Sponsored Products, Sponsored Brands, or Sponsored Display targeting items. For an existing keyword or target, provide targetingType and targetingId only. For a candidate that has not been created, first create its ad group, then provide targetingType, adGroupId, and targeting; this operation does not create the candidate. The server resolves the advertising product, Campaign, and Ad Group from synchronized data, so clients do not provide adProduct or campaignId. Compatible items in the same product, Campaign, Ad Group, and targeting type are combined into one Amazon recommendation request. Successful group responses are cached briefly and reused for identical requests. If a group is rate-limited, earlier successful groups are preserved, later groups of the same advertising product are not sent, and other advertising products continue. Retry only retryItemIndexes after retryAfterSeconds; do not immediately repeat the complete request when requestFingerprint is unchanged. Rate-limited and deliberately skipped unfinished items both retain the backward-compatible TOO_MANY_REQUESTS code; details distinguish them. Retrieves bid recommendations from Amazon Ads using the authorized advertising profile, or reuses cached recommendation results. Supports existing targets and supplied keyword or product targeting candidates that have not been created in the advertising account. This is a read-only tool: it neither creates targeting entities nor applies the returned bid. Use it when a bid decision needs Amazon's recommendation; historical CPC is not a suggested bid. Never repeat an unchanged request in the same assistant turn. Reuse successful items and the same requestFingerprint response. On TOO_MANY_REQUESTS, wait at least retryAfterSeconds and call this tool again with only retryItemIndexes.

Input Schema

NameRequiredDescriptionDefault
itemsYesExisting and candidate targeting items. Existing items require targetingType and targetingId only; candidate items require targetingType, adGroupId, and targeting. Submit selected candidates once, reuse successful results, and retry only response retryItemIndexes after retryAfterSeconds.
storeIdYesStore ID from the Stores API, formatted as sellerId:marketplaceId.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint/destructiveHint annotations, it discloses server-side resolution of adProduct/Campaign/Ad Group, grouping of compatible items into one Amazon request, brief caching of successful group responses, and nuanced partial-failure semantics where rate-limited groups preserve earlier successes and skip later groups of the same product while other products continue. The TOO_MANY_REQUESTS code-sharing detail is exactly the kind of non-obvious behavior an agent needs.

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 core purpose and targeting rules are front-loaded, but the retry/caching guidance is restated several times ('retry only retryItemIndexes after retryAfterSeconds,' 'do not repeat an unchanged request,' 'reuse successful items') across the middle and final sentences. Roughly a third of the text could be cut without losing information.

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?

With an output schema present, return values need no explanation, and the description covers everything else an agent needs: input shape selection, server-side resolution, caching, partial rate-limit failure, and retry protocol. Nothing material is missing for correct invocation.

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 baseline is 3; the description goes further by explaining the mutually exclusive parameter combinations (targetingId alone vs adGroupId + targeting) and clarifying that adProduct and campaignId are deliberately absent because the server resolves them. That adds real meaning beyond the field-level descriptions.

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 opening sentence gives a specific verb, resource, and scope: read-only POST returning Amazon suggested bids and bid ranges for 1-100 Sponsored Products/Brands/Display targeting items. It is clearly separable from siblings like query_advertising_target_recommendations and the prepare_*/apply_* families, which mutate rather than read.

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?

It states explicit selection rules: existing items use targetingType + targetingId only; uncreated candidates require creating the ad group first, then passing targetingType, adGroupId, and targeting. It also gives negative guidance ('this operation does not create the candidate'), warns that historical CPC is not a suggested bid, and prescribes the retry path on TOO_MANY_REQUESTS.

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