Skip to main content
Glama

Whathead Ad Operations

Amazon Ads

amazon_native_action
Destructive

Run any Amazon Ads endpoint through the native dispatcher. Surface-bounded generic tool; supports OAuth/profile routing, dry-runs, destructive confirmation, /adsApi/v1 OpenAPI batch endpoints, reporting, and nextToken aggregation.

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": {
      "action": "<action>"
    },
    "name": "amazon_native_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoExplicit query params. For /adsApi/v1 query endpoints these are moved into the POST body.
actionYesAmazon Ads native action/tool name, e.g. ADS_API_SP_QUERY_CAMPAIGNS, amazon_ads_api_sp_query_campaigns, LIST_SP_CAMPAIGNS, or amazon_list_sp_campaigns.
fieldsNoAlias for result_fields unless a native fields parameter exists.
paramsNoNative Amazon Ads params. For /adsApi/v1 query endpoints these are moved into the POST body.
regionNoAmazon Ads region. Omit when profile_id was synced; the backend infers the region from amazon_selected_assets.
compactNoRemove null, empty string, and empty object values from the MCP result.
dry_runNoWrites preview by default; read actions ignore it.
payloadNoNative Amazon Ads request body. Batch arrays use campaigns, adGroups, ads, targets, adExtensions, or adAssociations.
confirmedNoRequired for destructive live calls.
max_itemsNoCap returned arrays in the MCP result.
max_pagesNoPage cap for aggregate_pages.
profile_idNoAmazon Ads profile ID for Amazon-Advertising-API-Scope. Required for profile-scoped calls.
path_paramsNoTemplated path params. Friendly fields such as campaign_id, ad_group_id, report_id, ad_extension_id, and ad_association_id are also accepted.
connection_idNoOptional Amazon Ads OAuth connection ID. Omit to use the active workspace connection or infer from profile_id.
result_fieldsNoProject MCP result records to these fields.
skip_preflightNoBypass curated Amazon Ads write preflight.
aggregate_pagesNoFetch additional /adsApi/v1 query pages by nextToken when true.
override_preflightNoAlias for skip_preflight.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true. The description adds meaningful context beyond those flags: OAuth/profile routing, dry-run defaults, destructive confirmation, batch endpoint support, reporting, and nextToken aggregation. It does not contradict the annotations.

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 two sentences, front-loads the core purpose, and uses the second sentence to enumerate supported behaviors without redundant wording.

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 generic 18-parameter dispatcher with complete schema coverage and safety annotations, the description covers the key behavioral surface: routing, dry-run/confirmation, batch endpoints, reporting, and pagination. It does not describe return-value shape, but that is left to the action-specific endpoint and the schema-rich parameters.

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%, so the schema already documents all 18 parameters. The description mentions capabilities like dry-runs, destructive confirmation, and nextToken aggregation, but adds little parameter-specific meaning beyond what the schema 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 states a specific action and resource: 'Run any Amazon Ads endpoint through the native dispatcher.' It clearly identifies the tool as the Amazon Ads-native dispatcher among similarly named siblings for other ad platforms, though it does not explicitly contrast itself with a particular alternative.

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 by 'Run any Amazon Ads endpoint' and the listed capabilities, but there is no explicit guidance on when to use this tool versus a more specific alternative, nor any when-not-to-use conditions.

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.