Skip to main content
Glama
PengLx
by PengLx

Render a visual map diff

tiled_render_diff
Read-onlyIdempotent

Renders the same region of two maps, compares them pixel by pixel, and highlights differences with solid red over a faded copy of the first render, with tile-cell granularity for aggregate results.

Instructions

Renders the same bounded region of two maps through the native preview and compares them pixel by pixel: differing pixels paint solid red over a faded copy of the first render, matching pixels keep the first render at reduced opacity, and differences also aggregate to tile-cell granularity (bounded sample). Both renders must agree on pixel size; layer selections may differ per side, so the same map can be diffed against itself with different layers visible. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scaleNo
regionYes
mapPathAYesCanonical project-relative POSIX path; absolute paths and .. are forbidden
mapPathBYesCanonical project-relative POSIX path; absolute paths and .. are forbidden
layerIdsANo
layerIdsBNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description adds significant behavioral details beyond annotations: it explains the visual output format (differing pixels red, matching faded, tile-cell aggregation), the requirement for matching pixel sizes, and the ability to compare with different layer selections. The 'Read-only' tag reinforces the annotations.

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 description is four sentences and front-loads the main purpose. It is relatively concise with no obvious filler, though the first sentence is somewhat long.

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

Completeness4/5

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

Given the tool has a good output schema and annotations covering safety, the description provides enough behavioral context (visual output, constraints) for an agent to use the tool. It lacks parameter details but is adequate overall.

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 only 33% (mapPathA and mapPathB have descriptions). The tool description does not add specific meaning for parameters like region, scale, or layerIdsA/B, which are left without explanation. With low schema coverage, the description should compensate but fails to do so.

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 clearly states it renders a visual diff of two maps, comparing them pixel by pixel. It specifies the diff representation (red for differing, faded for matching) and distinguishes itself from sibling render tools like tiled_render_preview by being specifically for comparison.

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?

The description gives context on when to use (comparing two maps or same map with different layers) and a constraint (pixel size agreement). However, it does not explicitly state when not to use or compare to alternatives like tiled_render_preview.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PengLx/TiledMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server