Skip to main content
Glama
CRACKISH

mcp-creatio

by CRACKISH

Turn a feature toggle on or off

set-feature-state
DestructiveIdempotent

Enable, disable, or reset a feature's default state, or override it for a specific user or role, then return the updated state and cache status.

Instructions

Change a feature's default state, or override it for one user/role, for features from any source. The first change to a web.config / metadata feature gives it a DB row, which then takes precedence over that source (the Creatio feature page behaves the same). Returns the feature as in get-feature plus cacheCleared. "feature_state_not_applied:" means Creatio did not save it. cacheCleared: false means it IS saved but the instance could not refresh its cache (seen on .NET 8), so it may take effect later — tell the user. See get-guide: feature-toggle-guide.

Input Schema

NameRequiredDescriptionDefault
codeYesFeature code, exact match (e.g. "FreedomUIComposableApp").
stateYes"enabled" / "disabled"; "inherit" removes the override of `adminUnitId` so the default applies again (needs adminUnitId).
adminUnitIdNoUser or role to override for — a SysAdminUnit id (the current user: `userInfo.id` from get-current-user-info; others: read SysAdminUnit by Name). Omit to change the default for everyone without an override.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond annotations by disclosing the key side effect (first change to a web.config/metadata feature creates a DB row that then takes precedence over the source), the return payload shape, and the meaning of partial failures (`feature_state_not_applied:<code>` vs `cacheCleared: false` with the advice to tell the user). This is exactly the durable-state context an agent needs for a destructive, idempotent mutation.

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 action, then precedence semantics, then return/error handling — no filler sentences. It is dense but every clause carries behavioral information; slightly more compact phrasing would make it a 5.

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?

There is no output schema, and the description compensates by describing the returned feature object plus `cacheCleared` and the error code case. With precedence rules and the failure-mode interpretation included, nothing critical is missing for correct invocation and follow-up.

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 coverage is 100% and the schema already explains code, state enum values (including that "inherit" needs adminUnitId), and the SysAdminUnit id format. The description adds little new parameter-level meaning, so baseline 3 is appropriate.

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 ("Change a feature's default state, or override it for one user/role") with scope ("features from any source"), which immediately separates it from read-only siblings like get-feature and list-features. An agent can identify exactly what this tool mutates.

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 clear operational context: omit adminUnitId to change the global default, use "inherit" to remove an override, and points to get-guide: feature-toggle-guide for deeper guidance. It doesn't explicitly contrast with refresh-feature-cache or state when a cache refresh is needed as a follow-up, so it falls short of a 5.

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