Skip to main content
Glama

Metadata MCP Connector

Manage Experiment

manage_experiment
Destructive

Pause, restart or reactivate one launched experiment. reactivate runs a Completed experiment again until end_date (required, YYYY-MM-DD). Restart and reactivate can increase spending: they first estimate the impact on budget groups and, when a group is affected, return a confirmation request without acting until confirm_budget_impact=true. Returns the platform operation result or an error. Keyword-level pause or restart is a separate operation.

Input Schema

NameRequiredDescriptionDefault
actionYesThe action to perform: 'pause' to stop the experiment, 'restart' to resume a paused one, 'reactivate' to run a completed one again until end_date
end_dateNoReactivate only, and required there: the new end date, YYYY-MM-DD, today or later (at most one year ahead on Facebook and Instagram).
experiment_idYesThe experiment ID to pause, restart or reactivate (experimentId from search_experiments).
confirm_budget_impactNoRestart and reactivate only. Set true ONLY after the user explicitly confirmed the budget-group impact returned by a previous manage_experiment call with status='requires_confirmation'.
auto_pause_ignore_historical_dataNoRestart only. When the experiment was auto-paused for low performance, true tells the optimizer to ignore the historical performance data that caused the pause.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"The action to perform: 'pause' to stop the experiment, 'restart' to resume it"New value: +"The action to perform: 'pause' to stop the experiment, 'restart' to resume a paused one, 'reactivate' to run a completed one again until end_date"
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "pause",
      -  "restart"
      -]New value: +[
      +  "pause",
      +  "restart",
      +  "reactivate"
      +]
    • changedInput schema / properties / confirm_budget_impact / description
      Previous value: -"Restart only. Set true ONLY after the user explicitly confirmed the budget-group impact returned by a previous manage_experiment call with status='requires_confirmation'."New value: +"Restart and reactivate only. Set true ONLY after the user explicitly confirmed the budget-group impact returned by a previous manage_experiment call with status='requires_confirmation'."
    • addedInput schema / properties / end_date
      Added value: +{
      +  "description": "Reactivate only, and required there: the new end date, YYYY-MM-DD, today or later (at most one year ahead on Facebook and Instagram).",
      +  "type": "string"
      +}
    • changedInput schema / properties / experiment_id / description
      Previous value: -"The experiment ID to pause or restart (experimentId from search_experiments)."New value: +"The experiment ID to pause, restart or reactivate (experimentId from search_experiments)."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the destructive annotation, the description discloses the important side effect that restart and reactivate can increase spending and may require an explicit confirmation before acting. It also explains that the tool returns a confirmation request instead of mutating when budget-group impact is detected, which is exactly the kind of behavioral context an agent needs for a destructive action.

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 compact and front-loaded: it opens with the actions, then states the reactivate condition, then the spending confirmation flow, and finally the return behavior. Every sentence adds useful operational context without repetition.

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 tool with no output schema, it covers the critical decision path: action effects, required reactivate end_date, budget-impact confirmation, and the basic return outcome. It does not specify the full shape of the operation result, but it is otherwise complete for correct invocation.

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%, and the schema already documents action enums, end_date constraints, confirm_budget_impact semantics, and auto_pause_ignore_historical_data. The description reinforces end_date and confirmation behavior but adds little parameter-level meaning beyond the already-rich schema, so the baseline 3 is appropriate.

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 specific operations (pause, restart, reactivate) on a specific resource (one launched experiment), and explicitly separates keyword-level pause/restart as a different operation. That gives an agent a clear basis for distinguishing this tool from siblings such as pause_experiment_keyword or restart_experiment_keyword.

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 gives clear action-level usage: pause stops, restart resumes, and reactivate reruns a Completed experiment until a required end_date. It also names one alternative operation for keyword-level management, though it does not exhaustively compare against related tools like update_experiment_end_date.

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