Skip to main content
Glama

remove_static_texture_from_render_target

DestructiveIdempotent

Deletes the baked static UTexture2D sibling asset created from a render target, verifying its type first so it never removes the render target itself and returns a safe result.

Instructions

Delete the static UTexture2D that create_static_texture_from_render_target baked out of a render target (it lives beside the render target as a sibling asset), verifying the target really is a UTexture2D first -- so it refuses to delete the RENDER TARGET itself, which is remove_render_target_2d's job. Safer than the generic delete_asset, which deletes whatever sits at that path; wrong type or missing path returns deleted:false with an explanatory note rather than raising, so it is idempotent.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asset_pathNoFull object/package path of the baked static texture; 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 destructive=true and idempotent=true, yet the description adds real operational context: it verifies the target is actually a UTexture2D before deleting, returns deleted:false with an explanatory note instead of raising on wrong type or missing path, and lists the exact return payload. This goes well beyond the safety profile the annotations already 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 verb and resource, and the Returns line is a compact, useful addition. The first sentence is long and densely packed with em-dash asides, but each clause (type verification, sibling-asset location, refusal behavior) earns its place, so the density is justified rather than wasteful.

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 single-parameter destructive tool whose schema and annotations are already rich, the description supplies the remaining pieces an agent needs: the type check, the non-raising error contract, and the return shape (no output schema exists, so this documentation of deleted/already_existed/note is genuinely needed).

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?

Only one parameter and schema coverage is 100%, with the schema itself noting a bare name is not resolved. The description alludes to the asset living beside the render target as a sibling but adds no format or resolution detail beyond the schema, so the baseline of 3 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 a precisely scoped resource (the static UTexture2D baked out by create_static_texture_from_render_target), and distinguishes itself from remove_render_target_2d and delete_asset by name. An agent can tell exactly which asset this targets and which sibling handles the nearby cases.

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?

Explicitly states when-not and alternatives: it refuses to delete the render target because that is remove_render_target_2d's job, and it is positioned as safer than the generic delete_asset which deletes whatever sits at a path. Both exclusion and preferred-alternative routing are stated, not implied.

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