Skip to main content
Glama

set_feature_flag

Set a global feature flag for all projects or remove it by setting value to None. Accepts boolean, string, list, or dictionary values.

Instructions

Set or remove a global feature flag.

Sets a flag value globally (applies to all projects), or removes it if value=None. Flag names must contain only alphanumeric characters, hyphens, and underscores. Values can be bool, str, list[str], or dict[str, str].

Arguments

  • feature_name (required): string

    • Flag name to set

  • value: any

    • Flag value to set (True=default, None=remove)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsYesArguments for set_feature_flag tool.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description covers naming constraints and value types, but lacks details on side effects (e.g., overwriting existing flags), permissions, or reversion. It does not address error behavior or return format, leaving some gaps.

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?

Description is well-structured with headers and bullet points, and is relatively concise. However, it partially repeats schema parameter descriptions, which could be trimmed.

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?

Given the presence of an output schema and two parameters, the description covers usage and parameter semantics but omits prerequisites, error handling, and return value behavior, leaving some aspects incomplete.

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

Parameters4/5

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

Schema coverage is 100%, yet the description adds value by explaining naming constraints and the special case of value=None for removal, which goes beyond the schema's type definitions.

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?

Description explicitly states 'Set or remove a global feature flag.' It identifies the action (set/remove) and resource (global feature flag), distinguishing it from sibling tools like set_project_flag (per-project) and list_feature_flags (read-only).

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?

Description states the global scope and removal via value=None, providing clear context for when to use. However, it does not explicitly mention alternatives like set_project_flag for project-specific flags, leaving room for improvement.

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/deeprave/mcp-guide'

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