Skip to main content
Glama

place_pattern

Draws tiled floor or pattern shapes—such as wood, tile, or brick—below objects using a rectangle or polygon, with an asset, category, color, and rotation.

Instructions

Place a tiled floor/pattern shape (the Building Tool's "Floor" / Pattern Shape).

Draws an actual tiled floor (wood planks, tile, brick, ...) that renders
BELOW objects, distinct from terrain. Provide ONE of:
  rect: [x, y, w, h] axis-aligned rectangle, or
  points: [[x,y], ...] a polygon (>= 3 points), all in woxels.
asset: a pattern asset path from list_assets(category=...).
category: which asset bank — 'Patterns', 'Patterns Colorable', 'Materials',
  'Simple Tiles', or 'Smart Tiles'.
color: '#rrggbb' tint. Omit it and a greyscale texture, or one drawn as a
  red colour mask (tileset_diamond, _ornate, _wood_damaged), gets a
  neutral brown, while one with its own colours (marble, painted tile) is
  left untinted; the reply's texture_greyscale and texture_red_mask say
  which.
rotation: pattern rotation in degrees.
z: persistent layer VALUE, a multiple of 100 from -500 to 900.
  Default -100 sits below objects. Arbitrary z offsets cannot survive saving.

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": {
      "asset": "<asset>"
    },
    "name": "place_pattern"
  }
}

Input Schema

NameRequiredDescriptionDefault
zNo
rectNo
assetYes
colorNo
pointsNo
categoryNoPatterns
rotationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses layering behavior (draws below objects), a persistence constraint (arbitrary z offsets cannot survive saving; z must be a multiple of 100 in -100..900), and non-obvious tinting fallbacks for greyscale vs red-mask vs self-coloured assets. These are traits an agent could not derive from the schema.

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 identity and layer note, then a structured per-parameter list where each line maps to a decision the caller must make. It is longer than average and the parenthetical texture examples plus the z-wrapping line add bulk, but almost nothing is redundant.

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?

For a 7-parameter creation tool with no annotations and no output schema, the description covers shape input, asset sourcing, category banks, colour fallback, rotation, layer persistence, and even names reply fields (texture_greyscale, texture_red_mask). Nothing an agent needs to place a pattern correctly is absent.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate and it does for every parameter: rect as [x,y,w,h], points as a >=3-point polygon in woxels, the enumerated category values, '#rrggbb' color semantics, rotation in degrees, and z's value constraints. It adds meaning well beyond the bare typed fields.

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 ("Place a tiled floor/pattern shape") and anchors it to the Building Tool's "Floor" / Pattern Shape concept. It explicitly distinguishes the result from siblings' domains: it renders BELOW objects and is "distinct from terrain", which separates it from place_object and fill_terrain 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives operative context: supply exactly ONE of rect or points, and obtain the asset via list_assets(category=...), naming the valid category banks. What's missing is an explicit statement of when NOT to use it (e.g. versus add_floor for storeys or fill_terrain for ground), so the agent must infer the boundary from "distinct from terrain".

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