Skip to main content
Glama

Meta create ad

meta_create_ad

Create a Meta ad from an existing creative_id or a creative object. Changes data: runs only with confirm=true; without it, returns a preview and changes nothing. The change reaches outside Kampalo. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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_account_id": "<ad_account_id>",
      "name": "<name>",
      "adset_id": "<adset_id>"
    },
    "name": "meta_create_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
extraNo
statusNo
confirmNo
user_idNo
adset_idYes
creativeNo
client_idNo
user_emailNo
creative_idNo
ad_account_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and idempotentHint=false; the description goes beyond them by disclosing the confirm-gated dry-run behavior and that the effect propagates outside Kampalo. It does not cover permission/auth requirements, what happens on partial failure, or whether the created ad is editable/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?

Four tight sentences with the mutation/confirm gate front-loaded, then the external-effect warning, then parameter hints. No filler and no repetition of the title or annotations.

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?

For an 11-parameter create tool with an output schema (so return values need no explanation) and rich annotations, the description covers the critical safety behavior and the ambiguous parameters. The remaining gap is the unspecified identity/status parameters, which is a minor but real omission.

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 coverage is 0%, so the description carries the burden; it adds real meaning for confirm (gate), client_id (selects brand, defaults to the active one) and extra (pass-through for any other field the app accepts). However, status, user_id, user_email, name, adset_id and ad_account_id receive no explanation, leaving roughly half the 11 parameters undocumented.

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?

States a specific verb+resource ('Create a Meta ad') and clarifies the two accepted creative sources (existing creative_id or a creative object). The resource 'ad' implicitly separates it from meta_create_adset and meta_create_campaign, but no sibling is named explicitly, so it stops short of full differentiation.

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?

Gives a concrete prerequisite: it only mutates when confirm=true, otherwise it returns a preview and changes nothing. That is strong when-to-use guidance for a write tool, though it offers no exclusions or comparisons against meta_update_ad for editing existing ads.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.