Skip to main content
Glama
AB Tasty MCP Server

AB Tasty MCP Server

Official
by flagship-io

Analyze Codebase for Feature Flags

codebase_analyzer_analyze

Scan a directory to detect feature flag usage across AB Tasty Flagship and competitor platforms, returning flag keys, default values, types, and file locations.

Instructions

Scan a directory for feature flag usage across AB Tasty (Flagship SDK) and competitor platforms (LaunchDarkly, OpenFeature, Optimizely, Split, VWO). Returns detected flags with their keys, default values, types, and file locations.

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": {
      "directory": "<directory>"
    },
    "name": "codebase_analyzer_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformNoOptional competitor platform to detect. If not provided, scans for AB Tasty / Flagship SDK patterns only.
directoryYesAbsolute path to the directory to scan for feature flags
repository_urlNoOptional repository URL for generating file links in results (e.g., https://github.com/org/repo)
repository_branchNoOptional branch name for file links (defaults to 'main')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it implies a read-only scan and usefully discloses the return contents (flag keys, default values, types, file locations). However, it says nothing about scan scope (recursive depth, ignored directories, monorepo handling), performance on large codebases, or required filesystem access.

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 sentences, no filler: the scan scope and platform coverage come first, followed by the concrete return payload. Nothing could be removed without losing information.

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?

Because there is no output schema, the description rightly explains what the scan returns, and the input schema fully documents the four parameters. Remaining gaps are behavioral (scan depth, ignored paths, output encoding) rather than structural, which keeps it just above minimum viable.

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 enum for platform, directory path, and repository link parameters are already fully documented in the schema. The description adds no format examples or edge cases beyond naming the competitor platforms, so 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?

The description names a specific verb and resource ('Scan a directory for feature flag usage') and enumerates the platforms covered, including both AB Tasty/Flagship and five competitors. It is clearly distinguishable from the sibling decision_api/resource_loader tools, though it never explicitly states that distinction.

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?

Usage is only implied: an agent can infer this is a static code scan rather than a live flag fetch, but the description never says when to prefer it over decision_api_get_flags or resource_loader_api_load_featexp_resources. No prerequisites or exclusions are given.

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