Skip to main content
Glama

List Feature Flags

list_feature_flags

Retrieve global feature flags across all projects, optionally filtering by glob pattern or exact name to inspect configuration values without binding a project.

Instructions

List global feature flags.

Returns flags set globally (apply to all projects). Does not require a bound project. Supports glob pattern filtering.

Arguments

  • session_id: string | null

    • Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id.

  • feature_name: string | null

    • Glob pattern to filter flags (for example 'workflow*', 'content-*'). Matching flags are returned as a dict. An exact name returns that flag's value.

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": {
      "args": "<args>"
    },
    "name": "list_feature_flags"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsYesArguments for list_feature_flags tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.0.0
    • removedInput schema / properties / args / additionalProperties
      Removed value: -false
    • changedInput schema / properties / args / properties / feature_name / description
      Previous value: -"Glob pattern to filter flags (e.g., 'workflow*', 'content-*'). Returns matching flags as dict. Exact match returns single value."New value: +"Glob pattern to filter flags (for example 'workflow*', 'content-*'). Matching flags are returned as a dict. An exact name returns that flag's value."
    • addedInput schema / properties / args / properties / session_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id."
      +}
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. First observedv1.3.2

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does reasonably well: it discloses the global scope, that no project binding is needed, that results come back as a dict, and that an exact name returns that single flag's value. It omits any note on permissions or result ordering/size, which are the remaining behavioral gaps.

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

Conciseness3/5

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

The opening three sentences are well front-loaded and earn their place. The subsequent Arguments section duplicates the schema descriptions word-for-word, which is pure redundancy for a two-parameter tool.

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?

For a simple read-only listing with a nested args wrapper, the description covers scope, prerequisites, and return shape adequately. There is no output schema, so a brief note on what the returned dict contains would have closed the remaining gap.

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 both nested args fields are already documented in the schema. The description's Arguments block reproduces those schema strings nearly verbatim, adding no new semantics beyond the examples already present; the baseline 3 applies.

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?

States a specific verb and resource ("List global feature flags") and narrows scope with "Returns flags set globally (apply to all projects)". This implicitly separates it from list_project_flags, but the sibling is never named, so the distinction is inferred rather than stated.

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?

"Does not require a bound project" gives a clear precondition for calling this versus a project-scoped listing, which is useful when-to-use context. It stops short of naming an alternative tool or stating an explicit when-not case, so it does not reach a 5.

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