Skip to main content
Glama

set_project_flag

Set or remove a project feature flag to control feature availability.

Instructions

Set or remove a project feature flag.

Sets a flag value for the current project, 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_flag tool.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses flag name constraints (alphanumeric, hyphens, underscores), supported value types, and removal behavior. No annotations are provided, so the description bears the burden, which it meets adequately.

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

Conciseness5/5

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

Well-organized with a brief summary, a descriptive paragraph, and a bulleted list of arguments. Every sentence adds useful information without redundancy.

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 purpose, parameters, and constraints. Does not describe return values (output schema exists but not detailed) or error scenarios, but for a simple flag setter this is sufficient.

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%, but the description adds value by specifying allowed characters for feature_name and listing acceptable types for value, going 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?

Clearly states 'Set or remove a project feature flag,' specifying the action (set/remove), resource (project feature flag), and scope (current project). This distinguishes it from siblings like list_feature_flags and set_feature_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 clear context: operates on the current project, and removal is triggered by value=None. However, it does not explicitly contrast with similar tools like set_feature_flag, which could cause confusion.

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