Skip to main content
Glama
meta-ads-mcp

meta-ads-mcp

by 1nc0gn30

meta_update_ad

Idempotent

Updates an existing Meta ad's name, status (ACTIVE/PAUSED/ARCHIVED/DELETED), or creative ID, with optional dry-run validation before applying changes.

Instructions

Update an existing ad's name, status (ACTIVE/PAUSED/ARCHIVED), or creative_id. Supports dry_run=true.

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": {
      "ad_id": "<ad_id>"
    },
    "name": "meta_update_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
ad_idYes
statusNo
dry_runNo
creative_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=true, so the safety profile is covered structurally. The description adds useful context by documenting dry_run=true as a preview path. It omits permission requirements, the effect of archiving vs deleting, and the listed status values (ACTIVE/PAUSED/ARCHIVED) are narrower than the schema enum which also includes DELETED.

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?

Front-loads the mutation scope in one sentence and appends the dry_run capability as a short second clause; no filler. The fragment 'Supports dry_run=true' is terse to the point of being slightly cryptic about what dry_run actually does.

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 mutation tool with five parameters, one required, no output schema and rich annotations, the description covers the essentials of what can be changed. It leaves gaps around error conditions, whether updates are partial or full, and the undeclared DELETED status value that an agent could otherwise be surprised by.

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 0%, so the description must carry the load; it does explain four of the five parameters (name, status, creative_id, dry_run) at a surface level. It does not clarify ad_id beyond 'existing ad', nor does it explain the string formats of ad_id or creative_id, or that only one change is typically needed.

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?

Names a specific verb ('Update') and resource ('an existing ad') and enumerates the mutable fields (name, status, creative_id), so it is distinguishable from meta_update_adset/meta_update_campaign by resource alone. It stops short of explicitly contrasting itself with siblings such as meta_create_ad or meta_get_ad.

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

Usage Guidelines2/5

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

'Update an existing ad' implies the ad must already exist, but there is no explicit when-to-use/when-not guidance, no pointer to meta_get_ad for inspection or meta_create_ad for new ads, and no explanation of when dry_run should be preferred over a real update.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.