Skip to main content
Glama

AdsAgent — Meta Ads MCP

products_delivery_pause_prepare

Prepare a pause of live-verifiable ACTIVE campaigns for 1-20 owned product_refs in your authorized Meta accounts; expected_scope=all_live_active_campaigns. Saves an approval draft. Review excluded inventory and budget drift. Prepare does not pause Meta. After approval pass its pd_confirm_* token to products_delivery_pause_confirm

Input Schema

NameRequiredDescriptionDefault
product_refsYes
expected_scopeNoall_live_active_campaigns

Output Schema

NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / connection_context
      Removed value: -{
      -  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      -  "type": "string"
      -}
  2. Changed3 schema fields changed
    • removedOutput schema / $defs
      Removed value: -{
      -  "s2": {
      -    "items": {
      -      "properties": {
      -        "ad_account_id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "attempted": {
      -          "type": "boolean"
      -        },
      -        "campaign_id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "campaign_name": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "current_daily_budget": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "current_status": {
      -          "type": "string"
      -        },
      -        "error": {
      -          "type": "string"
      -        },
      -        "error_code": {
      -          "type": "string"
      -        },
      -        "index": {
      -          "type": "integer"
      -        },
      -        "mutation_applied": {
      -          "type": [
      -            "boolean",
      -            "null"
      -          ]
      -        },
      -        "new_status": {
      -          "type": "string"
      -        },
      -        "operator_review_required": {
      -          "type": "boolean"
      -        },
      -        "product_name": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "product_ref": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "reason": {
      -          "type": "string"
      -        },
      -        "replay_allowed": {
      -          "type": "boolean"
      -        },
      -        "request_sent": {
      -          "type": "boolean"
      -        },
      -        "status": {
      -          "type": "string"
      -        },
      -        "target_configured_status": {
      -          "type": "string"
      -        },
      -        "terminal": {
      -          "type": "boolean"
      -        },
      -        "uncertain": {
      -          "type": "boolean"
      -        },
      -        "warnings": {
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  }
      -}
    • changedOutput schema / else / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "approval_request": {
      -        "properties": {
      -          "confirm_token": {
      -            "type": "string"
      -          },
      -          "expires_at": {
      -            "type": "string"
      -          },
      -          "mutation_count": {
      -            "type": "integer"
      -          },
      -          "status": {
      -            "const": "approval_required"
      -          },
      -          "summary": {
      -            "properties": {
      -              "action": {
      -                "type": "string"
      -              },
      -              "exclusions": {
      -                "$ref": "#/$defs/s2"
      -              },
      -              "expected_scope": {
      -                "type": "string"
      -              },
      -              "item_count": {
      -                "type": "integer"
      -              },
      -              "items": {
      -                "$ref": "#/$defs/s2"
      -              },
      -              "mode": {
      -                "type": "string"
      -              },
      -              "products": {
      -                "items": {
      -                  "properties": {
      -                    "product_name": {
      -                      "type": "string"
      -                    },
      -                    "product_ref": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "user_instruction": {
      -            "type": "string"
      -          },
      -          "warnings": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "status",
      -          "confirm_token",
      -          "expires_at",
      -          "summary",
      -          "warnings",
      -          "mutation_count",
      -          "user_instruction"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "approval_request"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "exclusions": {
      -        "$ref": "#/$defs/s2"
      -      },
      -      "expected_scope": {
      -        "type": "string"
      -      },
      -      "mutation_count": {
      -        "const": 0
      -      },
      -      "products": {
      -        "items": {
      -          "properties": {
      -            "product_name": {
      -              "type": "string"
      -            },
      -            "product_ref": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "status": {
      -        "const": "no_pausable_campaigns"
      -      },
      -      "warnings": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "expected_scope",
      -      "products",
      -      "exclusions",
      -      "mutation_count",
      -      "warnings"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "approval_request"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "mutation_count": {
      +        "const": 0
      +      },
      +      "status": {
      +        "const": "no_pausable_campaigns"
      +      }
      +    },
      +    "required": [
      +      "exclusions",
      +      "expected_scope",
      +      "mutation_count",
      +      "products",
      +      "status",
      +      "warnings"
      +    ]
      +  }
      +]
    • addedOutput schema / else / else / properties
      Added value: +{
      +  "approval_request": {
      +    "properties": {
      +      "confirm_token": {
      +        "type": "string"
      +      },
      +      "expires_at": {
      +        "type": "string"
      +      },
      +      "mutation_count": {
      +        "type": "integer"
      +      },
      +      "status": {
      +        "const": "approval_required"
      +      },
      +      "summary": {
      +        "properties": {
      +          "action": {
      +            "type": "string"
      +          },
      +          "exclusions": {
      +            "items": {
      +              "properties": {
      +                "ad_account_id": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "attempted": {
      +                  "type": "boolean"
      +                },
      +                "campaign_id": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "campaign_name": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "current_daily_budget": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "current_status": {
      +                  "type": "string"
      +                },
      +                "error": {
      +                  "type": "string"
      +                },
      +                "error_code": {
      +                  "type": "string"
      +                },
      +                "index": {
      +                  "type": "integer"
      +                },
      +                "mutation_applied": {
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "new_status": {
      +                  "type": "string"
      +                },
      +                "operator_review_required": {
      +                  "type": "boolean"
      +                },
      +                "product_name": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "product_ref": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "reason": {
      +                  "type": "string"
      +                },
      +                "replay_allowed": {
      +                  "type": "boolean"
      +                },
      +                "request_sent": {
      +                  "type": "boolean"
      +                },
      +                "status": {
      +                  "type": "string"
      +                },
      +                "target_configured_status": {
      +                  "type": "string"
      +                },
      +                "terminal": {
      +                  "type": "boolean"
      +                },
      +                "uncertain": {
      +                  "type": "boolean"
      +                },
      +                "warnings": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "expected_scope": {
      +            "type": "string"
      +          },
      +          "item_count": {
      +            "type": "integer"
      +          },
      +          "items": {
      +            "items": {
      +              "properties": {
      +                "ad_account_id": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "attempted": {
      +                  "type": "boolean"
      +                },
      +                "campaign_id": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "campaign_name": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "current_daily_budget": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "current_status": {
      +                  "type": "string"
      +                },
      +                "error": {
      +                  "type": "string"
      +                },
      +                "error_code": {
      +                  "type": "string"
      +                },
      +                "index": {
      +                  "type": "integer"
      +                },
      +                "mutation_applied": {
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "new_status": {
      +                  "type": "string"
      +                },
      +                "operator_review_required": {
      +                  "type": "boolean"
      +                },
      +                "product_name": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "product_ref": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "reason": {
      +                  "type": "string"
      +                },
      +                "replay_allowed": {
      +                  "type": "boolean"
      +                },
      +                "request_sent": {
      +                  "type": "boolean"
      +                },
      +                "status": {
      +                  "type": "string"
      +                },
      +                "target_configured_status": {
      +                  "type": "string"
      +                },
      +                "terminal": {
      +                  "type": "boolean"
      +                },
      +                "uncertain": {
      +                  "type": "boolean"
      +                },
      +                "warnings": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "mode": {
      +            "type": "string"
      +          },
      +          "products": {
      +            "items": {
      +              "properties": {
      +                "product_name": {
      +                  "type": "string"
      +                },
      +                "product_ref": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "user_instruction": {
      +        "type": "string"
      +      },
      +      "warnings": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "confirm_token",
      +      "expires_at",
      +      "summary",
      +      "warnings",
      +      "mutation_count",
      +      "user_instruction"
      +    ],
      +    "type": "object"
      +  },
      +  "exclusions": {
      +    "items": {
      +      "properties": {
      +        "ad_account_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "attempted": {
      +          "type": "boolean"
      +        },
      +        "campaign_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "campaign_name": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "current_daily_budget": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "current_status": {
      +          "type": "string"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "error_code": {
      +          "type": "string"
      +        },
      +        "index": {
      +          "type": "integer"
      +        },
      +        "mutation_applied": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "new_status": {
      +          "type": "string"
      +        },
      +        "operator_review_required": {
      +          "type": "boolean"
      +        },
      +        "product_name": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "product_ref": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "reason": {
      +          "type": "string"
      +        },
      +        "replay_allowed": {
      +          "type": "boolean"
      +        },
      +        "request_sent": {
      +          "type": "boolean"
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "target_configured_status": {
      +          "type": "string"
      +        },
      +        "terminal": {
      +          "type": "boolean"
      +        },
      +        "uncertain": {
      +          "type": "boolean"
      +        },
      +        "warnings": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "expected_scope": {
      +    "type": "string"
      +  },
      +  "mutation_count": {
      +    "const": 0
      +  },
      +  "products": {
      +    "items": {
      +      "properties": {
      +        "product_name": {
      +          "type": "string"
      +        },
      +        "product_ref": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "status": {
      +    "const": "no_pausable_campaigns"
      +  },
      +  "warnings": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +}
  3. 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"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations cover the safety profile (non-readonly, non-destructive, closed-world), so the description adds real value beyond them: it saves an approval draft rather than mutating, does not touch Meta, and enumerates the review items (excluded inventory, budget drift). Doesn't discuss permission requirements or what happens if the draft is abandoned, but the core behavioral contract is clear.

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?

Front-loads the scope constraint, then the draft semantics, then the review requirement, then the handoff token – every clause carries information. The semicolon-joined phrasing is slightly dense but nothing is redundant.

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 and annotations covering safety, the description supplies what's missing: the two-step approval model, the token handoff, and the scope limits. An agent has enough to call it correctly and route the result; only edge-case behavior (denial, invalid refs) is absent.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate and largely does: it constrains product_refs to 1-20 owned refs in authorized accounts and discloses the expected_scope default of all_live_active_campaigns. Array-of-strings format and error behavior for out-of-range counts are left unstated.

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+resource (prepare a pause of live-verifiable ACTIVE campaigns) scoped to owned product_refs in authorized Meta accounts. Critically distinguishes itself from the confirm step with 'Prepare does not pause Meta' and names products_delivery_pause_confirm as the follow-on. An agent can select this over the confirm/deny siblings without ambiguity.

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?

Explicitly places the tool in a prepare→approve→confirm workflow and tells the agent to hand the pd_confirm_* token to products_delivery_pause_confirm. Also directs the agent to review excluded inventory and budget drift before approving. No explicit when-not-to-use guidance (e.g., vs. operations_confirm_product_delivery_pause), which keeps it just short of 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.

Resources