Skip to main content
Glama

svg_vectorize

AMNT SVG: turn an existing picture (PNG, JPEG or WebP: https URL, data: URI or base64) into a clean, editable SVG that keeps its shape and colours. Use this when you already have the image; to draw something new use svg_generate. Returns JSON with a link to the .svg, extra file links, size and a quality score (add include_svg: true for the markup). Price: $0.01; with "model": "amnt-vectorize-1.1" and "style": "logo" or "icon" a logo or icon comes back as tiny clean code ($0.08). Needs an AMNT API key; paid from Balance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNocutout = no overlapping shapes, for Figma and cutting machines.
imageYesThe picture to convert: an https URL, a data: URI or raw base64 (PNG, JPEG or WebP).
modelNoThe AMNT model. Leave it out for AMNT Draw 1.2, the default. amnt-auto (AMNT Auto, $0.03): Picks the best AMNT model for each request. · amnt-svg-lite-1.1 (AMNT SVG Lite 1.1, $0.01): Simple icons, charts, patterns and flat backgrounds. Fastest and cheapest. · amnt-svg-1.1 (AMNT SVG 1.1, $0.03): Icons, logos, lettering, NFT bases and traits, as tiny clean SVG code. · amnt-svg-pro-1.1 (AMNT SVG Pro 1.1, $0.25): Characters, mascots and detailed art. The best NFT bases. · amnt-trace-1.2 (AMNT Draw 1.2, $0.05): Icons, logos, pixel art and illustrations with a few true colours. · amnt-vectorize-1.1 (AMNT Vectorize 1.1, $0.08): Turn your picture into a clean SVG. Logos and icons come back as tiny clean code. · amnt-animate-1.1 (AMNT Animate 1.1, $0.05): One prompt, a moving SVG. Every moving part is its own named group. Hand-drawn or flat.
styleNoWhat the picture is. logo and icon give the cleanest result (and with amnt-vectorize-1.1, a redraw as code).
colorsNoCap the number of colours.
detailNolow = bold and simple, medium = clean (default), high = closest to the picture.
layersNoobjects = each thing (hat, face...) as its own named, movable group, drawn whole underneath. +$0.02.
formatsNoExtra files: png, pdf, eps, dxf (cutting machines), icons (favicon pack zip), small.
objectsNoName the objects to separate, if you know them.
paletteNoSnap every colour to these (brand colours).
backgroundNotransparent removes a plain backdrop with no white ring.
include_svgNoPut the SVG markup in the reply. Off by default: traces are large.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / image / description
      Previous value: -"An https URL, a data: URI or base64."New value: +"The picture to convert: an https URL, a data: URI or raw base64 (PNG, JPEG or WebP)."
    • changedInput schema / properties / model / description
      Previous value: -"The AMNT model. Leave it out for the classic drawn-then-traced SVG. amnt-auto (AMNT Auto, $0.03): Picks the best AMNT model for each request. · amnt-svg-lite-1.1 (AMNT SVG Lite 1.1, $0.01): Simple icons, charts, patterns and flat backgrounds. Fastest and cheapest. · amnt-svg-1.1 (AMNT SVG 1.1, $0.03): Icons, logos, lettering, NFT bases and traits, as tiny clean SVG code. · amnt-svg-pro-1.1 (AMNT SVG Pro 1.1, $0.25): Characters, mascots and detailed art. The best NFT bases. · amnt-trace-1.2 (AMNT Draw 1.2, $0.05): Drawn by AMNT Image, then traced clean: icons, logos, pixel art and illustrations with a few true colours. · amnt-vectorize-1.1 (AMNT Vectorize 1.1, $0.08): Turn your picture into SVG: logos and icons redrawn as clean code, the rest traced. · amnt-animate-1.1 (AMNT Animate 1.1, $0.05): One prompt, a moving SVG: the parts that should move are drawn apart, named and animated. Hand-drawn or flat."New value: +"The AMNT model. Leave it out for AMNT Draw 1.2, the default. amnt-auto (AMNT Auto, $0.03): Picks the best AMNT model for each request. · amnt-svg-lite-1.1 (AMNT SVG Lite 1.1, $0.01): Simple icons, charts, patterns and flat backgrounds. Fastest and cheapest. · amnt-svg-1.1 (AMNT SVG 1.1, $0.03): Icons, logos, lettering, NFT bases and traits, as tiny clean SVG code. · amnt-svg-pro-1.1 (AMNT SVG Pro 1.1, $0.25): Characters, mascots and detailed art. The best NFT bases. · amnt-trace-1.2 (AMNT Draw 1.2, $0.05): Icons, logos, pixel art and illustrations with a few true colours. · amnt-vectorize-1.1 (AMNT Vectorize 1.1, $0.08): Turn your picture into a clean SVG. Logos and icons come back as tiny clean code. · amnt-animate-1.1 (AMNT Animate 1.1, $0.05): One prompt, a moving SVG. Every moving part is its own named group. Hand-drawn or flat."
    • addedInput schema / properties / style
      Added value: +{
      +  "description": "What the picture is. logo and icon give the cleanest result (and with amnt-vectorize-1.1, a redraw as code).",
      +  "enum": [
      +    "auto",
      +    "none",
      +    "flat",
      +    "icon",
      +    "logo",
      +    "illustration",
      +    "pixel",
      +    "hand-drawn",
      +    "cartoon",
      +    "kawaii",
      +    "line-art",
      +    "sticker",
      +    "duotone"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the auth requirement (AMNT API key, paid from Balance), concrete pricing per mode/style/model, the return shape (JSON with .svg link, extra file links, size, quality score), and a caveat (traces are large, hence include_svg is off by default).

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 the core purpose and the sibling routing, then adds return format and pricing. Efficient overall, though the pricing/quality details near the end partially repeat what the model enum already lists.

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 a 12-parameter tool with no output schema, the description fills the key gaps: it explains the return payload, the include_svg opt-in for markup, the auth/cost model, and routes correctly against svg_generate. Nothing an agent needs to invoke it correctly is missing.

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%, so the schema already documents all 12 parameters including model pricing and style/model interactions that the description restates. The description's added meaning (image input forms, the model+style cheap-logo combo) is marginal and largely duplicates enum descriptions.

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+resource ('turn an existing picture ... into a clean, editable SVG') and explicitly distinguishes itself from the sibling svg_generate ('to draw something new use svg_generate'). An agent can route between the two without opening either schema.

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 names the condition that selects this tool ('when you already have the image') and the alternative that selects the sibling ('draw something new'). Accepted input forms (https URL, data: URI, base64) are also stated up front.

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