Skip to main content
Glama

place_actor_on_terrain

Place an actor on landscape terrain by sampling the heightmap at its XY, then set its Z so the mesh bottom or origin sits at ground height plus an optional offset.

Instructions

Ground an actor on the landscape by sampling the heightmap at its XY (no line trace; traces miss the landscape headless). Sets the actor's Z so either its mesh bbox bottom or its origin sits at the sampled height + z_offset.

Returns: { actor: actor JSON, landed_z: number (sampled ground world-Z), previous_z: number, new_z: number, sampled_from: 'heightmap', in_bounds: bool, align: string, align_used: string, z_offset: number, landscape_actor_name: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
alignNoOptional 'mesh_bbox_bottom' (default; drops the lowest mesh-geometry point onto the ground) or 'actor_origin' (puts the actor origin at the ground)
z_offsetNoOptional extra world-Z added above the sampled ground height; defaults to 0
actor_nameYesInternal name of the actor to place (Actor->GetName())

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare a mutation (readOnlyHint=false) with no idempotency, and the description is consistent with that. It adds real value beyond the annotations by explaining the sampling mechanism, why traces are avoided, and exactly what gets mutated (the actor's Z, relative to either mesh bbox bottom or origin plus z_offset). It could still say more about failure modes (e.g., actor not found, out-of-bounds behavior) despite exposing in_bounds.

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 lead with the purpose and the key constraint (no line trace) before the parameter details. The trailing returns block is verbose, but since no output schema exists it earns its place by documenting the response shape.

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?

With no output schema, the description compensates by listing the full return shape, and with 100% schema coverage plus annotations the safety profile is covered. It is nearly complete for a single-actor mutation; only error/failure behavior is left implicit.

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 actor_name, align (with enum values), and z_offset. The description restates the align semantics rather than adding new meaning, so the 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 gives a specific verb+resource ('Ground an actor on the landscape') and even the mechanism (heightmap sampling at the actor's XY, no line trace). It is clear what the tool does, but it never names or contrasts with siblings like snap_actor_to_ground or batch_place_actors_on_terrain, so it stops short of full sibling differentiation.

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?

The parenthetical 'no line trace; traces miss the landscape headless' implies when this approach is needed (headless/no-trace contexts), which is useful implied guidance. However, it never states when to prefer this over alternatives such as snap_actor_to_ground or batch_place_actors_on_terrain, and gives no prerequisites or exclusions.

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