Skip to main content
Glama

remove_render_target_2d

DestructiveIdempotent

Delete a render target asset safely by verifying it is a UTextureRenderTarget2D first; returns deleted:false with a note for missing paths or wrong asset types.

Instructions

Delete a render target asset, but only after loading it and verifying it really is a UTextureRenderTarget2D -- the typed counterpart of create_render_target_2d, and what makes it safer than the generic delete_asset, which deletes whatever sits at that path. Wrong type or missing path returns deleted:false with a note explaining which, never an exception, so it is idempotent and safe to re-run. Sisters by type: remove_render_target_2d_array, remove_render_target_cube, remove_texture_2d_array, remove_static_texture_from_render_target.

Returns: { asset_path, asset_class, package_name, deleted, already_existed, note? }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asset_pathNoFull object/package path of the render target (e.g. /Game/MyGame/RT/RT_Foo.RT_Foo); a bare name is not resolved here

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint, idempotentHint and non-readOnly, but the description adds substantial context beyond them: it loads and type-verifies before deleting, returns deleted:false plus a `note` on wrong-type or missing path rather than throwing, and is safe to re-run. It also discloses the return shape, which no output schema provides.

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 action and scope, and every sentence carries information (safety rationale, error behavior, siblings, return shape). It is somewhat long and dash-heavy, but there is little outright waste.

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 one-parameter destructive tool with no output schema, the description supplies the safety profile, the failure semantics, the sibling alternatives, and even the return shape, so nothing an agent needs to call it correctly is missing.

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% and the single asset_path parameter is fully documented in the schema with an example path. The description adds no syntax or format detail about the parameter beyond noting that a missing path yields deleted:false, so the standard baseline of 3 for schema-carried params applies.

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 (Delete) and resource (render target asset) and explicitly positions itself against siblings: it names the generic delete_asset it is safer than and lists the typed sister tools. An agent can distinguish it from remove_render_target_2d_array or remove_render_target_cube without reading 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 Guidelines5/5

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

Explicit when-to-use guidance: use this over delete_asset when you want the type-verified, render-target-specific deletion. It clarifies the precondition (target must actually be a UTextureRenderTarget2D) and routes to alternatives by type.

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