Skip to main content
Glama
pauloFroes

mcp-meta-marketing

by pauloFroes

Create Ad Set

create_adset

Create a new ad set for a Meta campaign by defining targeting, optimization goal, budget, and status. Start targeted advertising to your selected audience.

Instructions

Create a new ad set within a campaign. Requires campaign_id, targeting, billing_event, optimization_goal, budget, and status. Targeting is a JSON string with age, gender, geo, interests, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesAd set name
statusYesInitial status
end_timeNoEnd time (ISO 8601). Required if using lifetime_budget.
targetingYesJSON targeting object. Example: {"age_min":25,"age_max":55,"geo_locations":{"countries":["BR"]},"publisher_platforms":["facebook","instagram"]}
start_timeNoStart time (ISO 8601)
campaign_idYesParent campaign ID
daily_budgetNoDaily budget in cents (e.g. 5000 = R$50.00). Required if campaign has no budget.
billing_eventNoBilling event (default: IMPRESSIONS)
lifetime_budgetNoLifetime budget in cents. Requires end_time.
promoted_objectNoJSON promoted object. Required for conversions. Example: {"pixel_id":"123","custom_event_type":"PURCHASE"}
optimization_goalYesWhat to optimize for
Behavior3/5

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

Annotations already indicate readOnlyHint=false, so the mutation nature is clear. The description adds minimal behavioral context beyond that, mentioning required fields but no side effects, return values, or validation behavior. 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?

The description is brief and front-loaded with the main action. However, the requirements sentence is inaccurate, which detracts from its efficiency. Two sentences are appropriate for this tool.

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?

Given the tool's complexity (11 params, 3 enums, no output schema), the description is adequate but incomplete. It does not mention prerequisites like campaign existence, budget constraints, or return behavior. The schema carries most of the semantic load, so the description adds only basic context.

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?

The schema covers all parameters with descriptions, so baseline is 3. The description attempts to summarize key parameters but is misleading: it says 'budget' is required while the actual parameters are daily_budget/lifetime_budget (both optional in schema), and billing_event is optional. This adds confusion rather than value.

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 creates a new ad set within a campaign, using specific verb and resource. This distinguishes it from sibling tools like create_campaign or create_ad, as it explicitly names 'ad set' and 'within a campaign'.

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?

The description provides context that this is for creating ad sets within an existing campaign, and lists key required fields. However, it does not explicitly mention alternatives or when-not-to-use, such as pointing to update_adset for modifications.

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/pauloFroes/mcp-meta-marketing'

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