Skip to main content
Glama

Whathead Ad Operations

Snapchat Ads

snapchat_native_action
Destructive

Run a Snapchat 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": "snapchat_native_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoCatalog page size when action=LIST_ACTIONS. Defaults to 25. For reporting actions, this remains the native Snapchat result limit.
queryNoExplicit query params.
actionYesSnapchat Marketing API action/tool name. Use LIST_ACTIONS with search/category pagination to discover names, or DESCRIBE_ACTION with target_action before a complex call. Friendly names such as snapchat_campaign_stats, snapchat_adsquad_stats, and snapchat_ad_stats are preferred; legacy *_stats_get names are accepted.
cursorNoZero-based catalog offset when action=LIST_ACTIONS.
fieldsNoAlias for result_fields unless the action has a native fields parameter.
paramsNoNative Snapchat params.
searchNoCase-insensitive action/category/path filter when action=LIST_ACTIONS.
compactNoRemove null, empty string, and empty object values from the MCP result.
dry_runNoWrites preview by default; read actions ignore it.
payloadNoNative Snapchat body exactly as documented.
categoryNoOptional category filter when action=LIST_ACTIONS.
confirmedNoRequired for destructive live calls.
max_itemsNoCap returned arrays in the MCP result.
max_pagesNoPage cap for aggregate_pages.
account_idNoAlias for ad_account_id.
path_paramsNoTemplated path params such as campaign_id or media_id.
ad_account_idNoSnapchat ad account ID.
connection_idNoOptional Snapchat OAuth connection ID.
result_fieldsNoProject MCP result records to these fields.
target_actionNoAction to inspect when action=DESCRIBE_ACTION.
skip_preflightNoBypass curated write/report preflight.
aggregate_pagesNoFollow paging.next_link when true.
idempotency_keyNoIdempotency key for writes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, openWorldHint=true and readOnlyHint=false, so the safety profile is covered upstream. The description adds the useful framing that this is a fallback path for complex operations, but says nothing about the dry_run default, the confirmed flag for destructive live calls, idempotency, or rate limits — all of which matter more for a dispatcher with 23 parameters. No contradiction with annotations.

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 with the routing constraint front-loaded before the alternative-tool advice; nothing is wasted. The phrase 'deferred or advanced operations' is the only soft spot, but it is not padding.

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 destructive, open-world dispatcher with 23 parameters and nested objects, the description covers the routing question but leaves the operating workflow (discover via LIST_ACTIONS, inspect via DESCRIBE_ACTION, then invoke) to the schema. No output schema exists, so return values need not be described, which keeps this adequate rather than thin.

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 every parameter is already documented in the schema itself and the description is not obligated to repeat them. It adds no syntax, format, or interplay guidance beyond what the schema provides (e.g. how path_params and action interact). Baseline 3 is appropriate.

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 definition pairs an explicit verb (run) with a specific resource (Snapchat Marketing API action) and frames this tool as the dispatcher for deferred/advanced operations. It distinguishes itself from named siblings by recommending create campaign, fetch ad account, upload media and get insights instead. What 'deferred or advanced' actually covers is left vague, which keeps it off a 5.

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?

It gives real routing guidance: prefer the named, purpose-built tools when available, and fall back to this generic action runner otherwise. There are no explicit exclusions or prerequisites (auth, connection requirement) and the discovery pattern via action=LIST_ACTIONS and action=DESCRIBE_ACTION is only implied here, so it stops short of a 5.

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.