Skip to main content
Glama

get_mesh_uv_area

Read-onlyIdempotent

Compute the total UV-space area of all triangles in a static mesh's UV channel to check UV mapping scale and detect invalid or missing UVs.

Instructions

Compute the total UV-space area of all triangles in a static mesh's UV channel via UGeometryScriptLibrary_MeshQueryFunctions::GetMeshUVArea. bIsValidUVChannel is false if the mesh has no UVs in that channel.

Returns: { static_mesh_path, lod_index, uv_channel, uv_area, is_valid_uv_channel }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lod_indexNoOptional LOD index to query (default 0)
uv_channelNoUV channel index (default 0)
static_mesh_pathYesContent path to the UStaticMesh asset

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds one genuine behavioral nuance (is_valid_uv_channel is false when the channel has no UVs), but otherwise adds little beyond what the annotations and the naming provide.

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 tightly scoped sentences front-load the operation, and the return shape is appended compactly. The fully qualified engine symbol is mildly verbose but earns its place as provenance for the underlying query.

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?

With no output schema, the description correctly carries the return shape, listing all five result fields and explaining the validity flag, and the three inputs are fully described in the schema. It is complete enough to call correctly, though it never notes units or precision of the area value.

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%, and the schema documents lod_index, uv_channel, and static_mesh_path with defaults. The description adds no parameter-level detail (formats, ranges, or channel-selection semantics) beyond the schema, so the baseline 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 (compute) and an unambiguous resource (total UV-space area of all triangles in a static mesh's UV channel). It is clearly distinguishable from sibling queries such as get_mesh_volume_area, get_num_uv_islands, or get_mesh_uv_channel_count, so an agent can route to it without opening the schema.

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 statement of when to use this tool, when not to, or which sibling to prefer for related UV diagnostics. The only conditional clause concerns the return flag, not invocation guidance, leaving usage entirely to inference.

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