Skip to main content
Glama

meta_ads_ad_sets_update

Update specific settings of an existing Meta Ads ad set without affecting other fields. Change name, status, daily budget, or targeting with a partial update.

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?

No annotations are provided, so the description carries full burden. It discloses that the mutation is reversible via rollback_apply, that it's a partial update, and warns about targeting data loss. This is comprehensive.

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, front-loaded with the core action. No redundant information. Each sentence earns its place by providing essential guidance or warnings.

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

Completeness5/5

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

Covers all relevant aspects: partial update, reversibility, status alternatives, targeting replacement warning, budget condition. With no output schema, the return value statement is sufficient. Complete for a 6-param update tool.

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?

While schema coverage is 100%, the description adds significant context beyond field descriptions: e.g., targeting full replacement warning, status tool preference, and budget condition (only valid without CBO). This helps prevent mistakes.

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 the tool updates an existing ad set with a partial update, returning the result. It distinguishes from sibling pause/enable tools, making its purpose explicit.

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 advises when to use this tool (partial updates) and when to use alternatives (status-only transitions via pause/enable tools). Also provides a critical warning about targeting replacement requiring fetch-merge.

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