Skip to main content
Glama

slice_procedural_mesh

Destructive

Split a procedural mesh along a defined plane to cut geometry in place; optionally spawn the removed half as a new component on the same actor.

Instructions

Slice a procedural mesh in place with a plane, optionally spawning the other half as a new PMC on the same actor. NOT idempotent: mutates the mesh destructively; re-running slices the already-sliced result.

Returns: { actor_label, sliced, total_sections, other_half_created, other_half_component_name?, other_half_sections? }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cap_optionNoOptional "NoCap" | "CreateNewSectionForCap" | "UseLastSectionForCap"; defaults to "NoCap"
actor_labelYesEditor label of the actor carrying the PMC
plane_normalNo[x,y,z] slice plane normal (must be non-zero); geometry on the positive side is kept
plane_positionNo[x,y,z] world-space point on the slice plane
component_indexNoOptional 0-based PMC index on the actor; defaults to 0
cap_material_pathNoOptional /Game path to a UMaterialInterface for the cap
create_other_halfNoOptional bool; if true, the sliced-off half is spawned as a new PMC on the same actor

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?

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is covered; the description adds value on top by spelling out the concrete consequence of a second call and by documenting the return payload, which is important because there is no output schema. It does not mention failure modes or permission requirements, hence not a 5.

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?

Three compact passages: the operation, the non-idempotency warning, then the return shape. The mutation caveat and the return contract are front-loaded where an agent will read them, and there is no filler. Slightly dense but every sentence earns 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?

For a 7-parameter destructive mesh tool with no output schema, the description supplies the missing return contract ({ actor_label, sliced, total_sections, other_half_created, ... }) and the non-idempotent mutation behavior, which together with schema-documented defaults and destructive annotations covers everything an agent needs to call it 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% across all 7 parameters (plane_normal, plane_position, cap_option enum-like values, component_index default, etc.), so the schema carries the semantics. The description only alludes to the plane and to create_other_half generically, adding no syntax or default detail beyond the schema; baseline 3 applies.

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?

The description names a specific verb and resource ('Slice a procedural mesh'), states the mechanism ('in place with a plane') and the scope of the mutation ('optionally spawning the other half as a new PMC on the same actor'). It is clearly distinguishable from destroy-style siblings, but it never names an alternative such as slice_fracture or plane_cut_fracture, so the sibling-differentiation bar for a 5 is not met.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives explicit when-not guidance: 'NOT idempotent: mutates the mesh destructively; re-running slices the already-sliced result', which tells the agent not to call it repeatedly on the same actor. It stops short of naming an alternative tool or stating prerequisites (e.g. a valid actor_label / non-zero normal), so it is clear context rather than full when/when-not/alternatives coverage.

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