Skip to main content
Glama

set_terrain_slot

Assign a Terrain asset to a terrain slot index so you can fill or paint areas of a Dungeondraft battle map with that slot's texture.

Instructions

Assign a Terrain asset to a terrain slot index so it can be filled/painted with that slot.

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": "set_terrain_slot"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotNo
assetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden of behavioral disclosure. It states the assignment but says nothing about whether an existing asset in that slot is replaced, whether the slot must already exist or be within a valid range, or whether the change persists across sessions. For a mutation tool with zero annotation coverage this is a real gap.

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?

A single tight sentence with the operation and its downstream purpose front-loaded. No filler, though the brevity is the same brevity that leaves behavioral details unstated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutating tool with no annotations and no output schema, the definition is thin: slot range, overwrite behavior, and asset identifier format are all absent. An agent could pick the tool but could easily invoke it with an invalid slot or malformed asset value.

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

Parameters2/5

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

Schema coverage is 0% and neither parameter has an enum or description. The description only implicitly clarifies that 'slot' is an index and 'asset' is a Terrain asset; it does not state the valid slot range, how the default of 0 behaves, or what form the asset string takes (name, path, id). It adds some meaning but does not compensate for the coverage gap.

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 verb 'Assign' and the resource 'Terrain asset to a terrain slot index' are specific, and the trailing clause 'so it can be filled/painted with that slot' distinguishes this setup step from siblings like fill_terrain and paint_terrain. It stops short of an explicit sibling call-out, but the operation is unmistakable.

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 only implied: the phrase 'so it can be filled/painted' suggests this is a prerequisite step that precedes fill_terrain or paint_terrain. There is no explicit when-to-use statement, no note on ordering relative to those siblings, and no exclusion of cases where it should not be called.

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