Skip to main content
Glama
canopy-labs

Featureflip

Official

Set or clear flag owner

set_flag_owner
Idempotent

Assigns an owner to a feature flag so cleanup notices route correctly, or clears ownership with null; flag evaluation remains unchanged.

Instructions

Name the person responsible for a flag, or pass owner: null to leave it unowned. owner is the email of an active member of the organization, or "me" for the token's own user (needs a personal access token). The owner gets the flag's cleanup notices; evaluation never changes. Refused with OWNER_NOT_MEMBER for an email that is not an active member, and with PLAN_FEATURE_UNAVAILABLE below the Pro plan. Clearing is always allowed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flagYesFlag key or id
ownerYesOwner email, "me" for the token's own user, or null (or "none") to clear the owner
projectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.9

TDQS

A4.5/5.0
Behavior5/5

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

Beyond idempotentHint/destructiveHint, it discloses concrete failure modes (OWNER_NOT_MEMBER, PLAN_FEATURE_UNAVAILABLE below Pro), the side effect (owner receives cleanup notices), that evaluation is unaffected, and that clearing is always permitted even when setting is not.

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?

Three sentences, front-loaded with the action and the clearing case, with error behavior appended. Dense but each clause carries distinct information; no filler.

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 3-param write tool with no output schema, the description covers semantics, side effects, and error outcomes well. It stops short of describing the success response, but that is a minor gap given the operation is a simple setter.

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?

Schema coverage is 67%; the description compensates by defining what 'owner' accepts (active member email, 'me' with a PAT requirement, null to clear) and the membership constraint that the schema does not state. Only the project/flag parameters are left to the schema, which is adequate since their schema descriptions are minimal.

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?

The description states a specific verb and resource ('Name the person responsible for a flag') and explicitly covers both the set and clear cases. It is trivially distinguishable from siblings like update_flag or get_flag.

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 gives clear conditions for use: pass owner email for a member, 'me' for the token user (with the PAT caveat), or null to clear. It does not name an alternative tool, but the operation is narrow enough that no routing ambiguity exists.

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