Skip to main content
Glama

Get Feature Flag Coverage

get-feature-flag-coverage
Read-onlyIdempotent

Feature flag arm coverage per user story (read-only). Each story lists its relevant flags and the status of each arm: ARM_TESTED, ARM_TESTED_FORCED, ARM_UNTESTED or ARM_IGNORED, with linkedScenarios and coveringTests (latestFailed). Defaults to untested arms only (untestedOnly=true: only stories with untested arms and only their untested arms; excluded/archived flags dropped); pass untestedOnly=false to see all arms. Filter with scopes (FileScope plan scope: folderPath[], ids[], artifactType), storyOrdinalIds (US- numeric ids), branchName (unknown branch returns HTTP 400), environment, release, windowStartMillis/windowEndMillis (default last 30 days). maxStories defaults to 20 (max 100). Response also has matchingStoryCount, truncated, flagsRelevant, armsCovered, armsTotal, providerConnected, anyEvaluationsIngested, observedUnmappedFlagKeys and coverageUrl. Use get-feature-flag-setup-status when results are empty because the provider is not connected or no evaluations were ingested.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get-feature-flag-coverage"
  }
}

Input Schema

NameRequiredDescriptionDefault
botIdNoQA bots: your botId from your stored TestChimp binding.
scopesNo
releaseNo
projectIdNoThe TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret.
branchNameNo
maxStoriesNo
environmentNo
untestedOnlyNo
projectApiKeyNoProject API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it.
storyOrdinalIdsNo
windowEndMillisNo
windowStartMillisNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / storyOrdinalIds / items / anyOf
      Previous value: -[
      -  {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "exclusiveMinimum": 0,
      -    "maximum": 9007199254740991,
      -    "type": "integer"
      -  }
      -]New value: +[
      +  {
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "pattern": "^(?:US-)?0*[1-9]\\d*$",
      +    "type": "string"
      +  }
      +]
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), and the description adds real behavior beyond that: excluded/archived flags are dropped, an unknown branchName yields HTTP 400, results can be truncated, and empty results have a diagnosable cause. It stops short of describing ordering or how truncation is signaled beyond the truncated field.

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

Conciseness4/5

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

Front-loaded with purpose and the default behavior, then parameters, then the sibling escape hatch. It is dense with parentheticals and would read better as short bullets, but nearly every clause conveys operative information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description compensates by naming the return fields (matchingStoryCount, truncated, flagsRelevant, armsCovered, armsTotal, providerConnected, anyEvaluationsIngested, observedUnmappedFlagKeys, coverageUrl). Combined with defaults, error behavior, and alternative routing, an agent has enough to call it correctly on the first try.

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?

With only 25% schema description coverage across 12 params, the description carries needed weight: it explains scopes composition (folderPath[], ids[], artifactType as plan scope), storyOrdinalIds as US-<n> numeric ids, windowStartMillis/windowEndMillis defaulting to last 30 days, maxStories default 20/max 100, and untestedOnly default true. Gaps remain for environment and release, whose accepted values and matching semantics are not clarified in either place.

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?

States a specific verb and resource ('Feature flag arm coverage per user story') and immediately enumerates the domain vocabulary (ARM_TESTED, ARM_TESTED_FORCED, ARM_UNTESTED, ARM_IGNORED) that identifies what kind of data comes back. It is unmistakably distinct from setup-status and from the other coverage siblings.

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?

Gives concrete routing guidance: default behavior is untested arms only, pass untestedOnly=false to see everything, and use get-feature-flag-setup-status when results are empty because the provider is not connected or no evaluations were ingested. That is a genuine when-to-use/when-to-switch rule, though it does not state when this is preferable to other coverage tools.

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.