Skip to main content
Glama

apply_mesh_boolean_actor_to_actor

Destructive

Apply a CSG boolean (union, subtract, intersect) on a target DynamicMeshActor using another actor's live mesh as the tool, mutating the target in place; not idempotent.

Instructions

Apply a CSG boolean using a second DynamicMeshActor as the cutting tool. Unlike apply_mesh_boolean (which builds a transient primitive tool), the tool geometry is the live dynamic mesh of source_actor_name. The target mesh is mutated in place; the source mesh is left untouched. NOT idempotent: re-running keeps cutting/merging the same tool against the already-modified target. When the engine refuses the result (an empty one) the target is left unchanged, boolean_applied is false and the call fails.

Returns: { actor_name: string, source_actor_name: string, operation: string, triangle_count: int, triangle_count_before: int, vertex_count: int, boolean_applied: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationNoUnion, Subtract, or Intersect, default Subtract
actor_nameYesLabel or name of the target DynamicMeshActor (the receiver, mutated in place)
fill_holesNoOptional bool override for FGeometryScriptMeshBooleanOptions.bFillHoles (default true)
simplify_outputNoOptional bool override for FGeometryScriptMeshBooleanOptions.bSimplifyOutput (default true)
source_actor_nameYesLabel or name of the DynamicMeshActor whose live dynamic mesh is used as the boolean tool
use_world_transformsNoOptional bool, default true. When true the tool is positioned by the relative world transform (source relative to target) so the boolean respects the actors' placement; when false the tool is applied at identity (co-located).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructive=true, idempotent=false, readOnly=false. The description goes further: target is mutated in place, source is left untouched, the operation is NOT idempotent (re-running keeps cutting the already-modified target), and when the engine refuses an empty result the target is unchanged, boolean_applied is false, and the call fails. This is exactly the behavioral context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded purpose sentence, then the sibling differentiation, then behavioral caveats, then the return shape. Every sentence earns its place with no filler, and the mutation warning is not buried.

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?

No output schema exists, but the description supplies the full return shape inline (actor_name, source_actor_name, operation, triangle counts, vertex count, boolean_applied), plus the failure case. For a destructive mutation tool with rich annotations, this is complete enough for an agent to call it correctly and interpret the result.

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 six parameters in detail, including defaults for operation, use_world_transforms, fill_holes, and simplify_output. The description reinforces the role of source_actor_name and actor_name but adds no syntax or format meaning beyond the schema. Baseline 3 is appropriate 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.

Purpose5/5

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

States a specific verb+resource: 'Apply a CSG boolean using a second DynamicMeshActor as the cutting tool.' It then explicitly contrasts itself with the sibling apply_mesh_boolean, stating that this variant uses a live dynamic mesh rather than a transient primitive tool, so an agent can distinguish the two without opening either schema.

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 names the alternative (apply_mesh_boolean) and the condition that selects this tool ('the tool geometry is the live dynamic mesh of source_actor_name'), and adds the non-idempotency caveat plus failure semantics. Nothing about when to reach for this tool versus its sibling is left 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