Skip to main content
Glama

unmake file tools

Photo to lithophane or relief STL

lithophane
Read-onlyIdempotent

Photo to lithophane or relief STL. Turns a photo into a printable lithophane (flat or curved; dark areas thick so the photo shows when lit from behind) or a relief (height from AI depth or brightness) as a closed STL checked by the program, plus the height or depth map as PNG. Use when: Someone wants a lithophane, a relief or a depth map from a JPG/PNG/WebP photo. Not for: 3D scanning; exact depth measurement (AI depth is relative); colour prints. File types: jpg, jpeg, png, webp. Max 30 MB.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lithophane"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNoTool options, if any (see the tool description).
file_urlNoPublic https URL of the file (preferred).
filenameNoFile name with its extension, e.g. part.step.
file_base64NoThe file as base64, for small files without a URL (give filename too).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld and non-destructive, so the bar is lower, yet the description still adds real behavioral detail: the STL is closed and validated by the program, a secondary PNG artifact is produced, accepted file types are listed, and a 30 MB size limit is stated. That is context an agent could not infer from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded one-line purpose followed by labeled blocks (Use when / Not for / File types / Max). Every clause carries information; even the parenthetical about dark areas being thick earns its place by explaining the output.

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?

With no output schema, the description correctly describes deliverables (closed STL plus PNG height/depth map) and constraints. The only residual gap is the nested `options` object, whose valid keys are never enumerated, so an agent must guess how to request curved vs flat or select the depth source.

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 file_url/filename/file_base64 parameters simply need no further explanation; the baseline of 3 applies. The description does add meaning for the otherwise opaque nested `options` parameter by naming the meaningful variants (flat vs curved, relief height from AI depth vs brightness), though it does not enumerate option keys.

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 concrete verb and resources (photo -> lithophane or relief STL, plus height/depth map PNG) and explains the physical principle (dark areas thick so the photo shows when backlit). It clearly separates itself from siblings like photo_to_dxf, photo_measure and measure3d by naming non-goals (3D scanning, exact depth measurement, colour prints).

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 'Use when' trigger (someone wants a lithophane, relief or depth map from a JPG/PNG/WebP) and an explicit 'Not for' exclusion list with reasons (AI depth is relative). An agent can decide go/no-go without reading the schema.

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.

Resources