Skip to main content
Glama

Turn a feature on or off for an organization

admin_set_feature
DestructiveIdempotent

Internal staff only. Turns a feature on or off for one organization, by its staff row. An organization has a feature when its staff row, the feature's LaunchDarkly flag or the deployment's setting turns it on, so the answer says whether it has it and from which; turned off here, a feature LaunchDarkly or the deployment gives stays on. code-knowledge: on, its pushes from now on are read for technical decisions as well as memories, which spends model calls; nothing already ingested is read again. Off, new pushes stop being read for decisions, and the decisions it holds stay readable. referrals: the Referral page, its link and its invites. claude-chats: Build > Claude chats and the sync of its connections. Call it without confirm first, put the sentence it answers with to the person, and call again with confirm: true only when they agree.

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": {
      "organization": "<organization>",
      "feature": "<feature>",
      "enabled": "<enabled>",
      "confirm": "<confirm>"
    },
    "name": "admin_set_feature"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYestrue only once the person has agreed to the sentence the unconfirmed call answered with.
enabledYestrue to turn it on for the organization, false to turn it off.
featureYesThe feature: code-knowledge, referrals or claude-chats.
organizationYesThe organization's id or slug, as admin_find_organization returned it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / feature / description
      Previous value: -"The feature: code-knowledge."New value: +"The feature: code-knowledge, referrals or claude-chats."
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by explaining that the effective state is the union of the staff row, LaunchDarkly flag and deployment setting, so turning off here will not disable a feature the flag or deployment grants. It also discloses cost and reversibility consequences per feature: code-knowledge spends model calls and newly reads pushes for technical decisions, while already-ingested data and existing decisions stay readable after turning off.

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-loads the staff-only restriction and the core action, and every clause about the partial-effect rule and per-feature consequences carries decision-relevant information. Some sentences are telegraphic fragments ('referrals: the Referral page, its link and its invites.') and the effective-state sentence is a dense run-on, which slightly hurts scanability.

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 destructive, non-idempotent-looking mutation with four required parameters and no output schema, it covers authorization, effect semantics, per-feature side effects and the confirmation workflow. The only thin spot is what the unconfirmed call actually returns ('the sentence it answers with'), which is described only loosely.

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 100%, so baseline is 3, but the description adds real meaning to the 'feature' parameter by stating what each of code-knowledge, referrals and claude-chats controls, and it expands the confirm parameter into its two-phase protocol. Only the 'organization' and 'enabled' semantics are left entirely to 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 plus scope: turns one feature on or off for a single organization, addressed by its staff row. It is clearly distinguishable from siblings like admin_set_contract or set_project_caps, and the three feature names are enumerated so the agent knows what can be toggled.

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 explicit audience restriction ('Internal staff only') and a concrete two-step workflow: call without confirm first, relay the answered sentence to the person, then call again with confirm: true only on agreement. It does not discuss when a different admin tool would be preferable, but the in-tool procedure is unambiguous.

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.

Resources