Skip to main content
Glama
Wingify FE MCP Server

Wingify FE MCP Server

Official
by wingify

MigrateStatsigFeatureGatesToWingify

Migrate Statsig feature gates to Wingify feature flags by mapping each gate to a flag with a default boolean variable and converting supported rollout rules into Wingify globalSegments.

Instructions

Migrate Statsig feature gates to Wingify FE. For each Statsig feature gate this tool: (1) lists all gates from Statsig, (2) maps each gate to a Wingify feature flag payload, (3) creates the feature flag in Wingify with a default boolean variable, and (4) creates rollout rules from the gate's rules with Statsig conditions mapped to Wingify globalSegment where supported. Rollout rules are enabled when the Statsig gate is enabled; the feature flag itself stays disabled after migration.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "MigrateStatsigFeatureGatesToWingify"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeArchivedNoWhether to also migrate archived Statsig feature gates.
environmentIdOrKeyNoTarget Wingify environment id or key for the rollout rule. Defaults to Production (id "1").1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does unusually well: it discloses the exact side effects, that each flag gets a default boolean variable, that rollout rules are enabled while the flag itself stays disabled, and that unsupported Statsig conditions are dropped. It omits repeat-run/idempotency behavior, permission requirements, and what happens on partial failure, which keeps it from a 5.

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?

Front-loaded with the migration verb and resource, then a numbered list of steps that each convey distinct behavior, closing with the enabled/disabled nuance. No filler sentences.

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 an unannotated mutation tool with no output schema, the description covers intent, side effects, and rule-state semantics, which is most of what an agent needs. Missing are return/result information and safety context such as idempotency and error behavior on a partially completed migration.

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 both parameters (includeArchived, environmentIdOrKey) are already fully documented in the schema with defaults. The description adds no meaning beyond that, 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 ("Migrate Statsig feature gates to Wingify FE") and then enumerates the four concrete steps taken, so an agent knows exactly what the operation touches: listing gates, mapping to payloads, creating flags, and creating rollout rules.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this over alternatives, and the scope is left ambiguous: step (1) says it "lists all gates from Statsig" and then acts "for each Statsig feature gate," which reads like a bulk migration and blurs the line against a sibling such as MigrateAllStatsigToWingify. No prerequisites or exclusions are stated.

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