Skip to main content
Glama
canopy-labs

Featureflip

Official

Get feature flag

get_flag
Read-only

Retrieve a feature flag's details, variations, and metadata by flag key or ID within a specified project. Owner is null if unowned.

Instructions

Get one feature flag with its variations and metadata, including its owner (null when unowned). Address by flag key or id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flagYesFlag key or id
projectYesProject key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds real value beyond that by disclosing what is returned (variations, metadata) and an edge case (owner is null when unowned), which is meaningful given there is no output schema.

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?

Two tight sentences with the core action front-loaded and the addressing rule second. The second sentence slightly overlaps the schema's flag description, which is the only minor waste.

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?

No output schema exists, so the description carries the return-value burden, and it does so partially by listing variations, metadata, and owner. A richer account of the response shape would be needed for a 5, but it is adequate for this simple read tool.

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 both parameters are already documented. "Address by flag key or id" restates the schema's own description of the flag parameter and adds no new syntax or format detail, so the baseline of 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?

States a specific verb and resource ("Get one feature flag") and scopes it to a single entity, which implicitly separates it from list_flags. It does not name a sibling alternative explicitly, so a 5 is not warranted.

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?

The singular "one feature flag" implies the retrieval use case and the description notes the flag/pair addressing, but it never says when to prefer this over list_flags, get_targeting, or update_flag. Usage is only inferable.

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