Skip to main content
Glama
meta-ads-mcp

meta-ads-mcp

by 1nc0gn30

meta_update_adset

Idempotent

Update an ad set's name, status, budgets, bid, end time, or targeting, with dry_run support to preview changes before applying them.

Instructions

Update an ad set's name, status, daily/lifetime budget, bid_amount, end_time, or targeting spec. 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": {
      "adset_id": "<adset_id>"
    },
    "name": "meta_update_adset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
statusNo
dry_runNo
adset_idYes
end_timeNo
targetingNo
bid_amountNo
daily_budgetNo
lifetime_budgetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true), so the burden is lower. The description contributes one genuinely useful behavioral fact - dry_run=true is supported - but leaves it unexplained and says nothing about how the ARCHIVED/DELETED status values behave or whether changes are reversible.

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?

Two sentences, front-loaded with the action and the affected fields, with zero filler or duplicated metadata. The field list is compact and each clause maps to real schema properties.

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?

For a mutation tool with 9 parameters, a nested object parameter, no output schema, and no parameter documentation anywhere, the description is thin. Critical unknowns - budget field interaction, valid end_time format, dry_run result shape, and targeting spec expectations - are left entirely to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 9 parameters, including a nested free-form targeting object, so the description must compensate and does not. It restates field names already visible in the schema while adding no meaning about budget currency/units, daily-vs-lifetime mutual exclusivity, end_time format, bid_amount semantics, or how the targeting spec should be structured.

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 opens with a specific verb ('Update') and resource ('an ad set's'), then enumerates the mutable fields, which separates it from siblings like meta_update_ad and meta_update_campaign purely by resource. It is clear without any sibling cross-reference, so it stops just short of 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 Guidelines2/5

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

There is no guidance on when to reach for this tool versus meta_update_ad, meta_update_campaign, or a list/get tool, and no stated prerequisites such as required permissions or account context. The only usage hint is the dry_run flag, which is mentioned without explaining what it does or when to use it.

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