Skip to main content
Glama

ship_winner

Ship the winning variant to 100% of traffic after results confirm it is ready. Flips server-side within 30 seconds, so no code deploy is needed.

Instructions

Ship the winning variant to 100% of traffic. The SDK will flip server-side within 30 seconds — no code deploy needed. Use after get_results confirms the experiment is ship-ready.

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": {
      "experiment_id": "<experiment_id>",
      "winning_variant_id": "<winning_variant_id>"
    },
    "name": "ship_winner"
  }
}

Input Schema

NameRequiredDescriptionDefault
experiment_idYesUUID returned by create_experiment.
winning_variant_idYesVariant ID from get_results.leading_variant_id (or variants[i].id where is_leading=true). NOT the variant name — use the slug-style ID like 'variant_b' or 'control'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that the SDK flips server-side within 30 seconds and requires no code deploy, but it omits key mutation traits: permission requirements, reversibility/rollback, and what happens to losing variants. Core behavior is disclosed, but not enough for a consequential write operation.

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?

Three sentences, each earning its place: action first, then propagation behavior, then prerequisite. Zero filler and well front-loaded.

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 two-parameter terminal mutation with no annotations or output schema, the description covers purpose, propagation timing, and the prerequisite tool to consult. It could be more complete by noting rollback behavior or permissions, but an agent has enough to invoke it 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 coverage is 100%, and the schema already explains that winning_variant_id is the slug-style ID, not the variant name. The description adds no parameter meaning beyond the schema, so the baseline of 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?

States a specific verb and resource ('Ship the winning variant to 100% of traffic') with precise scope. An agent can immediately distinguish this terminal action from create_experiment and get_results.

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?

Explicitly states the prerequisite: 'Use after get_results confirms the experiment is ship-ready.' This gives clear ordering context. It does not name when-not-to-use or an alternative path, which keeps it from a 5.

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

Deploy Server

Other Tools