Skip to main content
Glama

meta_ads_split_tests_end

End a running split test early and retrieve final study results with Meta's current confidence. Stops all further data collection, so only use when you need an immediate decision.

Instructions

Ends a running Split Test immediately, before its scheduled end_time. Returns the final study record with whatever confidence Meta has accumulated so far. Destructive — no further data accrues; if significance was not yet reached, winner_cell_id may be null. Not automatically reversible — record before-state with mureo_state_action_log_append if you may need to roll back.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoWhy this change is being made: one or two sentences naming the evidence and the expected effect. Stored in the journal and on the action_log entry this call produces, for the operator and the next session.
study_idYesStudy ID to end.
account_idNoMeta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.20.0
    • addedInput schema / properties / reason
      Added value: +{
      +  "description": "Why this change is being made: one or two sentences naming the evidence and the expected effect. Stored in the journal and on the action_log entry this call produces, for the operator and the next session.",
      +  "maxLength": 500,
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.10.37
    • addedInput schema / additionalProperties
      Added value: +false
  3. Addedv0.9.12
  4. Removedv0.9.6
  5. Addedv0.9.2
  6. Removedv0.9.1
  7. Addedv1.0.5

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full disclosure burden and does so exceptionally: it states that the action is destructive, that no further data accrues, that winner_cell_id may be null if significance was not reached, and that the action is not automatically reversible, including rollback guidance. This is exemplary for a mutation tool.

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?

Four sentences with no filler; the core action is front-loaded, followed by essential consequences and a rollback instruction. Every sentence earns its place.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description adequately explains the return value (final study record, confidence, possibly null winner_cell_id) and fully covers side effects, irreversibility, and rollback. An agent has enough to invoke it correctly and anticipate outcomes.

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 description coverage is 100%, so the baseline of 3 applies. The description adds no parameter-level detail beyond what the schema already provides, but it does not need to, since study_id, reason, and account_id are already well documented in the schema.

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?

The description names a specific verb ('Ends'), a specific resource ('running Split Test'), and the temporal scope ('immediately, before its scheduled end_time'). It clearly distinguishes this tool from the split-test siblings (create, get, list) by describing the terminal action and the resulting final study record.

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?

It clearly frames when to use the tool: to terminate a running split test early, and it tells the agent to preserve state via mureo_state_action_log_append if rollback may be needed. It does not explicitly state exclusions like 'do not use for pausing or inspecting', but the 'running' precondition and sibling names make the usage context reasonably clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools