Skip to main content
Glama

meta_ads_split_tests_end

End a Meta Ads split test before its scheduled end time to immediately retrieve final results, even if statistical significance was 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. Reversible via rollback_apply only if the underlying ad sets have not been independently modified since the early termination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.
study_idYesStudy ID to end.
Behavior5/5

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

Despite no annotations, the description discloses key behaviors: destructive nature (no further data accrues), potential null winner_cell_id if significance not reached, and reversibility conditions via rollback_apply. This satisfies the full burden 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?

The description is three sentences, front-loaded with the primary action, and every sentence adds essential detail. No fluff or redundancy.

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?

For a destructive tool with no output schema, the description covers return value, data cessation, conditions for null winner, and reversibility. All necessary behavioral context is provided.

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% with both parameters already described in the schema. The description adds minimal value: clarifying that account_id can fall back to environment variable and that study_id is required. This meets the baseline expectation.

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 clearly states it ends a running Split Test immediately, specifying the action (end), resource (split test), and timing (before scheduled end_time). It distinguishes from sibling tools like create, get, list by focusing on the termination action.

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 explicitly states when to use this tool (to end a running split test early) but does not explicitly state when not to use it or provide alternatives. However, the context is clear and the sibling list includes other split test tools, making differentiation possible.

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