Skip to main content
Glama

meta_ads_split_tests_end

End a running Split Test immediately, stopping further data collection and returning final results even if statistical significance is not reached.

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
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.
Behavior5/5

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

With no annotations, the description fully carries the burden of behavioral disclosure. It states the tool is destructive, halts data accrual, notes that winner_cell_id may be null if significance not reached, and clarifies that it's not automatically reversible. It also suggests recording the before-state for potential rollback.

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 three sentences, front-loaded with the primary action, and every sentence adds value. It is efficient and free of filler.

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 simple tool (ending a split test), the description covers the action, consequences, output description, and reversibility. Without an output schema, it adequately describes the outcome. Minor missing details like status codes or error conditions are acceptable given tool simplicity.

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 coverage is 100%, so baseline is 3. The description mentions account_id and study_id but adds little beyond the schema's own descriptions. It notes account_id's fallback to credentials but that's a minor addition.

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 uses a specific verb ('Ends') and resource ('running Split Test'), clearly distinguishing from sibling tools like meta_ads_split_tests_create, get, and list. It also specifies 'immediately' and 'before its scheduled end_time', adding precision.

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?

The description clearly states when to use the tool (to end a running test early) and provides contextual warnings about destructiveness and irreversibility. While it doesn't explicitly list alternatives, the context implies this is for early termination.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/logly/mureo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server