Skip to main content
Glama

preview_assets

Preview up to 32 candidate assets as one ordered contact sheet before committing, so you can confirm what each asset actually looks like and compare relative sizes in a single image.

Instructions

LOOK at candidate assets before committing to one. Read-only.

Asset names are not reliable descriptions: `bench_01` is a stone bench, and
that is easy to miss until it is placed in a timber tavern.

Returns ONE contact sheet, so comparing N candidates costs one image. Cells are laid out
row-major **in the order you passed them**, so you already know which is
which — pass the candidates in a deliberate order.

Assets drawn on a BLUE-GREY ground are colourable: what you are seeing is
the unpainted red mask, not the asset's real colour. It will render in
whatever `color` you pass at placement, and flat red if you pass none.
Everything else sits on neutral grey and is showing its actual art.

Use this when CHOOSING a material family — the structural, supporting and
accent families a map commits to — not before every placement. A map uses
few distinct assets and repeats each many times, so the decisions worth
looking at are a handful per map.

A thumbnail on a plain ground will not tell you how something reads against
your floor under your lighting. It catches the gross mistake (stone where
you wanted wood); the map render still settles the subtle one.

assets: paths from list_assets or search_pack_contents, at most 32.
category must match them.
columns: 1-8. cell_px: 32-256, the size each asset is fitted into.
true_scale: draw every asset at ONE scale, set by the largest, so relative
  sizes show; `woxels_per_cell` says what a cell spans.

Returns the sheet and JSON: per asset, in order, `sizes` [w, h] woxels at
scale 1 and `drawn` [x, y, w, h], the opaque part (Objects only).

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": {
      "assets": "<assets>"
    },
    "name": "preview_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetsYes
cell_pxNo
columnsNo
categoryNoObjects
true_scaleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.9/5.0
Behavior5/5

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

No annotations exist, so the description carries the full load and does so: read-only, one image per N candidates, row-major ordering matching input order, blue-grey ground meaning unpainted colourable mask vs neutral grey meaning real art. It even specifies the return payload (sheet plus per-asset sizes and drawn rects).

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?

Purpose is front-loaded and most sentences carry unique information, but the text is long and unevenly broken across lines mid-sentence, and the material-family paragraph is more discursive than the rest. Slightly tighter grouping of the parameter notes would improve scanability.

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?

No output schema and no annotations, yet the description covers return format, ordering semantics, colour interpretation, parameter bounds, and the tool's limits. An agent could call this correctly and interpret the result without further information.

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 does: assets come from list_assets/search_pack_contents capped at 32, category must match them, columns 1-8, cell_px 32-256 as fitted cell size, and true_scale with the woxels_per_cell explanation of what a cell spans. Every one of the five parameters gains meaning absent from the schema.

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?

Opens with a specific verb and resource: 'LOOK at candidate assets before committing to one. Read-only', and immediately clarifies the output is a single contact sheet. It also implicitly separates itself from list_assets/search_pack_contents by naming them as the source of the paths it consumes.

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

Usage Guidelines5/5

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

Explicit when-to-use ('Use this when CHOOSING a material family') and explicit when-not ('not before every placement', with the rationale that maps repeat few assets). It also bounds the tool's value: it catches gross mistakes but not subtle lighting/floor interactions, so the agent knows when a render is still needed.

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