Skip to main content
Glama

add_smart_object_slot

Idempotent

Append a named activity slot to a USmartObjectDefinition asset, optionally with a gameplay tag, without duplicating an existing slot name.

Instructions

Append a named activity slot to a USmartObjectDefinition (idempotent on name).

Returns: { definition_path: string, slot_name: string, activity_tag: string, slot_count: int, added?: bool, already_existed?: bool, saved: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slot_nameYesUnique name for the new slot
activity_tagNoOptional FGameplayTag to attach to the slot; defaults to "Default"
definition_pathYesPath to the USmartObjectDefinition asset

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false; the description goes further by naming the idempotency key ('idempotent on name') and by disclosing the return flags added?/already_existed? that signal the no-op path. That is real behavioral value beyond the structured fields, though it says nothing about write persistence or required permissions.

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 tight sentences: the action and its idempotency key come first, followed by the return shape. Nothing is padded, though the return-type list is somewhat dense inline.

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?

No output schema exists, and the description compensates well by enumerating the return fields including definition_path, slot_count and saved. What is missing is any note on prerequisites or whether the asset is written to disk beyond the 'saved' flag.

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 description coverage is 100%, so the schema already documents definition_path, slot_name and activity_tag (including the 'Default' fallback). The description only echoes 'named activity slot' and the definition resource, adding no format or constraint detail beyond the schema. Baseline 3 is correct.

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 (append) and resource (named activity slot to a USmartObjectDefinition), so the agent knows exactly what the call does. It does not distinguish itself from near-neighbors like add_smart_object_slot_behavior_definition or remove_smart_object_slot, but the resource is unambiguous on its own.

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?

There is no when-to-use guidance, no prerequisites (e.g. whether the definition asset must already exist or be loaded), and no routing to alternatives such as add_smart_object_slot_behavior_definition. Usage is only implied by the verb in the name.

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