Skip to main content
Glama

smartobject_create_definition

Create a SmartObject definition asset in Unreal Engine, adding an optional default slot. Use it to set up reusable interaction points for AI agents.

Instructions

Create a SmartObject definition asset and optional default slot.

Args: name: Asset name to create. path: Content Browser folder under /Game. slot_name: Optional first slot name; empty creates no slot. overwrite: Delete an existing asset before creation. save: Save the asset package after creation.

Returns: Structured JSON with asset path and slot count.

KB: see knowledge_base/23_MASS_ENTITY_AND_STATETREE.md#mcp-mass-statetree-and-smartobject-tools Example: smartobject_create_definition(name="SO_CoverPoint", slot_name="UseCover")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
pathNo/Game/AI/SmartObjects
saveNo
overwriteNo
slot_nameNoDefault

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

The description discloses the overwrite behavior (deletes existing asset) and save behavior, which is useful. However, with no annotations provided, the description carries the full burden and doesn't mention potential side effects of overwrite beyond deletion, or what happens if the asset already exists without overwrite.

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 well-structured with Args, Returns, KB, and Example sections. It's slightly verbose with the KB reference and example, but each section serves a purpose and the core information is front-loaded.

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?

The description covers the essential information: what it creates, parameters, return format, and an example. The output schema exists, so return values are documented. The KB reference adds depth for agents needing more context. Minor gap: no explicit error conditions or prerequisites.

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 description coverage is 0%, so the description must compensate. It does explain each parameter's purpose in the Args section, including the nuance that empty slot_name creates no slot, which adds meaning beyond the schema's default value of 'Default'.

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?

The description clearly states the tool creates a SmartObject definition asset and an optional default slot, with a specific verb and resource. It distinguishes itself from siblings like smartobject_add_slot and smartobject_inspect_definition by focusing on creation, though it doesn't explicitly name them.

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 implies usage through the example and parameter list, but doesn't explicitly state when to use this tool versus alternatives like smartobject_add_slot. The KB reference provides some context but no explicit when/when-not guidance.

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