Skip to main content
Glama

feature_flag_system

Set up feature flags to gate functionality by plan, user, or percentage rollout. Manage access and release features gradually with configurable storage and caching.

Instructions

Set up a feature flag system for gating features by plan, user, or percentage rollout

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for authentication
storageNodatabase
featuresYesFeatures and their allowed plans
cache_ttl_secondsNo
Behavior2/5

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

No annotations are present, so the description carries the full burden. 'Set up' is opaque: it does not disclose side effects, generated files, auth requirements, or how the storage values (database/config/launchdarkly) change behavior. This is a significant gap for a setup/mutation 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?

The description is a single front-loaded sentence with no filler, which is structurally efficient. It sacrifices necessary detail, but that is a completeness concern rather than a conciseness one.

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

Completeness2/5

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

With four parameters, no annotations, no output schema, and a nested feature definition, the description is too thin. It omits behavior, output, prerequisites, backend semantics, and how user/percentage gating is expressed in the schema.

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 50%, so the description should compensate for undocumented parameters, but it does not explain api_key, storage, or cache_ttl_seconds. Worse, it claims gating 'by plan, user, or percentage rollout' while the features schema only accepts name and plans, making the user/percentage modes unrepresentable.

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?

The description clearly states the action and resource: 'Set up a feature flag system' and adds the gating purpose 'by plan, user, or percentage rollout.' It is not a tautology, but it does not distinguish itself from the sibling flag_setup_system.

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?

The 'for gating features by plan, user, or percentage rollout' clause implies a use case, but there is no explicit when-to-use guidance or mention of alternatives such as flag_setup_system or flag_ab_test_setup. The agent must infer when this tool is the right choice.

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/barnburner121/claude-plugin-marketplace'

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