Skip to main content
Glama

AdsAgent — Meta Ads MCP

ads_replace_page_prepare

Prepare page swap; may upload media to Meta. Confirm separately to apply

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_idYes
ad_nameNo
page_idNo
page_idsNo
account_idNo
new_page_idNo
ad_account_idYes
facebook_page_idNo
connection_contextNo

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

B3.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, openWorldHint=true, destructiveHint=false, so the description doesn't need to repeat safety. It adds the key non-obvious behavior that media may be uploaded to Meta and that confirmation is a separate step, going beyond annotations. It doesn't mention permissions or what the prep returns, but with annotations and an output schema, this is a solid 4.

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?

Two short sentences, front-loaded with the action and a crucial side-effect warning. No wasted words, though the extreme brevity means some necessary detail is omitted, which is more an under-specification issue than verbosity.

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?

For a 9-parameter mutation tool with 0% schema coverage, the description is too sparse. It omits parameter guidance, preconditions, and the prepare/confirm workflow context, leaving the agent to infer too much from an output schema that describes only results, not inputs.

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

Parameters2/5

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

Schema description coverage is 0% (9 params, none documented), so the description carries full burden. It mentions no parameters at all—not ad_id, ad_account_id, nor the multiple page ID fields—and doesn't clarify their relationship. This is a significant gap for a 9-param tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb and resource ('Prepare page swap') but is terse and doesn't distinguish it from siblings like ads_replace_creative_prepare or ads_replace_page_confirm. 'Page swap' is clear enough, but the tool's specific role in the prepare/confirm workflow is only implied.

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

Usage Guidelines3/5

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

The phrase 'Confirm separately to apply' signals that this is a preparatory step and that ads_replace_page_confirm is required to finalize, which is useful. However, it doesn't explicitly state when to use this versus other prepare tools or what preconditions must hold.

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