Skip to main content
Glama

Create seamless map tile

createTile

Make a seamless base tile for a 2D map from a text description: the first step of a tileset. Choose the map's grid (square for top-down, diamond for 2:1 isometric, diamond-true for true isometric) and what to make with image_type: texture (the default) is a ground that repeats with no seams, one per terrain (grass, sand, cobblestones, water); sprite-tiling-horizontal and sprite-tiling-vertical are a strip of a line that repeats along it (a road, a river, a fence, a wall) on a transparent background, and scatter-pattern the separate elements a line is made of (rocks, bushes, flowers). The look comes from art_style or from a reference_image (URL or base64), which replaces the art style. The job result is an array of tiles, each with its url, the image type the tile came back with and the grid it was made for; request n (1-4) for more candidates. Pass a tile's url as tile_a or tile_b of createTileset on the same grid to build a 16-tile set from it. For a single seamless texture that is not for a tileset, use createImage with image_type texture instead. Credits are held when the job is accepted and refunded if it fails or is cancelled; the charge scales with the number of tiles produced. Pass an optional request_id to tag the results so you can retrieve them later via listGenerations (type tile). Async generation job: returns {id, status} - poll getApiJob (job and credit contract: see the server instructions).

Credits: This endpoint consumes 0.5 credits per result.

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": {
      "requestBody": "<requestBody>"
    },
    "name": "createTile"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestBodyYesPayload for making a seamless base tile

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, it discloses credit holding and refund behavior, scaling charges by tile count, async job behavior returning {id, status}, polling via getApiJob, and optional request_id tagging for later retrieval. The idempotentHint=false annotation is not contradicted: request_id deduplication is explicitly conditional, not a claim that all calls are idempotent.

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?

The purpose and key alternatives are front-loaded, and nearly every sentence carries operational information. It is dense as a single long paragraph and repeats some schema-level details, but the density is mostly justified by the tool's complexity.

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?

There is no output schema, but the description explains the job result array, each tile's URL and returned image type, the async {id, status} response, and polling. Combined with the sibling routing guidance, it gives an agent enough context to invoke and follow up correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents each parameter. The description still adds meaningful relationships and selection guidance beyond the schema, such as reference_image replacing art_style, n requesting more charged candidates, and how the returned tile URL feeds createTileset.

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?

The description opens with a specific verb and resource: "Make a seamless base tile for a 2D map from a text description." It immediately distinguishes this tool from createImage and createTileset, so an agent can route correctly without opening sibling schemas.

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?

It gives explicit alternatives: use createImage for a single seamless texture not intended for a tileset, and pass the resulting tile URL to createTileset to build a 16-tile set. It also explains how to choose image_type and grid, which is the core usage decision.

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.