Skip to main content
Glama

ue5_execute_command

Run any whitelisted Unreal Engine bridge command to cover operations without dedicated tools, including materials, UMG, and advanced blueprint actions.

Instructions

Escape hatch: run any whitelisted bridge command by name — the full 72-command surface, including capabilities without a dedicated tool (materials, UMG widgets, and other advanced operations). Prefer the dedicated tool whenever one exists for the operation; this generic entry point is the last resort and its arguments are less validated. command ∈ add_actor_bound_event_node, add_async_action_node, add_cast_node, add_class_cast_node, add_comment_node, add_component, add_component_bound_event_node, add_composite_node, add_create_delegate_node, add_custom_event_node, add_enum_literal_node, add_event_dispatcher, add_function_node, add_function_pin, add_implemented_interface, add_input_action_event_node, add_input_axis_event_node, add_input_key_event_node, add_local_variable, add_macro_node, add_math_expression_node, add_pin_to_node, add_struct_node, add_switch_node, add_timeline_node, add_variable, add_variable_node, build_blueprint, compile_blueprint, connect_pins, create_node_by_class, delete_asset, editor_batch, find_actors, get_actor_properties, get_node_by_guid, get_pin_default_value, health, list_assets, logs_read, material_add_expression, material_compile, material_connect_expressions, material_connect_property, material_create, material_instance_create, material_instance_set_parameter, material_read, material_set_expression_property, pie_start, pie_state, pie_stop, read_blueprint, read_cdo, read_connections, read_nodes, read_variables, remove_component, remove_pin_from_node, save_asset, set_actor_transform, set_class_default, set_node_position, set_node_property, set_pin_default_value, spawn_actor, try_node_add_input_pin, unpin_console_refs, widget_add_child, widget_create, widget_read_tree, widget_set_property;params 为该命令入参对象。未登记命令 fail-loud 拒绝。| 白名单命令透传(专用工具未覆盖时使用)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNoCommand arguments object | 该命令的入参对象
commandYesWhitelisted command name (see description list) | 白名单命令名(见描述中的全量清单)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.2.1

TDQS

A4.3/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It usefully notes that arguments are 'less validated' and unregistered commands 'fail-loud', which are meaningful safety signals. However, it does not explicitly warn about potentially destructive side effects (delete_asset, set_actor_transform, etc.) or state permission requirements, leaving the agent to infer mutability from the command list.

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?

The description is front-loaded with purpose and usage guidance before the long command list, which is necessary for a valid invocation. The bilingual repetition ('白名单命令透传(专用工具未覆盖时使用)') is redundant but not harmful. Overall each sentence serves a role, though the list makes it unavoidably lengthy.

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 generic tool covering 72 commands with no output schema, the description provides the essential context: role, when to use, the full valid command set, and failure behavior. It lacks a description of the return format and per-command parameter specifics, but given the breadth and the thin schema, it is reasonably complete. The safety profile is less full without annotations, though the 'less validated' caveat partially covers it.

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. The description adds substantial value by enumerating the complete command whitelist, effectively providing all valid enum values for `command`, and clarifying that `params` is the command arguments object. This goes beyond the schema's terse field descriptions.

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 opens with 'Escape hatch: run any whitelisted bridge command by name', a specific verb-resource pairing that immediately conveys a generic execution role. It distinguishes itself from dedicated siblings by stating 'Prefer the dedicated tool whenever one exists' and listing the full 72-command surface, making its scope unmistakable.

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

Usage Guidelines5/5

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

Explicit guidance is provided: 'Prefer the dedicated tool whenever one exists for the operation; this generic entry point is the last resort.' It further explains that arguments are less validated and unregistered commands fail loudly, giving the agent clear criteria for when to invoke this tool versus its siblings.

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