Skip to main content
Glama

promote_winner

DestructiveIdempotent

Close a test with a winner. Without variant_id the suggested winner is used (409 when the numbers have not picked one). Losing variants still waiting for approval are withdrawn; scheduled or published posts are left alone. Pass networks to also draft the winning text for other networks. Those drafts go to the approval queue and are never published by this tool. CAPABILITY: draft: creates content that cannot reach an audience on its own. Safe for a draft-only agent token.

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": {
      "test_id": "<test_id>"
    },
    "name": "promote_winner"
  }
}

Input Schema

NameRequiredDescriptionDefault
test_idYesTest id.
networksNoAlso draft the winner for these networks (approval queue). Optional.
variant_idNoPick this variant yourself instead of the suggested one.
account_idsNoIntegration ids from list_integrations to post from. Needed when the workspace has more than one account on a chosen network, otherwise approval is refused as ambiguous.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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=true, and readOnlyHint=false, so the safety profile is partly covered. The description adds substantial behavioural context beyond that: pending losing variants are withdrawn, scheduled/published posts are untouched, and generated drafts go to the approval queue and are never published by this tool. However, the account-ambiguity refusal condition documented in the schema is not echoed, and the draft-only token capability note is a partial restatement of the non-readOnly hint.

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 core action, then behaviour, then optional parameters, then a capability tag. No filler and no repetition of the schema.

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 four-parameter mutation with no output schema, the definition covers the action, the fallback selection path, the 409 error, side effects on losing variants and live posts, the approval-queue landing of drafts, and the safety capability. An agent has enough to call this correctly without opening the schema.

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%, so all four parameters are already documented, making 3 the baseline. The description reinforces the optionality semantics of `variant_id` and the side effect of `networks` (drafts into the approval queue), which is genuine added meaning, but it says nothing about `account_ids` or how the ambiguity rule applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Close a test with a winner', then immediately defines what closing entails (winner selection, withdrawal of losing variants, optional drafting). It is clearly distinguishable from siblings like approve_draft or create_test_from_url, though it never names an alternative operation explicitly.

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 concrete conditional guidance: omit `variant_id` to accept the suggested winner, pass it to override, and pass `networks` to draft for other platforms. It also flags the 409 failure case when no winner has been picked. What is missing is routing guidance versus sibling tools such as approve_draft for the resulting drafts.

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.