Skip to main content
Glama

Railflag

Create flag

create_flag

Creates a flag, off in every environment. Boolean flags have variations [false, true].

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": {
      "key": "<key>",
      "name": "<name>"
    },
    "name": "create_flag"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesKey used in code, e.g. new-checkout
kindNo
nameYes
tagsNo
typeNoboolean
variationsNoRequired for string/number/json flags
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-destructive, non-read-only, closed-world mutation. The description adds genuine behavioral context beyond that: newly created flags default to off in all environments, and boolean flags get an automatic [false, true] variation set. It omits what happens on duplicate key collisions, permission requirements, and whether creation is idempotent.

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?

Two short sentences, front-loaded with the action and followed by the most decision-relevant default (off everywhere) and the boolean variation rule. No filler or redundancy.

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?

For a 7-parameter creation tool with no output schema, the description covers the essential default-state behavior but leaves the majority of parameters and failure/permission behavior unaddressed. Adequate to call the tool, not enough to call it correctly in edge cases.

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 only 29% across 7 parameters, so the description must carry weight; it partially does by clarifying that boolean flags come with the [false, true] variations, which complements the schema note that variations are required only for string/number/json flags. It says nothing about key, name, kind, tags, or description semantics, leaving most parameters undocumented.

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 opens with a specific verb and resource ('Creates a flag') and adds a concrete scope detail: the flag is created off in every environment. It does not name any sibling (e.g., toggle_flag for turning it on, update_targeting for targeting), so differentiation is left to inference.

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?

There is no explicit when-to-use or when-not-to-use statement, but 'off in every environment' implicitly tells the agent this is the initial-creation step and that a separate tool is needed to enable the flag. No prerequisites (e.g., a connected source or existing environment) are stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources