Skip to main content
Glama

add_landscape_spline_control_point

Adds a control point to a landscape spline so you can start laying a road, riverbed, or path across terrain; use landscape-local coordinates for correct placement.

Instructions

Add a control point to a landscape's spline component -- the first half of laying a road, river bed or path across the terrain (connect consecutive points with add_landscape_spline_segment). Coordinates are LANDSCAPE-LOCAL, not world: subtract the landscape's location (get_landscape_info) before passing them, or the point lands somewhere else entirely. width is a HALF-width. The reply's control_point_index is what the segment and edit tools address.

Returns: { landscape_name: string, control_point_index: int, control_point_count: int, width: number, added: bool, location: [number] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widthNoHalf-width at this point, default 128
locationNo[x, y, z] in landscape-local space, default [0,0,0]
landscape_nameNoOptional landscape actor name, defaults to first found

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the safety profile is already covered. The description adds important behavioral context beyond those hints: coordinates are landscape-local rather than world, the width value is a half-width, and the response's control_point_index is what downstream edit tools use. It stops short of describing prerequisites such as whether a spline component must already exist, but it clearly flags the coordinate-space pitfall.

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?

Front-loaded with the core action, then quickly covers sequencing, coordinate-space warning, width semantics, and return usage. Every sentence earns its place, and the explicit returns block is useful because no output schema is provided. It could be slightly tighter, but the information density is high and well organized.

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?

For a 3-parameter mutation tool with a fully covered input schema and no output schema, the description is largely complete: it explains placement semantics, the half-width meaning, and the index needed by later segment/edit tools. It omits prerequisites like whether a spline component must already exist, but otherwise gives an agent enough to call the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds meaningful operational semantics for location: it stresses landscape-local coordinates and tells the agent to subtract the landscape's location, preventing a common failure. It also clarifies that width is a half-width, though the schema already states this, so the value over baseline comes mainly from the coordinate guidance.

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 and resource: 'Add a control point to a landscape's spline component'. It distinguishes the tool from siblings by framing it as the first half of laying a road/river/path and naming the follow-up tool, add_landscape_spline_segment. An agent can tell what this does without opening any 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?

Explains when and how to use it: to start a road/river/path across terrain, with consecutive points connected by add_landscape_spline_segment. It also warns about a critical prerequisite – subtract the landscape's location using get_landscape_info before passing coordinates – which is exactly the kind of guidance that prevents silent placement errors.

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