Skip to main content
Glama

Google Ads & Meta Ads

Meta: End A/B Test

meta_end_ab_test
Destructive

End a Meta A/B test or lift study of the business that owns your ad account now. The results gathered so far are kept and stay readable in Ads Manager's Experiments; the study cannot be restarted. The campaigns and ad sets in it keep running; pause them with meta_set_status.

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": {
      "study_id": "<study_id>"
    },
    "name": "meta_end_ab_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
study_idYesA/B test or lift study id.
ad_account_idNoMeta ad account to change: act_ id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then.

Output Schema

NameRequiredDescriptionDefault
studyIdYesStudy ended.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the destructive annotation, the description explains exactly what is and is not destroyed: results are retained and readable in Ads Manager, the study cannot be restarted, and campaigns and ad sets continue running. This gives an agent the practical consequences needed before invoking a destructive action. It is consistent with the supplied annotations.

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?

The description is front-loaded with the action and resource, then adds only the consequences that matter for a destructive operation. The sentence about campaigns and ad sets continuing also points to the correct sibling for pausing them. There is no redundant or filler wording.

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 destructive mutation with an output schema and fully documented parameters, the description covers the key behavioral consequences: results survive, the study cannot be restarted, and related campaigns and ad sets are unaffected. The main missing piece is explicit guidance on how this differs from the cancel sibling. Otherwise it gives an agent enough to invoke the tool safely.

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?

The input schema already documents both parameters at 100% coverage, including the study_id and ad_account_id behavior. The description does not add parameter-level syntax or edge-case guidance beyond what the schema provides. With full schema coverage, a baseline score of 3 is appropriate.

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 states a specific verb and resource: ending a Meta A/B test or lift study. It also clarifies an important scope point, that campaigns and ad sets keep running after the study ends. It does not clearly distinguish this action from the sibling meta_cancel_ab_test, so the end-versus-cancel choice is left implicit.

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 description gives useful context for when to use it: to end a study while keeping results, with the warning that it cannot be restarted. It also cross-references meta_set_status for pausing campaigns and ad sets. However, it does not state when to use this instead of meta_cancel_ab_test, which is the closest sibling and a likely source of confusion.

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