Skip to main content
Glama

AdsAgent — Meta Ads MCP

ads_replace_creative_prepare

Prepare in-place library-creative swap on an existing ad

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_idYes
ad_nameNo
account_idNo
ad_account_idYes
creative_nameNo
creative_namesNo
new_creative_nameNo
connection_contextNo
replacement_creative_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / else / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / else / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / user_visible
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, and destructiveHint=false, so the safety profile is partly covered. The description adds only 'in-place' (mutates the existing ad) and 'library-creative' source, but omits the critical trait that this is a staging step whose effect requires a separate confirmation, which no annotation reveals.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no wasted words, which is structurally clean. However, for a 9-parameter mutation tool it is under-specified rather than genuinely concise, leaving all detail to unannotated, undescribed fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 not be explained, but for a 9-param write tool with 0% schema coverage and no annotation detail, the description omits the two-phase workflow, the meaning of the input fields, and any side-effect context. It is not complete enough for correct invocation.

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

Parameters1/5

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

Schema description coverage is 0% across 9 parameters, and the description clarifies none of them. The tool has heavily ambiguous overlapping parameters (ad_id vs account_id vs ad_account_id; creative_name vs creative_names vs new_creative_name vs replacement_creative_name), and the description provides zero disambiguation, so it fails to compensate for the coverage gap.

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 names a specific verb+resource: 'Prepare ... creative swap on an existing ad,' with 'in-place' and 'library-creative' scoping the target and source. It is clearly a preparation step, but it does not distinguish itself from the sibling confirm/deny tools that the name pattern implies, so a 5 is not warranted.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisite (e.g., you must later call ads_replace_creative_confirm to apply the swap), and no mention of the prepare/confirm/deny siblings. An agent gets no routing information from the description.

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