Skip to main content
Glama
keiver
by keiver

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CHROME_PATHNoPath to Chrome/Chromium binary/usr/bin/chromium
CHROME_NO_SANDBOXNoDisable Chrome sandbox (required in Docker without user namespaces)1
TILER_ALLOWED_DIRSNoComma-separated list of allowed directories for file operations

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
tilerA

Split images into optimally-sized tiles for LLM vision analysis, or capture web page screenshots and tile them.

MANDATORY two-phase workflow — DO NOT skip Phase 1:

Phase 1 (REQUIRED first): Provide ONLY the image source (filePath, sourceUrl, url, etc). DO NOT include preset, tileSize, or outputDir. Returns a model comparison table with token estimates and an outputDir. You MUST present this table to the user and ask which preset they prefer. DO NOT select a preset yourself — the user decides. If you must auto-select, always use the cheapest option.

Phase 2: Call again with the user's chosen preset + the outputDir from Phase 1. Re-include your original image source (filePath, sourceUrl, etc.). For captures, use screenshotPath from Phase 1 instead of url. Returns tile summary with metadata and content hints (no tile images). Use tilesDir + start/end to fetch only the tiles you need.

Stop after Phase 1 if you only need the screenshot (capture mode) or comparison data.

4 tiling presets available:

  • "claude": 1092px tiles, ~1590 tokens/tile

  • "openai": 768px tiles, ~765 tokens/tile

  • "gemini3": 1536px tiles, ~1120 tokens/tile

  • "gemini": 768px tiles, ~258 tokens/tile

Supports: local files (filePath), remote images (sourceUrl), data URLs, base64, and web page capture (url — Chrome required). Tiles saved as WebP (default) or PNG. Auto-downscales images over 10000px by default.

TOKEN COST NOTE: The get-tiles mode returns image tiles as inline base64, consuming significantly more tokens than typical text-only MCP tools. Each tile costs ~258-1590 tokens depending on preset. Use the Phase 2 summary and tile hints to fetch only non-blank, relevant tiles.

Prompts

Interactive templates invoked by user choice

NameDescription
tile-and-analyzeTile a local image and analyze every tile at full resolution
capture-and-analyzeCapture a web page screenshot via Chrome, tile it, and analyze each tile

Resources

Contextual data attached and managed by the client

NameDescription
model-configsSupported vision model presets with tile sizes and per-tile token estimates
usage-guideQuick reference: workflow, presets, and tips for the image tiler

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/keiver/image-tiler-mcp-server'

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