Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Spirelight. If you published it, claim ownership there.

Add object

add_object

Add a terrain, lattice (mirrored rock), ground plane, water plane, primitive shape, random stone or light. Returns the new object's id. Only one ground and one water plane exist; adding them again un-hides them.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "add_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
nameNo
lightNoLight settings (lights only).
scaleNoSize [x, y, z]. Primitives are 2 units across at scale 1; terrains use their scale as width/height/depth.
hiddenNo
materialNoA material preset name (see list_presets), e.g. "Chrome", "Glass", "Red rock".
positionNoWorld position [x, y, z]. Y is up; the default camera looks toward -Z from [0, 9, 44].
rotationNoRotation as Euler angles in degrees [x, y, z].
light_typeNoLights only. "parallel" is a sun-like light.
terrain_seedNoTerrains and lattices only: a new seed gives a new landscape.
terrain_styleNoTerrains and lattices only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, non-destructive, closed-world mutation, and the description adds genuinely non-obvious state behavior: it returns the new object's id, and re-adding ground/water un-hides the existing one instead of creating a second. It does not say where an object lands by default or whether the new object becomes selected.

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?

Two compact sentences: the creation verb and object families come first, the return value and singleton-plane caveat follow. No filler or redundant restatement of the title.

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 an 11-parameter tool with a nested light object and no output schema, the description covers what it creates, what it returns, and the ground/water edge case, while the schema fills in geometry conventions. Missing only default placement/selection behavior, which is a minor gap at this schema richness.

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 coverage is 73% with rich per-field descriptions (position/rotation/scale conventions, light sub-fields, terrain seed/style, material presets via list_presets), so the schema carries the semantics. The description only restates the kind families already listed in the enum and adds no format or default guidance beyond that.

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 ('Add') and enumerates the exact resource families it creates (terrain, lattice, ground/water plane, primitives, stone, light), which lets an agent distinguish it from update_object, combine_objects, and delete_objects without opening a schema.

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?

Usage is implied by the verb and by the caveat that ground/water planes are singletons that get un-hidden rather than duplicated. There is no explicit when-to-use versus update_object/combine_objects routing or statement of prerequisites, so an agent must infer the boundary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources