Skip to main content
Glama

promote_experiment

Destructive

Promote a winning A/B variant to live — explicit user instruction only; see get_skill('verify') § A/B.

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": {
      "site": "<site>",
      "experimentId": "<experimentId>",
      "variantId": "<variantId>"
    },
    "name": "promote_experiment"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite slug, e.g. acme-studio
contextNoWhy you're calling this (activity log).
variantIdYesWinning variant arm id (usually "b").
experimentIdYes
loserDispositionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / context / description
      Previous value: -"Optional: one sentence on why you are calling this (shown in the site's activity log; no personal data)."New value: +"Why you're calling this (activity log)."
  2. Changed3 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"One sentence: why you are calling this tool and what you are trying to accomplish. Stored on the site's activity log and visible to everyone on the site — never put secrets or personal data here."New value: +"Optional: one sentence on why you are calling this (shown in the site's activity log; no personal data)."
    • removedInput schema / properties / guestToken
      Removed value: -{
      -  "description": "Guest token from start_site. Send it on every call until claim_site. Omit when this chat is already signed in to Dotsy.",
      -  "minLength": 20,
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "site",
      -  "experimentId",
      -  "variantId",
      -  "context"
      -]New value: +[
      +  "site",
      +  "experimentId",
      +  "variantId"
      +]
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description's added value is the consent gate ('explicit user instruction only'), which the annotations cannot express. However, it says nothing about what promoting actually changes — traffic switchover, what happens to the losing arm (which the loserDisposition param controls), or whether the promotion is reversible.

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?

One sentence, front-loaded with the action and immediately followed by the gating constraint and a pointer to deeper docs. Zero filler — every clause carries a constraint the agent can act on.

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

Completeness3/5

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

For a destructive, non-idempotent mutation with five parameters and no output schema, the description covers the consent requirement but leaves open what the call does to the loser arm, whether the change is reversible, and what the response confirms. An agent could call it correctly but not predict its consequences.

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 60%, with experimentId and the loserDisposition enum undocumented in both schema and description. The phrase 'winning variant' gives the agent a hint about variantId's meaning, but nothing clarifies loserDisposition's discard vs keep_draft choice or what 'site' scoping implies for the experiment. Baseline 3 is appropriate given partial schema coverage.

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?

States a specific verb and resource ('Promote a winning A/B variant to live'), which is unmistakable against the testing siblings (start_test, estimate_test, delete_draft_test) that create or measure experiments rather than promote one. The 'winning variant' framing also implies the decision precondition, so an agent understands what the tool operates on without opening the schema.

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?

Gives a hard gating condition — 'explicit user instruction only' — which is exactly the kind of when-to-use rule an agent needs for an irreversible-feeling action. It defers the fuller workflow to get_skill('verify') § A/B rather than spelling it out inline, so the alternative path (verify before promoting) is referenced but not described.

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