Skip to main content
Glama
Wingify FE MCP Server

Wingify FE MCP Server

Official
by wingify

GetFeatureFlag

Retrieve a feature flag's configuration, variables, variations, rules, and metrics by ID or key to inspect its behavior.

Instructions

Get details of a specific feature flag by ID or key, including its configuration, variables, variations, rules, and associated metrics

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>",
      "sdk": "<sdk>"
    },
    "name": "GetFeatureFlag"
  }
}

Input Schema

NameRequiredDescriptionDefault
sdkYesCheck the language using the file extension and select the SDK accordingly.
featureIdOrKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it partially discharges it by listing the returned facets (config, variables, variations, rules, metrics). It does not state that the call is read-only, what happens when the flag is not found, or whether the response is environment-scoped, leaving meaningful behavioral gaps for a no-annotation tool.

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 front-loaded sentence with zero filler; the resource and its contents are established immediately. The trailing list of facets is slightly long but each item conveys real information.

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 read tool with no output schema and no annotations, the description covers the essential contract: what identifies the flag and what detail comes back. The unaddressed 'sdk' parameter and absent error/permission notes are the remaining gaps.

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 50%. The description clarifies that the identifier may be an ID or a key, adding meaning beyond the bare 'featureIdOrKey' property. However, the required 'sdk' enum parameter is never addressed, so the agent gets no help understanding why an SDK value is needed to fetch a flag or how it changes the result.

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 ('Get details of a specific feature flag by ID or key') and enumerates the payload contents (configuration, variables, variations, rules, metrics), which distinguishes it from the list/rule siblings. It stops short of naming the sibling it contrasts with, so an agent must infer that this is the single-flag counterpart to ListFeatureFlags/GetFeatureFlagRule.

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

Usage Guidelines3/5

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

Usage is only implied: retrieval of one flag's full detail. There is no explicit statement of when to choose this over GetFeatureFlagRule or ListFeatureFlags, and no preconditions or exclusions are given.

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