Skip to main content
Glama
canopy-labs

Featureflip

Official

List removal candidates

list_removal_candidates
Read-only

Lists Featureflip flags safe to remove from code, including blockers, so you archive dependents first and avoid FLAG_HAS_DEPENDENTS errors.

Instructions

List the flags the server is confident can be removed from code, the same list the Featureflip flag cleanup GitHub Action works from. Each item has key, reason, status (Dead or Stale), treatment (true = keep the on-branch, false = keep the off-branch) and blockedBy: the live flags that still list it as a prerequisite. Only remove a flag whose blockedBy is empty. A flag that other live flags list as a prerequisite has to be removed LAST, dependents first: archiving it while a dependent still names it makes that dependent fail its prerequisite check and serve its off variation, so archive_flag refuses it with FLAG_HAS_DEPENDENTS. staleness "dead" (the default) returns only dead flags, "stale" adds stale ones. Paginated via cursor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
cursorNo
projectYesProject key
stalenessNoMinimum staleness tier: dead (default) or stale

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.10

TDQS

A4.6/5.0
Behavior5/5

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

Annotations give only readOnlyHint, and the description goes well beyond it: it enumerates the returned fields (key, reason, status, treatment, blockedBy), explains the dead-vs-stale filter semantics and default, notes cursor pagination, and discloses the cross-tool failure mode (FLAG_HAS_DEPENDENTS) that constrains deletion order.

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 the core purpose, then the item shape, then the ordering constraint. Dense and largely waste-free, though the multi-clause explanation of the dependents rule is slightly long for a list endpoint.

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, so the description's item-field enumeration is essential, and it is provided. Combined with the staleness/pagination notes and the deletion-ordering prerequisite, an agent has everything needed to call it and act on results.

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 50% schema description coverage, the description usefully clarifies staleness semantics (dead default, stale adds stale flags) and pagination via cursor. The limit bound and project parameter are not elaborated, but project is self-evident and limit is bounded by the schema.

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 (list flags the server is confident can be removed) and identifies the exact artifact it mirrors (the Featureflip flag cleanup GitHub Action list). It is clearly distinguishable from list_flags and archive_flag without opening a schema.

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 strong operational guidance: only remove flags whose blockedBy is empty, and remove dependents first with an explicit consequence for violating that order (archive_flag refuses with FLAG_HAS_DEPENDENTS). It does not, however, explain when to prefer this over the sibling find_stale_flags, so the routing between the two candidate-listing tools is left implicit.

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