Skip to main content
Glama

terrain_preview

Renders a chosen terrain from a file as a grayscale height map beside a lit relief view, so you can preview its shape and shading.

Instructions

Show one terrain from a file: height as gray (left) and lit relief (right).

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": {
      "path": "<path>"
    },
    "name": "terrain_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.16.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the dual-panel rendering (height and lit relief) and implies a read-only preview, but it omits accepted file types, whether any state is modified, what index controls, and any permission or error behavior.

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 efficient sentence with no filler, and the core action is front-loaded. It could be slightly better structured to separate the action from the rendering detail, but it wastes little space.

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 tool with two parameters, zero schema description coverage, no annotations, and no output schema, the description is missing key calling information: what file types are accepted, what 'index' means, and whether the operation has any side effects. It explains the visual result but not enough to invoke the tool correctly.

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 description coverage is 0%, so the description must compensate. It only implies the 'path' parameter through 'from a file' and says nothing about file formats; the 'index' parameter and its default of 0 are entirely unmentioned.

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?

States a specific verb 'Show' and resource 'one terrain from a file,' and describes the rendered output as height in gray on the left and lit relief on the right. It is clear what the tool does, though it does not differentiate itself from siblings like br3_terrain_picture or terrain_list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

Provides no explicit guidance on when to use this tool versus alternatives such as br3_terrain_picture, terrain_list, or terrain_edit. The word 'preview' in the name implies a use case, but the description itself leaves selection to inference.

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