Skip to main content
Glama
Wingify FE MCP Server

Wingify FE MCP Server

Official
by wingify

UpdateFeatureFlagRule

Modify an existing feature flag rule's traffic percent split and variation assignments in a specified environment, letting you adjust rollout targeting and testing configurations.

Instructions

Update a feature flag rule

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": {
      "featureIdOrKey": "<featureIdOrKey>",
      "environmentIdOrKey": "<environmentIdOrKey>",
      "ruleIdOrKey": "<ruleIdOrKey>",
      "sdk": "<sdk>",
      "campaignData": "<campaignData>"
    },
    "name": "UpdateFeatureFlagRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
sdkYesCheck the SDK using the file extension and select the SDK accordingly.
ruleIdOrKeyYes
campaignDataYesIf you want to update the traffic for any rule, you can provide the campaignData.percentSplit. If not provided, the traffic will not be updated. For personalized rules, if you want to update the variation, you can provide the campaignData.variations.featureVariationId to update the variation. For testing rule, you can provide the campaignData.variations.percentSplit to update the traffic for the variation and also if you want to update the variation, you can provide the campaignData.variations.featureVariationId to update the variation.
featureIdOrKeyYes
environmentIdOrKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.0

TDQS

D1.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it only implies mutation via the word "Update." It says nothing about partial-update semantics, whether omitted fields are preserved, whether the change is reversible, what permissions are required, or what the response contains. The partial-update behavior is only discoverable in the schema's campaignData description, not here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is short but wastes its only slot by restating the name rather than front-loading useful information. Brevity here is under-specification, not conciseness.

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

Completeness1/5

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

For a required-parameter mutation with a nested campaignData object, no annotations, and no output schema, the definition supplies essentially nothing an agent needs to invoke it safely or correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%, and the description mentions no parameters at all. Three required identifiers (featureIdOrKey, environmentIdOrKey, ruleIdOrKey) are undocumented in both places, and the required nested campaignData object is explained only in the schema.

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

Purpose2/5

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

"Update a feature flag rule" is the tool name spelled out as a sentence; it adds no scope, no statement of what part of the rule is updated, and no differentiation from siblings such as UpdateFeatureFlag, CreateFeatureFlagRules, or GetFeatureFlagRule.

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 when-to-use guidance, no comparison to UpdateFeatureFlag or CreateFeatureFlagRules, and no preconditions (permissions, environment state, whether the rule must exist). A reader must infer everything from the name.

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