Skip to main content
Glama
Unleash

Unleash MCP Server

Official
by Unleash

create_flag

Create a feature flag in Unleash by providing a name, type, and description to control feature releases, experiments, or system behavior.

Instructions

Create a new feature flag in Unleash.

This tool creates a feature flag with the specified configuration. Choose the appropriate flag type:

  • release: For gradual feature rollouts to users

  • experiment: For A/B tests and experiments

  • operational: For system behavior and operational toggles

  • kill-switch: For emergency shutdowns or circuit breakers

  • permission: For role-based access control

Best practices:

  1. Use clear, descriptive names (e.g., "new-checkout-flow" not "flag1")

  2. Write comprehensive descriptions explaining the flag's purpose

  3. Choose the right type to signal intent and lifecycle

  4. Plan for flag removal after successful rollout

See: https://docs.getunleash.io/topics/feature-flags/best-practices-using-feature-flags-at-scale

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdNoProject ID where the flag will be created (optional if UNLEASH_DEFAULT_PROJECT is set)
nameYesFeature flag name (must be unique within the project). Use descriptive names like "new-checkout-flow"
typeYesFeature flag type - determines the lifecycle and usage pattern
descriptionYesClear description of what this flag controls, why it exists, and when it should be removed
impressionDataNoEnable impression data collection for analytics (optional, defaults to false)
Behavior3/5

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

No annotations were provided, so the description carries the full burden. It explains the creation action and flag types but lacks disclosure of side effects, error handling, or prerequisites like permissions.

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?

Well-structured with clear sections and bullet points. It is front-loaded with the core purpose. However, it includes an external link and some redundancy in the best practices list, which could be trimmed.

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?

Covers the creation of flags with type guidance and best practices. Lacks explanation of the return value or confirmation behavior, but for a creation tool it is fairly complete given the absence of an output 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 baseline is 3. The description adds context for flag types and best practices, which complements the schema but does not significantly enhance parameter meaning beyond what the schema already provides.

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?

The description clearly states the tool creates a new feature flag in Unleash, and lists distinct flag types with their specific purposes. It effectively distinguishes from sibling tools like cleanup_flag or detect_flag.

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?

Provides detailed guidance on when to use each flag type and best practices. However, it does not explicitly state when not to use this tool compared to alternatives, missing some usage boundaries.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Unleash/unleash-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server