Skip to main content
Glama

set_skeletal_mesh_section_cast_shadow

DestructiveIdempotent

Set the cast shadow flag on a specific skeletal mesh LOD section to enable or disable shadow casting for that section.

Instructions

Set the cast shadow flag on a specific section of a skeletal mesh LOD.

Returns: { lod_index: int, section_index: int, cast_shadow: bool, saved: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lod_indexNoLOD index containing the section (default 0)
cast_shadowNoNew value for the flag (default true)
section_indexNoIndex of the section to modify (default 0)
skeletal_mesh_pathYesContent path to the skeletal mesh asset

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=true, so the mutation/safety profile is covered. The description adds value by disclosing the return shape, notably a 'saved' boolean, which implies the change is persisted to the asset. However, it does not disclose permissions needed, reversibility, or what happens to other section settings.

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 tight sentences: action first, then the return contract. No filler. The return line earns its place because there is no output schema to document it otherwise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple flag-setter with full schema coverage and safety annotations, the essentials are present and the return is documented. But usage conditions, prerequisites, and error behavior are absent, leaving gaps for a destructive mutation tool.

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 fully documents all four parameters including defaults (lod_index=0, section_index=0, cast_shadow=true). The description adds no parameter meaning beyond the schema, which is the expected baseline when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Set), target property (cast shadow flag), and precise resource (specific section of a skeletal mesh LOD). An agent can tell it apart from the sibling section-level tools by name, but the description never explicitly contrasts with alternatives like set_skeletal_mesh_section_recompute_tangent or set_skeletal_mesh_section_visible_in_ray_tracing.

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?

No when-to-use guidance, no prerequisites (e.g., whether an LOD must already exist), and no mention of alternatives. The reader must infer all usage context.

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