Skip to main content
Glama

SP targeting options

get_sp_targeting_options
Read-only

Return Amazon-source Sponsored Products targeting options and recommendation fields: keyword candidates, product target candidates, category recommendations/tree/refinements, and negative brand search/recommendations. Source-attributed read-only data; agentcentral does not decide which targets to create.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asinsNoInput ASINs for product/category recommendations
cursorNoAmazon cursor for product recommendation pagination
localeNoOptional Amazon Ads locale, such as en_US or de_DE
themedNoFor product recommendations, request Amazon theme-grouped output when supported
keywordNoBrand search keyword for negative_brand_search
profile_idNoNumeric Amazon Ads profile ID. Optional when this API key has exactly one enabled Ads profile; agentcentral will default it. Call get_account_info for amazon_ads.enabled_profile_ids. Do not use the marketplace ID, tenant ID, or API key prefix.
ad_group_idNoAd group ID for keyword recommendations
campaign_idNoCampaign ID for keyword recommendations
category_idNoCategory ID for category_refinements
max_resultsNoMaximum Amazon-source options to request where supported
option_typeYesAmazon-source targeting discovery surface to call
include_ancestorNoFor category recommendations, include ancestor categories when Amazon supports it
include_raw_rowsNoFalse returns compact rows. Default true.
candidate_keywordsNoOptional keywords to rank alongside Amazon keyword recommendations
include_diagnosticsNoTrue may add expanded freshness diagnostics. Basic empty-result data-window diagnostics are included by default when available.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
evidenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds useful framing that results are source-attributed read-only Amazon data and that the tool does not commit targets, but says nothing about rate limits, pagination behavior, or result freshness beyond what the schema flags describe.

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?

Two tightly written sentences with the core verb and enumerated surfaces front-loaded, followed by the read-only/no-commit caveat. Nothing is padded or repeated from the schema.

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?

With an output schema present, return values need not be explained, and the 15-parameter schema is fully documented. The description adequately frames the tool's scope and non-committal nature; only the failure to distinguish it from its closest sibling keeps it from being fully complete.

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% across all 15 parameters, so the schema already carries the parameter semantics; baseline 3 is appropriate. The description's enumeration of surfaces loosely corresponds to the option_type enum, but it adds no format, default, or constraint detail beyond what the schema already provides.

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?

The description names a specific verb+resource (return Amazon-source Sponsored Products targeting options) and enumerates the exact discovery surfaces covered, so an agent knows precisely what it produces. It does not, however, differentiate itself from the near-identical sibling get_sponsored_ads_targeting_options, which is a real ambiguity given how close the names are.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: 'read-only data; agentcentral does not decide which targets to create' hints that this is a discovery call feeding a later decision, but there is no explicit when-to-use, when-not-to-use, or named alternative versus the SP/Sponsored-Ads siblings. The agent must infer the routing.

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.