Skip to main content
Glama

Meta update ad

meta_update_ad
DestructiveIdempotent

Change a Meta ad. 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>",
      "ad_id": "<ad_id>"
    },
    "name": "meta_update_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
ad_idYes
extraNo
statusNo
confirmNo
user_idNo
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 destructiveHint=true and openWorldHint=true, so the safety profile is known. The description adds genuinely non-redundant behavior: the confirm-gated dry-run preview that changes nothing, and the fact that effects propagate outside Kampalo. It does not say what a partial update leaves untouched or whether changes are reversible, which limits it below a 5.

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 short clauses, front-loaded with the action, then the mutation semantics, then scoping. Every sentence carries information the agent could not get from the schema or annotations; nothing is padded.

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?

An output schema exists, so return values need no explanation, and the description covers the two things that matter most for a destructive external mutation: the confirm gate and the external blast radius. What is left under-covered is the field-level surface of the update, given 10 parameters at 0% schema coverage.

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 10 parameters, so the description must carry the load. It usefully explains confirm (preview vs commit), client_id (brand selection with an active-brand default), and extra (escape hatch for arbitrary app-accepted fields), but says nothing about status, name, creative_id, user_id, or user_email beyond their self-evident schema titles.

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?

"Change a Meta ad" states a specific verb and resource, which cleanly separates it from sibling creators/deleters such as meta_create_ad and meta_delete_ad by implication. It stops short of explicitly naming a sibling to route against, so it is clear but not maximally differentiating.

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 confirm=true gate gives concrete operating guidance: without it the call is a no-op preview, which tells the agent exactly how to start and how to commit. It does not state when to prefer a different tool, so no explicit alternatives or exclusions are offered.

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.