Skip to main content
Glama
Wingify FE MCP Server

Wingify FE MCP Server

Official
by wingify

ToggleFeatureFlagRules

Enable or disable one or multiple feature flag rules for a specific environment, feature, and SDK to control flag behavior without editing configuration.

Instructions

Toggle a single or multiple feature flag rules

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

Input Schema

NameRequiredDescriptionDefault
sdkYesCheck the SDK using the file extension and select the SDK accordingly.
ruleIdsNoThe rule ids of the feature flag rules to be toggled.
isEnabledNoToggle the feature flag rules on or off.
featureIdOrKeyYesThe feature id or key of the feature.
environmentIdOrKeyYesThe environment id or key of the environment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden but discloses almost nothing: it does not say what happens when ruleIds is empty (toggle all rules?), whether isEnabled defaults to enabling or flipping, whether the operation is reversible, or what permissions are needed. For a mutation tool this is a substantial gap.

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

Conciseness4/5

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

A single short, front-loaded sentence with no wasted wording. Its brevity reflects under-specification rather than tightness, but nothing is redundant.

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

Completeness3/5

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

For a five-parameter mutation with no annotations and no output schema, the description is thin: the critical ambiguity of an empty ruleIds list and the meaning of the isEnabled default are left unresolved. The rich schema mitigates this somewhat but does not cover the behavioral questions.

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%, so the schema already documents all five parameters including the sdk enum and the empty-array default for ruleIds. The phrase "single or multiple" loosely hints that ruleIds is optional, but adds no syntax or default-behavior detail beyond the schema.

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

Purpose3/5

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

The description states a concrete verb and resource ("Toggle ... feature flag rules") and notes it can act on one or many rules. However, it does not distinguish this tool from the sibling ToggleFeatureFlag, leaving the agent to infer which one targets rules versus the parent flag.

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 use this versus ToggleFeatureFlag or UpdateFeatureFlagRule, nor on prerequisites such as the flag/environment needing to exist. Usage has to be inferred entirely from the name.

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