Skip to main content
Glama

remove_smart_object_slot

Destructive

Remove a slot from a USmartObjectDefinition asset, including its behaviors, tags, and annotations; later slots shift down and the asset is saved.

Instructions

Remove the slot at slot_index from a USmartObjectDefinition asset, together with its behaviors, tags and annotations; later slots shift down one index, so re-read indices with get_smart_object_slots_detail. Saves the asset; a failed save returns an error with the removal kept in memory. An invalid slot_index is an error. Undoable (one editor transaction). To turn a slot off while keeping indices stable use set_smart_object_slot_enabled; add_smart_object_slot appends one.

Returns: { definition_path: string, slot_index: int, slot_count: int, removed: bool, saved: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slot_indexNoIndex of the slot to remove
definition_pathYesPath to the USmartObjectDefinition asset

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint, non-idempotent) by disclosing that behaviors/tags/annotations are removed with the slot, that later slots shift down one index, that a failed save errors but keeps the removal in memory, that an invalid index errors, and that the whole thing is one undoable editor transaction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, then side effects, error/failure semantics, undo scope, sibling alternatives, and the return shape. Every sentence carries distinct, non-redundant information with no filler.

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 destructive, non-idempotent mutation with no output schema, the description supplies the return shape, the side effects on indices, failure handling, undoability, and alternative tools. Nothing an agent needs to invoke it correctly is missing.

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 both parameters are already documented, but the description adds real semantic value: it explains that slot_index is unstable because subsequent slots shift down after removal, and that an invalid slot_index is an error.

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 (remove) and resource (the slot at slot_index from a USmartObjectDefinition asset), and explicitly distinguishes itself from siblings by naming set_smart_object_slot_enabled and add_smart_object_slot as the alternatives for different intents.

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?

Provides explicit when/when-not routing: 'To turn a slot off while keeping indices stable use set_smart_object_slot_enabled; add_smart_object_slot appends one.' It also tells the caller to re-read indices with get_smart_object_slots_detail after the shift, covering the post-call workflow.

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