Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

image_convert

Idempotent

Convert an image to PNG, JPEG, WebP, GIF, TIFF, BMP, ICO, or AVIF and return it in the selected target format.

Instructions

imagepeek: Convert an image to PNG, JPEG, WebP, GIF, TIFF, BMP, ICO or AVIF. To shrink the file use image_compress. Returns the image in the target format. auto_orient=false uses stored axes. ico_size can extract an exact square from an ICO as PNG (missing size: 422). JPEG/BMP flatten alpha onto background (default white). Reads PNG, JPEG, WebP, GIF, TIFF, BMP, ICO and AVIF; other formats and images over 40 megapixels are refused (not charged). Output: base64 data_base64. Re-encoding strips EXIF, GPS, XMP and IPTC. Over 15 MB or 50 megapixels is a 413 (not charged). Images are not logged; a result is kept only with output "url" (24 h). Typically 0.5-2 s. Price: USD 0.002. Free: 3 imagepeek calls per IP per UTC day. Docs: https://tanod.dev/learn/image-convert-api.html

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": {
      "to": "<to>"
    },
    "name": "image_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesTarget format.
urlNoPublic http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64.
outputNobase64 (default): inline. url: stored for 24 hours; link, metadata.base64
qualityNoQuality for lossy formats.
ico_sizeNoExact embedded square ICO size in pixels; requires to="png".
losslessNowebp only.
optimizeNopng only.
backgroundNoAlpha fill for jpeg/bmp (default white).
auto_orientNoApply EXIF orientation first.
progressiveNojpeg only.
image_base64NoThe image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url.

Output Schema

NameRequiredDescriptionDefault
urlNo
bytesNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
inputNo
notesNo
widthNo
formatNo
heightNo
sha256No
sourceNo
final_urlNo
operationNo
expires_atNo
source_urlNo
data_base64No
content_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) by disclosing that re-encoding strips EXIF/GPS/XMP/IPTC, that JPEG/BMP flatten alpha onto a default-white background, that images are not logged unless output="url" with 24 h retention, and the exact pricing, free-tier rate limit, latency and error codes (422, 413).

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?

Front-loads purpose and the image_compress routing before details, and every clause carries information (format support, limits, privacy, price). It is dense and telegraphic with several back-to-back fragments, which costs a little readability but not much space.

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 an 11-parameter tool this is essentially complete: input formats, output form (base64 data_base64), size/error ceilings, privacy handling, cost and timing are all covered, and an output schema exists so return shape needs no further explanation.

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 coverage is 100% and the schema already documents every parameter, including ico_size requiring to="png" and background defaulting to white. The description adds only marginal meaning, notably that auto_orient=false falls back to stored axes and that a missing ICO size yields a 422; with the schema carrying the load, baseline 3 is appropriate.

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 ('Convert an image') and enumerates the exact target formats (PNG, JPEG, WebP, GIF, TIFF, BMP, ICO, AVIF), immediately separating it from image_compress by framing this as format transformation rather than size reduction.

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?

Explicitly routes size-reduction work to the sibling: 'To shrink the file use image_compress.' It also gives the conditions where the tool refuses work (unsupported input formats, images over 40 megapixels, over 15 MB / 50 MP payloads), so an agent knows both when to call it and when not to.

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

Deploy Server

Other Tools