Skip to main content
Glama

List Project Flags

list_project_flags

List feature flags for the bound project, filter them with glob patterns, and choose resolved global-plus-project values or project-only flags.

Instructions

List feature flags for the currently bound project.

Requires a bound project. Use active=True to include resolved values from global flags, or active=False for project-only flags. 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.

  • active: boolean

    • If True, include resolved flags (global merged with project); if False, project-only

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_project_flags"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsYesArguments for list_project_flags tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.0.0
    • removedInput schema / properties / args / additionalProperties
      Removed value: -false
    • changedInput schema / properties / args / description
      Previous value: -"Arguments for list_flags tool."New value: +"Arguments for list_project_flags tool."
    • changedInput schema / properties / args / properties / active / description
      Previous value: -"Include resolved flags (True) or project-only (False)"New value: +"If True, include resolved flags (global merged with project); if False, project-only"
    • 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 dependency on a bound project, the merge semantics behind active, glob-based filtering, and how results are shaped (dict for glob matches, single value for an exact name). It omits what happens when no project is bound (error vs empty) and any pagination or rate-limit behavior.

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 two sentences are well front-loaded and efficient, but the subsequent Arguments block duplicates the input schema's own descriptions word-for-word, which pads length without adding information for an agent that already receives the schema.

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?

There is no output schema, and the description compensates by explaining the return shape for both the glob and exact-name cases. The prerequisite and the active-flag merge behavior round it out; only error/empty-state behavior is left unstated.

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 the baseline is 3. The Arguments section reproduces the schema parameter descriptions essentially verbatim, adding examples of glob syntax but no new semantics beyond what the schema already states.

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 first sentence gives a specific verb and resource ("List feature flags") bound to an explicit scope ("the currently bound project"), which is stronger than the title alone. It does not, however, distinguish this from the sibling list_feature_flags, so an agent must infer the difference from the project-scoping phrase.

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?

It states the prerequisite ("Requires a bound project") and gives explicit selection criteria for the active switch — True for global-merged resolved values, False for project-only. No sibling alternative is named as an alternative, which keeps it short of a 5, but the when-to-use guidance is clear.

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