Skip to main content
Glama

Whathead Ad Operations

Meta Ads

meta_native_action
Destructive

Run a Meta Graph Marketing API action by name for deferred or advanced operations. Prefer named tools such as create campaign, fetch ad account, upload media, and get insights when they are available.

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

Input Schema

NameRequiredDescriptionDefault
adNoSibling ad context for preflight only.
adsetNoSibling ad set context for preflight only.
batchNoGraph API batch array for meta_batch_create/meta_graph_batch_create. Prefer the specific meta_batch_create tool when available.
limitNoLIST_ACTIONS page size; defaults to 50.
queryNoExplicit query params.
actionYesMeta Graph Marketing API action/tool name, LIST_ACTIONS, or DESCRIBE_ACTION. Use search="assigned users" or search="business user" to discover access-management actions.
assetsNoResolved asset facts for preflight only.
fieldsNoNative Meta Graph fields selector or Insights metrics. Use result_fields for MCP response projection.
offsetNoLIST_ACTIONS zero-based offset.
paramsNoNative Meta params.
searchNoLIST_ACTIONS case-insensitive action, alias, category, endpoint, or documentation filter.
adbatchNoAsync Marketing API batch array for meta_async_batch_create/meta_ad_account_id_async_batch_requests_create.
compactNoRemove null, empty string, and empty object values from the MCP result.
contextNoWorkspace/account facts for preflight only.
dry_runNoWrites preview by default; read actions ignore it.
page_idNoMeta Page ID; used to resolve a Page Access Token for page and lead-gen actions.
payloadNoNative Meta body exactly as documented.
campaignNoSibling campaign context for preflight only.
categoryNoLIST_ACTIONS category filter.
creativeNoSibling creative context for preflight only.
confirmedNoRequired for destructive live calls.
max_itemsNoCap returned arrays in the MCP result.
max_pagesNoPage cap for aggregate_pages.
read_onlyNoLIST_ACTIONS read/write filter.
account_idNoAlias for ad_account_id.
business_idNoMeta Business ID.
path_paramsNoTemplated Graph path params.
ad_account_idNoMeta ad account ID; 123 or act_123.
connection_idNoOptional Meta OAuth connection ID.
report_run_idNoMeta AdReportRun ID for polling or fetching async report results.
result_fieldsNoProject MCP result records to these fields.
target_actionNoAction to inspect when action=DESCRIBE_ACTION.
skip_preflightNoBypass curated write preflight.
aggregate_pagesNoFollow paging.next when true.
idempotency_keyNoIdempotency key for writes.
include_headersNoOptional Graph batch include_headers flag.
override_preflightNoAlias for skip_preflight.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

The annotations already declare destructiveHint=true, openWorldHint=true, and non-read-only, so the safety profile is supplied. The description adds nothing behavioral beyond 'deferred or advanced' — it does not mention the dry-run-by-default write preview, the confirmation requirement for destructive live calls, preflight bypass options, or idempotency, all of which live only in the schema.

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 short sentences, front-loaded with the purpose and followed by the routing rule, with no filler. The example list is a little loose given how many parameters and modes exist, but nothing is wasted.

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

Completeness2/5

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

This is a 37-parameter, nested-object, destructive, open-world escape hatch with no output schema, yet the description is a single routing sentence. It omits that action also accepts LIST_ACTIONS and DESCRIBE_ACTION for discovery and introspection, and never explains the write-preview/confirmation model an agent must understand before invoking it.

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 37 parameters, so the schema already documents action, dry_run, confirmed, preflight, and paging controls. The description adds no parameter meaning beyond repeating that the tool takes an action name; baseline 3 is appropriate when the schema does the work.

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?

States a specific verb and resource ('Run a Meta Graph Marketing API action by name') and scopes it to 'deferred or advanced operations', which distinguishes it from purpose-built named tools. It never names a concrete sibling tool though, so the distinction is by category rather than by identifier.

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?

Gives explicit routing guidance: prefer named tools such as create campaign, fetch ad account, upload media, and get insights 'when they are available'. That is a clear fallback rule, but the named examples are action categories rather than the actual sibling tool identifiers an agent would select from.

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.