Skip to main content
Glama

airstrings_variant_promote

Destructive

End an A/B experiment by promoting the winning variant's values as the key's base string, overwriting old values and republishing that environment's bundles. Use once a winner is clear.

Instructions

End a running or stopped A/B experiment for one string key by making a variant's values the key's base string, overwriting the old base values, then republish that environment's bundles automatically. Cannot be undone except by setting the old values again. Refused on a protected environment (production): promote in a writable environment instead. Returns the experiment and per-locale publish results. Use it once a winner is clear; to end the test without changing the base string, use airstrings_variant_stop.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe string key whose experiment to promote.
variantYesName of the winning variant, as in airstrings_variant_status (not 'control').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.22.4
    • changedInput schema / properties / variant / description
      Previous value: -"The variant name to promote to the winning value."New value: +"Name of the winning variant, as in airstrings_variant_status (not 'control')."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds substantial context beyond them: the base string is overwritten, the action cannot be undone except by manually resetting old values, bundles are automatically republished, and it is refused on protected environments. This is exactly the operational consequence detail an agent needs before a destructive call.

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?

Five tight sentences, front-loaded with the primary effect, then irreversibility, then the environment restriction, then return value and routing. Every sentence carries distinct decision-relevant information with no filler.

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?

Despite having no output schema, the description states what is returned (the experiment and per-locale publish results). Combined with the irreversibility warning, protected-environment restriction, and sibling routing, an agent has everything needed to invoke this correctly.

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% and both parameters are documented there, including the note that 'variant' is not 'control'. The description reinforces the meaning of 'key' and 'variant' in prose but adds no syntax, format, or constraint beyond the schema, so the baseline 3 applies.

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?

Opening sentence names a specific verb (end/promote) and resource (A/B experiment for one string key) and states the precise effect: variant values become the base string, old values overwritten, bundles republished. It is clearly distinguishable from airstrings_variant_stop, which it explicitly contrasts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit timing guidance ('use it once a winner is clear') plus a named alternative with the condition that selects it ('to end the test without changing the base string, use airstrings_variant_stop'). It also states when the tool will be refused (protected/production environment) and what to do instead.

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