Skip to main content
Glama

Whathead Ad Operations

Apple Ads

apple_ads_native_action
Destructive

Run any Apple Ads Platform API v1 or legacy Campaign Management API v5 endpoint through one native dispatcher. v1 uses action names beginning apple_ads_v1_; v5 retires 2027-01-26. Supports dry-runs, destructive confirmation, result projection, and bounded pagination.

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": "apple_ads_native_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoExplicit query params for GET/DELETE endpoints.
actionYesApple Ads native action/tool name, e.g. FIND_CAMPAIGNS, apple_ads_find_campaigns, or apple_ads_campaign_ads_list.
fieldsNoAlias for result_fields unless the action has a native fields parameter.
org_idNoApple Ads v5 orgId for X-AP-Context. For Platform API v1 prefer account_id/adAccountId.
paramsNoNative Apple Ads params. For find endpoints, Selector fields are accepted here and sent as the top-level body.
compactNoRemove null, empty string, and empty object values from the MCP result.
dry_runNoWrites preview by default; read actions ignore it.
payloadNoNative Apple Ads request body (object) or bulk array. Find selectors are top-level; reporting wraps selector; keyword bulk accepts arrays.
confirmedNoRequired for destructive live calls.
max_itemsNoCap returned arrays in the MCP result. Use repeated paged calls for larger exports.
max_pagesNoPage cap for aggregate_pages.
account_idNoApple Ads Platform API v1 adAccountId for X-AP-Context; accepted as the stored-context selector.
path_paramsNoTemplated path params. Friendly fields such as campaign_id/ad_group_id are also accepted.
ad_account_idNoExplicit alias for the Apple Ads Platform API v1 adAccountId context.
connection_idNoOptional Apple Ads connection ID.
result_fieldsNoProject MCP result records to these fields.
skip_preflightNoBypass curated Apple Ads write preflight.
aggregate_pagesNoFetch additional Selector/report pages by offset when true.
idempotency_keyNoIdempotency key for writes.
override_preflightNoAlias for skip_preflight.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, and idempotentHint=false. The description adds real context beyond that: dry-runs are supported (and default to preview per the schema), destructive live calls require confirmation, results can be projected and paginated with bounds, and the v5 surface has a documented retirement date. That is meaningful workflow disclosure for a mutation-capable tool.

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?

Two front-loaded sentences cover purpose, versioning, and capability set with no filler. The density is appropriate for an everything-dispatcher, though the capability list reads as a feature dump rather than prioritizing what an agent most needs first.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 20-parameter universal dispatcher with no output schema, the definition covers purpose and safety posture but leaves out how action names are discovered, what the response envelope looks like, and how errors surface. The rich schema compensates for most parameter-level gaps, making this adequate but not 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 20 parameters, so the schema carries the parameter burden and the baseline is 3. The description only gestures at parameter behavior through phrases like 'result projection' and 'bounded pagination', adding little that the parameter descriptions (dry_run, confirmed, max_items, max_pages, result_fields) do not already say.

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 and resource: a native dispatcher that runs Apple Ads Platform API v1 or legacy Campaign Management API v5 endpoints. The platform distinction is clear against siblings such as google_ads_native_action or meta_native_action. It stops short of enumerating what actions exist, but the dispatcher role itself is unambiguous.

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?

Two useful usage signals are present: v1 action names begin apple_ads_v1_, and v5 retires 2027-01-26, implying v1 is preferred. Dry-runs and destructive confirmation are flagged, but there is no explicit statement of when to choose this tool over a sibling dispatcher, when not to use it, or how an agent discovers available action names. A stronger definition would route the agent to a discovery/help path or state the v1-first preference directly.

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.