Skip to main content
Glama

Propose renaming a Meta campaign, ad set or ad

propose_rename

Propose a new name for a Meta campaign, ad set or ad in the site's own connected ad account. new_name is trimmed, 1 to 255 characters, no line breaks or control characters; refused when equal to the current live name or when a sibling already carries it (an ad in the same ad set, an ad set in the same campaign, a campaign in the account), because recovery after an interrupted run finds objects by exact name. After approval by an owner or admin, one write with only the name; the name is read back live. No budget or status change, spend impact 0. propose_undo renames back. MCP never consents.

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": {
      "site_id": "<site_id>",
      "account": "<account>",
      "object_type": "<object_type>",
      "object_id": "<object_id>",
      "new_name": "<new_name>",
      "reason": "<reason>"
    },
    "name": "propose_rename"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYes
accountYes
site_idYes
new_nameYesNew name; trimmed, 1 to 255 characters, no line breaks or control characters.
object_idYes
object_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Adds substantial context beyond annotations: approval by an owner or admin, exactly one write of only the name, live read-back, zero budget/status change, zero spend impact. That is rich. Deducted because the approval/pending state is never described (what the caller sees while awaiting consent) and idempotentHint=false alongside a name-uniqueness rule is left unexplained.

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?

One dense, front-loaded paragraph that leads with purpose and then constraints; no filler sentences. It is packed near the limit of readability with semicolon-chained clauses, but every clause carries information.

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 a six-parameter mutation with no output schema, it covers validation rules, collision refusal, approval ownership, write scope, side effects, and the undo path. The gaps are the role of the required reason parameter and what a proposal returns or how it is later retrieved.

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 only 17%, with only new_name documented in the schema. The description explains the uniqueness domain (ad within its ad set, ad set within its campaign, campaign within the account), which implicitly maps object_type to object_id and clarifies the only documented parameter. It says nothing about reason, account format, or site_id, so it only partly compensates for the low coverage.

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 (propose a new name), the exact resource set (Meta campaign, ad set or ad), and the scope (the site's own connected ad account). The propose-* prefix plus the naming focus distinguishes it from propose_ad_change and propose_undo without opening any schema.

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 conditions: use it for renaming, refused when the name equals the live name or collides with a sibling, and propose_undo reverses it. It does not explicitly contrast with propose_ad_edit, which an agent might guess could also change names, so an alternative is left unaddressed.

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.

Resources