Skip to main content
Glama

create_chooser_table

Create or load a UChooserTable asset at a package path, set its result type and output object class, then compile and save the Unreal Engine chooser table when changed.

Instructions

Create (or load if it already exists) a UChooserTable asset under the given package path. A new table is compiled and saved. On an existing table only the result_type and output_object_class the call gives are applied, as one undo step, and the table is compiled and saved only when that changes it (saved false otherwise). success is false, with save_error, when the save fails. An unknown result_type, or an output_object_class that does not load as a UClass, is an error checked before the asset is created or loaded.

Returns: { asset_path: string, already_existed: bool, result_type: string, output_object_class: string|null, saved: bool, save_error?: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesAsset short name (e.g. "MyChooser"); becomes the package short name.
result_typeNoEObjectChooserResultType: "Object" (default), "Class", or "NoPrimaryResult".
package_pathNoLong package root (default "/Game/MCP"); full asset path = <package_path>/<name>.
output_object_classNoUClass path used as OutputObjectType (default UObject), loaded via LoadObject<UClass>; a path that does not load is an error.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.2
    • changedInput schema / properties / output_object_class / description
      Previous value: -"UClass path used as OutputObjectType (default UObject), loaded via LoadObject<UClass>."New value: +"UClass path used as OutputObjectType (default UObject), loaded via LoadObject<UClass>; a path that does not load is an error."
  2. First observedv1.1.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly=false, destructive=false, idempotent=false). The description goes well beyond that, disclosing the one-undo-step application on existing tables, that saving is conditional on the change, the save_error failure path, and that validation errors are checked before the asset is created or loaded. This is exactly the context annotations cannot carry.

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 core create/load behavior followed by the mutation semantics and an explicit Returns block. Dense but every sentence carries information; minor verbosity in the parenthetical save clause keeps it short of 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?

For a mutation tool with full annotation coverage and complete schema, the description supplies the missing return shape inline (asset_path, already_existed, saved, save_error) plus the error and undo semantics. Nothing an agent needs to call it correctly is absent.

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%, so the schema already documents name, result_type, package_path and output_object_class. The description adds only validation semantics (unknown result_type, class path that fails to load) which the schema largely restates; baseline 3 is appropriate when structured fields do the heavy lifting.

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 ('Create (or load if it already exists) a UChooserTable asset') and immediately clarifies the create-or-load semantics that distinguish it from a plain creator. An agent can tell it apart from siblings like list_chooser_tables or delete_chooser_table without opening any schema.

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 description explains what happens on an existing table, which implies when the load branch applies, but never explicitly says when to prefer this tool over siblings (e.g. inspect_chooser_table, add_chooser_row) or any prerequisites. Usage is left to inference rather than stated.

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