Skip to main content
Glama

create_meta_adset

Destructive

Anzeigengruppe in einer Kampagne anlegen (immer PAUSED): Laender, Mindestalter, Optimierung nach Kampagnenziel. Fuer EU-Laender sind dsa_beneficiary/dsa_payor Pflicht (Argument oder Integration). Solange Schreiben nicht freigegeben ist, geht die Anfrage mit execution_options=validate_only an Meta: Meta prueft sie und legt NICHTS an (mode=validated). Neues entsteht immer PAUSED.

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": {
      "campaign_id": "<campaign_id>",
      "name": "<name>",
      "countries": "<countries>"
    },
    "name": "create_meta_adset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName der neuen Anzeigengruppe
age_minNoMindestalter der Zielgruppe
countriesYesLaender (ISO-3166-Codes, zwei Buchstaben)
dsa_payorNoDSA-Zahler der Werbung; fuer EU-Laender Pflicht (sonst aus Integration)
objectiveNoZiel der Kampagne, bestimmt die Optimierung.
campaign_idYesKampagnen-ID
ad_account_idNoMeta-Werbekonto (act_123… oder Ziffern). Ohne Angabe das hinterlegte.
dsa_beneficiaryNoDSA-Beguenstigter der Werbung; fuer EU-Laender Pflicht (sonst aus Integration)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / age_min / description
      Added value: +"Mindestalter der Zielgruppe"
    • addedInput schema / properties / campaign_id / description
      Added value: +"Kampagnen-ID"
    • addedInput schema / properties / countries / description
      Added value: +"Laender (ISO-3166-Codes, zwei Buchstaben)"
    • addedInput schema / properties / dsa_beneficiary / description
      Added value: +"DSA-Beguenstigter der Werbung; fuer EU-Laender Pflicht (sonst aus Integration)"
    • addedInput schema / properties / dsa_payor / description
      Added value: +"DSA-Zahler der Werbung; fuer EU-Laender Pflicht (sonst aus Integration)"
    • addedInput schema / properties / name / description
      Added value: +"Name der neuen Anzeigengruppe"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing two non-obvious traits: the created object is always in PAUSED state, and while writes are not released the call degrades to a validate-only round trip that creates NOTHING (mode=validated). Annotations only say destructiveHint=true/readOnlyHint=false; the description materially reframes the actual risk profile and outcome, which is exactly the value this dimension rewards.

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?

Dense but front-loaded: the core action and the always-PAUSED invariant come first, followed by the compliance rule and the validation-mode caveat. The parenthetical chain ('(immer PAUSED)', '(Argument oder Integration)', '(mode=validated)') is information-rich rather than padded, though the single run-on sentence could be split for readability.

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 8-parameter mutation tool with no output schema, it covers the important gaps: required-for-EU compliance fields, fallback sourcing from integration, default ad account behavior is left to the schema, and the write-gating/validation behavior. The remaining gap is what the caller actually receives back (an adset id? a validation report in mode=validated?) and what happens to the reference to a non-schema execution_options control.

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

Parameters4/5

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

Schema coverage is 100%, so the per-field definitions are already covered, but the description adds cross-field logic the schema cannot express: objective drives the optimization setting, and EU countries make the two DSA fields mandatory unless supplied by integration. Minor deduction because it references 'execution_options=validate_only', a control that does not appear anywhere in the input schema and could mislead an agent into looking for a parameter that isn't there.

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?

States a specific verb and resource ('Anzeigengruppe in einer Kampagne anlegen'), which unambiguously separates it from the sibling create_meta_campaign and create_meta_ad. It also names the three defining configuration axes (countries, minimum age, objective-based optimization), so an agent knows exactly what kind of entity is being produced.

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 clear preconditions and context: the entity is always created PAUSED, EU countries require dsa_beneficiary/dsa_payor (either as argument or from integration), and writes may be gated behind validation. It does not name an explicit alternative tool or a when-not-to-use condition, which keeps it below a 5.

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.