Skip to main content
Glama

clearly_vectorize

Trace one image into an editable SVG. Sources are a workspace image file, HTTPS image URL, completed upload or small data URI. PNG, JPEG and WebP are supported up to 8 MB. Each trace spends 0.3 workspace credits, using plan credits before top-ups. Insufficient credits incur no charge, failed traces are refunded and identical repeats are free. The result includes 24-hour links for the SVG and requested extra format, the library fileId and openUrl, and the shape count.

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": "clearly_vectorize"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoAn https image URL.
dataNoA small image as a data URI (data:image/png;base64,...).
fileNoA workspace image: its file id, exact name, or the storage path beehaven teleport printed (e.g. uploads/logo.png).
nameNoName for the result (default: the source file name).
colorsNoExactly this many colours, from the image’s own.
formatNoAlso render this format: svg (the default), png, pdf, eps or dxf. The SVG link is always returned.
inlineNoAlso return the SVG markup when it is under 200 KB.
presetNoThe tracer preset: logo, clipart (the default), lineart, centerline (single strokes), photo or cut (cut files).
uploadNoA local file name with its extension. Returns a one-time HTTPS PUT URL and an upload id.
pngWidthNoThe PNG’s width in pixels when format is png (default 2048).
uploadedNoThe id of a completed image upload.
projectIdNoFile the result into this project.

Output Schema

NameRequiredDescriptionDefault
okYes
codeNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / data / description
      Previous value: -"A small image as a data URI (data:image/png;base64,...). Prefer upload for anything but a tiny image."New value: +"A small image as a data URI (data:image/png;base64,...)."
    • changedInput schema / properties / upload / description
      Previous value: -"A LOCAL file name with its extension, e.g. logo.png. Answers a one-time upload URL and a curl line; run it, then call again with uploaded."New value: +"A local file name with its extension. Returns a one-time HTTPS PUT URL and an upload id."
    • changedInput schema / properties / uploaded / description
      Previous value: -"The id the upload step returned."New value: +"The id of a completed image upload."
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the coarse profile (not read-only, open-world, not destructive), while the description supplies genuinely non-obvious behavior: 0.3 credits per trace, plan credits consumed before top-ups, no charge on insufficient credits, refunds on failure, free identical repeats, and 24-hour expiry on result links. "Identical repeats are free" is a billing trait, not a contradiction of idempotentHint=false, since each repeat is still a separate invocation.

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?

Six sentences, none wasted, with the core action first and cost/side-effect details after. The pricing sentence is dense but every clause (credits, plan-vs-top-up, refunds, free repeats) carries distinct information an agent needs before spending credits.

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?

For a 12-parameter, zero-required tool with an output schema, the description covers source selection, format limits, cost, failure semantics and result lifetime. The remaining gap is that source-parameter mutual exclusivity is only implied by "Sources are..." rather than stated as a rule, and the upload handshake (upload -> uploaded) is left to the schema.

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 per-parameter text already does the heavy lifting. The description still adds value the schema does not state: that file/url/data/upload/uploaded are alternative source modes rather than combinable inputs, plus the result contents (fileId, openUrl, shape count) that map to the naming parameters.

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?

"Trace one image into an editable SVG" gives a specific verb (trace), resource (image) and output artifact (editable SVG) in a single front-loaded clause. It is immediately distinguishable from the canvas/component/file siblings, which do not produce vector output.

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 description enumerates the accepted source modes (workspace image file, HTTPS URL, completed upload, small data URI) and the supported formats and 8 MB ceiling, which tells the agent when this tool is applicable. It stops short of naming an alternative tool or stating an explicit when-not condition, so it is clear context rather than full routing guidance.

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.