Skip to main content
Glama

add_spline_mesh_component

Add a spline mesh component to a Blueprint to deform a static mesh between two points, creating curved pipes, rails, and fences.

Instructions

Add a Spline Mesh component to deform a Static Mesh along a two-point spline.

From Ch. 19: The Spline Mesh component deforms a Static Mesh between two control points. Use SetStartAndEnd in the Construction Script to define the shape. Perfect for creating curved pipes, rails, fences, etc.

Args: blueprint_name: Blueprint to add the component to component_name: Component name static_mesh_path: Static Mesh asset to deform start_pos: Start point world position end_pos: End point world position

KB: see knowledge_base/10_WORLD_BUILDING.md#overview Example: add_spline_mesh_component(blueprint_name="/Game/MCP_Test/BP_Example")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_posNo
start_posNo
blueprint_nameYes
component_nameNoSplineMesh
static_mesh_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description bears full responsibility for behavioral disclosure. It hints at how the component deforms a mesh but does not disclose side effects (persistent blueprint modification, need to save/compile), preconditions (valid blueprint, valid mesh path), or how start/end positions are actually applied (whether the tool wires SetStartAndEnd itself).

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 purpose is front-loaded, followed by a compact args list, a KB reference, and a concrete example. The 'From Ch. 19' aside is mild noise, but overall the structure is readable and every major section earns its place.

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?

The description includes enough to make a basic call (example, args, KB link), but it leaves ambiguity about whether the tool automatically wires SetStartAndEnd in the Construction Script or expects the user to do it. It also doesn't mention validations, coordinate system, or what happens with the default empty static_mesh_path. For a 5-parameter mutation tool with no annotations, more is needed.

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 0%, so the description must compensate. It provides one-line meanings for all five parameters, e.g., 'Static Mesh asset to deform' and 'Start point world position', adding clarity beyond raw names. However, 'Component name: Component name' is tautological, and coordinate space/format details are left implicit.

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 opens with a specific verb and resource: 'Add a Spline Mesh component to deform a Static Mesh along a two-point spline.' This clearly distinguishes it from generic spline components or instanced mesh tools, though it doesn't name sibling tools explicitly.

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?

It gives practical usage context—'Use SetStartAndEnd in the Construction Script' and 'Perfect for creating curved pipes, rails, fences, etc.'—but does not explicitly say when to avoid this tool or prefer add_spline_component for multi-point paths. The guidance is implied, not stated as an alternative.

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