Skip to main content
Glama

meta_ads_ad_sets_update

Update specific settings of an existing Meta Ads ad set without affecting other fields. Supports partial updates for name, budget, status, or targeting (requires full spec merge). Reversible via rollback_apply.

Instructions

Updates one or more settings on an existing ad set. Partial update — only provided fields are changed. Returns the updated ad set. Mutating, reversible via rollback_apply. For status-only transitions prefer meta_ads_ad_sets_pause / meta_ads_ad_sets_enable. Changing targeting replaces the entire targeting spec — fetch the current spec via meta_ads_ad_sets_get and merge client-side to avoid data loss.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idNoMeta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required.
ad_set_idYesAd set ID to update.
nameNoNew ad set name.
statusNoNew ad set status. Prefer the dedicated pause/enable tools for simple ACTIVE ↔ PAUSED.
daily_budgetNoNew daily budget in account currency minor units. Only valid when the campaign is not using CBO.
targetingNoFull targeting spec replacement. Any keys not supplied here are cleared — fetch current spec via meta_ads_ad_sets_get and merge before writing back.
Behavior5/5

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

Without annotations, the description fully discloses behavior: partial update, mutating nature, reversibility via rollback_apply, and the full replacement of targeting. This provides sufficient transparency for safe usage.

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?

Four sentences, each essential. No redundancy, front-loaded with purpose, and structured logically: purpose, update behavior, reversibility, and special guidance.

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

Completeness4/5

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

While the description covers key aspects (partial update, reversibility, targeting warning, status alternatives), it does not detail the return structure beyond 'Returns the updated ad set,' which is acceptable but could add slightly more detail given the absence of an output schema.

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

Parameters5/5

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

Schema coverage is 100%, and the description adds significant value beyond the schema by explaining that targeting replaces the entire spec, status changes are better handled by dedicated tools, and daily_budget is only valid when campaign is not using CBO.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it updates an existing ad set, specifies partial update behavior, and distinguishes from sibling tools like meta_ads_ad_sets_pause and meta_ads_ad_sets_enable by noting they are preferred for status-only transitions.

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

Usage Guidelines5/5

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

Explicitly guides when to use alternative tools (pause/enable for status changes) and provides a warning for targeting replacement with a specific recommendation to fetch and merge client-side, including the tool name meta_ads_ad_sets_get.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/logly/mureo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server