Skip to main content
Glama

create_static_texture_from_render_target

Destructive

Bakes an Unreal Engine render target into a saved static texture asset, deleting and rebuilding it deterministically on each run.

Instructions

Bakes a UTexture2D from an existing UTextureRenderTarget2D (editor only). Wraps UKismetRenderingLibrary::RenderTargetCreateStaticTexture2DEditorOnly and saves the resulting static texture to disk. Re-running deletes and rebuilds the asset deterministically. render_target_path accepts either short "/Game/MyGame/RT_Example" or fully-qualified "...RT_Example.RT_Example" asset paths.

Returns: { texture_name: string, asset_path: string, render_target_path: string, created: bool, saved: bool, width: int, height: int, format: string, save_error?: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the static texture asset to create
package_pathNoContent folder; defaults to /Game/Textures
render_target_pathYesAsset path of the source render target (e.g. "/Game/MyGame/RT_Example" or fully-qualified "...RT_Example.RT_Example")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, the description adds meaningful behavioral context: it saves the texture to disk and states that re-running deletes and rebuilds the asset deterministically. It also documents the return shape, including the optional save_error, but does not discuss permissions, failure modes beyond save_error, or side effects on existing references.

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 front-loaded with the core operation and stays reasonably compact. One sentence largely duplicates schema-level path-format details, and the wrapper API reference is somewhat internal, so a small amount of material does not fully earn its place.

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?

Given the lack of an output schema, the description compensates by spelling out the returned fields, including width, height, format, and save_error. Combined with editor-only scoping and re-run behavior, it gives enough context for an agent to call and interpret this mutation tool correctly.

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 all three parameters. The description restates the accepted render_target_path formats, but that information is already present in the schema, so it adds little beyond the baseline.

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?

The description states a precise verb and resource: it bakes a UTexture2D from an existing UTextureRenderTarget2D, and explicitly limits the operation to editor-only. The source-based framing distinguishes it from siblings such as create_texture_2d_from_data or create_render_target_2d without needing to 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 editor-only constraint gives one useful when/when-not condition, but the description never names alternatives such as export_render_target or create_texture_2d_from_data or explains which sibling to choose for a given asset workflow. Usage is therefore implied by the purpose statement rather than explicitly guided.

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