Skip to main content
Glama

Edit tileset

editTileset

Change a whole tileset with one sentence: its look (cover the ground in snow, at sunset, another art style) or its boundary (replace the curb with a hedge). The set is one you made with createTileset or in the Ludo web app, given by its atlas_url; any other URL is rejected with HTTP 404 before credits are held. The result is a new tileset of the same grid and kind whose 16 tiles fit together the same way, so it drops into a map painted with the original; the original is kept. save_normals adds a normal map of the new atlas. The job result has the same shape as createTileset's. Credits are held when the job is accepted and refunded if it fails or is cancelled. Pass an optional request_id to tag the result so you can retrieve it later via listGenerations (type tileset). Async generation job: returns {id, status} - poll getApiJob (job and credit contract: see the server instructions).

Credits: This endpoint consumes 1 credits per call.

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

Input Schema

NameRequiredDescriptionDefault
requestBodyYesPayload for editing a whole tileset

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the original tileset is preserved, the output is a new 16-tile set on the same grid that drops into existing maps, credits are held on acceptance and refunded on failure/cancellation, and the job returns {id, status} for polling. The non-destructive framing is consistent with destructiveHint=false, and the request_id dedupe nuance is disclosed rather than left to inference.

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 opening sentence front-loads the what and the two edit modes, and the remaining sentences carry distinct operational facts (input provenance, output shape, credits, async polling). It is dense rather than padded, though the credit/job-contract material at the tail could be trimmed since the description itself says to consult the server instructions.

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 single-object nested-parameter async mutation with no output schema, the description covers input provenance, output shape, aliasing to createTileset's result, credit handling, and the polling path. An agent has everything needed to call it and follow up correctly.

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

Parameters3/5

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

Schema description coverage is 100%, so prompt, atlas_url, request_id, and save_normals are already documented in structured data. The description reinforces save_normals (adds a normal map of the new atlas) and the atlas_url provenance rule with the 404 consequence, but adds no format or syntax detail the schema lacks, so this sits at the baseline.

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 and resource (change a whole tileset) plus the two axes of change (look vs. boundary) with concrete examples. It also distinguishes the scope from siblings by tying the input to sets made with createTileset or the web app, so an agent can tell this is whole-set editing rather than tile-level editing.

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 clear preconditions — the atlas_url must come from createTileset, editTileset, or the Ludo app, and foreign URLs fail with 404 before credits are held — and points to getApiJob for polling and listGenerations for retrieval. It stops short of explicitly contrasting with near alternatives such as editImage or createTile, so the routing signal is good but not complete.

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.