Skip to main content
Glama

Meta update adset

meta_update_adset
DestructiveIdempotent

Change a Meta ad set. 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>",
      "adset_id": "<adset_id>"
    },
    "name": "meta_update_adset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
extraNo
statusNo
confirmNo
user_idNo
adset_idYes
end_timeNo
client_idNo
targetingNo
bid_amountNo
user_emailNo
daily_budgetNo
ad_account_idYes
lifetime_budgetNo

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 destructiveHint=true, openWorldHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuinely non-redundant behavior: the confirm-gated dry-run preview, and the fact that changes propagate outside Kampalo. It does not quantify reversibility or rate limits, but the dry-run disclosure is the key missing piece it supplies.

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?

Three short sentences, front-loaded with the mutation/preview gate before the less critical parameter notes. No restatement of the title, no filler; every clause carries information an agent needs.

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?

With an output schema present, return values need no explanation, and the destructive annotation plus the confirm/preview rule cover the main risk of misuse. The gap is the silent majority of write parameters (budgets, targeting, status), for which an agent gets no semantic guidance on units or formats.

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 description coverage is 0% across 14 parameters, so the description must compensate. It explains the three least guessable ones (confirm's gate semantics, client_id's brand default, and extra as a catch-all passthrough), but leaves budget, bid, targeting, status, end_time, user_id and user_email entirely undocumented beyond their names.

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?

The description opens with a specific verb+resource ('Change a Meta ad set'), which cleanly separates it from the create/delete ad set siblings and from meta_update_ad / meta_update_campaign by resource type. It stops short of explicitly naming those siblings, but the resource scope is unambiguous.

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?

It gives concrete operational guidance: the tool only mutates when confirm=true, otherwise it returns a preview and changes nothing. That is a clear condition for correct invocation. It does not spell out when to prefer meta_update_ad or meta_update_campaign over this tool, 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.