Skip to main content
Glama

Convert a logo to SVG

vectorize
Idempotent

Convert a logo image (PNG, JPEG, WEBP, GIF or BMP, up to 5 MB) to a clean vector. Uses 1 credit per new image; the same image with the same options again within 24 hours is free; a refused or failed conversion is free. Give exactly one of image_url, upload_id or image (a file attached in ChatGPT). Returns a download link (valid 60 minutes) and the node, path and color counts.

Input Schema

NameRequiredDescriptionDefault
imageNoA file the user attached in ChatGPT (filled in by ChatGPT).
scaleNoPNG only: size relative to the image (long side at most 4096 px).
widthNoPNG only: width in pixels.
formatNoOutput format (default svg). PNG is rendered from the vector.
paletteNoBrand colors, comma-separated hex (e.g. 141155,03517b,ffffff): every color snaps to the nearest.
file_nameNoName for the downloaded file, without extension.
image_urlNoPublic http(s) URL of the image.
upload_idNoFrom create_upload, after the file was uploaded.
backgroundNoauto (default: a fake checkerboard is removed, a solid background kept), keep, remove (transparent), or a hex color like ffffff.
max_colorsNoMerge the palette down to at most this many flat colors.
include_svgNoAlso return the SVG text (only when it is at most 32 KB).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the credit cost model, the 24-hour free-repeat window, that failed/refused conversions are free, and the 60-minute lifetime of the download link. This is the kind of billing, idempotency and expiry context an agent could not infer from readOnlyHint/destructiveHint alone.

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?

Three dense sentences with no filler: what it does and input limits first, then cost, then the input-source rule and return value. Every clause carries information an agent needs to call it correctly.

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, nested-object tool with no output schema, the description covers the input source constraint, the pricing/idempotency model, and the shape of the return (download link plus node/path/color counts). Little an agent needs before calling is missing.

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 baseline is 3, but the description adds a constraint the schema does not enforce: exactly one of the three input sources. That adds real meaning over the structured fields, though the remaining options (scale, width, palette, background, max_colors) are left entirely to the schema.

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 a logo image ... to a clean vector') and immediately enumerates supported input formats and size limit. It is clearly distinguishable from the siblings create_upload and upload_logo, which handle getting a file in rather than vectorizing it.

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 mutual-exclusion rule ('Give exactly one of image_url, upload_id or image') is explicit and actionable, and it links upload_id back to create_upload. It stops short of saying when to prefer this tool over upload_logo or when vectorization is inappropriate for a given image, so it falls below a full 5.

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