Skip to main content
Glama

set_enum_bitflags

DestructiveIdempotent

Toggle bitflags meta on a Blueprint Enum so its enumerators can be combined as bit flags. Reapplying the same state reports already_set without changes.

Instructions

Toggle the "bitflags" meta on a Blueprint Enum (UUserDefinedEnum) so its enumerators can be combined as bit flags. Idempotent: re-setting the same state reports already_set with applied=false.

Returns: { enum_path: string, bitflags: bool, already_set: bool, applied: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bitflagsYesDesired state: true to mark as bitflags, false to clear.
enum_pathYesFull asset path of the UUserDefinedEnum (e.g. /Game/Blueprints/MyEnum).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=true, so the safety profile is partly covered, yet the description adds real value by spelling out the idempotency mechanics (re-setting reports already_set with applied=false) and giving the full return shape in the absence of an output schema. It omits any note on clearing behavior or compile/save requirements.

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 compact sentences plus an explicit return shape, front-loaded with the operation and asset type. Every line earns its place, though the word "Toggle" sits slightly at odds with the desired-state parameter and costs a bit of clarity.

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 two-parameter mutation with annotations carrying the safety profile and 100% schema coverage, the description supplies the missing return contract and idempotency detail. The only real gap is the absence of any compile/save or permission note for the modified enum asset.

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 the baseline is 3, but the description adds functional meaning beyond the schema's "Desired state": bitflags=true makes enumerators combinable as flags, and the enum_path target is characterized as a UUserDefinedEnum rather than an arbitrary asset.

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: it sets the "bitflags" meta on a Blueprint Enum (UUserDefinedEnum), and explains the effect on enumerators. It does not differentiate itself from sibling enum tools (create_enum, add_enum_entry, get_enum_info), but the target asset and meta-property are precise enough to identify the operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description says what the tool accomplishes but gives no when-to-use guidance, no prerequisites, and names no alternative (e.g., when to use this versus generic property-setting tools). The rationale clause hints at intent but does not route the agent against alternatives.

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

Deploy Server

Other Tools