Skip to main content
Glama

Vectorize image

vectorize_image
Destructive

Convert an existing raster image (PNG, JPG, WebP) to SVG vector format using Recraft. Preserves details and creates clean vector paths.

Routing: "vectorize this", "convert to SVG", "make scalable" → use this (1 credit)

[sensitive-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderNoOptional Media gallery folder to file this into (freeform name, e.g. "q3-campaign" or "brand-assets"). Shown as a folder chip on the /media page. Reuse an existing folder name when the work belongs to it.
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.
image_urlNoURL of the raster image to vectorize. Use a signed URL from the MEDIA IN THIS CONVERSATION block or any accessible image URL.
artifact_idNoID of an existing artifact from the MEDIA IN THIS CONVERSATION block. The system will resolve a fresh signed URL automatically.
folder_nameNoSubfolder name for Drive save. Only used when save_to_drive is true.
save_to_driveNoIf true, also save the vectorized SVG to Google Drive. Defaults to false.
isolate_subjectNoSmart Workflow: If true, the tool will automatically remove the background to isolate the subject BEFORE vectorizing. Defaults to true. Set to false ONLY if you want to vectorize the entire scene including the background.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond annotations, the description adds valuable behavioral context: it flags the sensitive-tier approval flow, explains how approvals behave (from-now-on vs just-once), and instructs the agent to call on first clear ask without re-asking. It also mentions quality characteristics ('Preserves details and creates clean vector paths'). It doesn't explain the destructiveHint=true annotation, but it doesn't contradict it either.

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?

The description is organized into three purposeful paragraphs: core action, routing triggers, and approval/credit guidance. Each sentence contributes to helping the agent decide and call correctly. It's slightly longer than the minimal necessary, but every section serves a clear function and the main action is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers input types, routing, cost, and approval behavior well, but there is no output schema and the description never states what the tool returns (e.g., an SVG file or artifact ID). Also, the destructiveHint annotation is not explained. These are meaningful gaps for agents that need to use the result or understand side effects.

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?

All 7 parameters have complete descriptions in the schema (100% coverage), so the baseline is 3. The description doesn't add further parameter-level guidance beyond what the schema already provides, which is acceptable since the schema fully documents fields like image_url, artifact_id, and isolate_subject.

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?

The first sentence states the exact operation: 'Convert an existing raster image (PNG, JPG, WebP) to SVG vector format using Recraft.' This is a specific verb (convert) + resource (raster image) + target format (SVG). The word 'existing' distinguishes it from generation tools that create images from scratch, so it differentiates from the sibling generate_vector_image without needing to name 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?

A dedicated Routing section lists trigger phrases ('vectorize this', 'convert to SVG', 'make scalable') and explicitly notes the 1-credit cost. This gives clear context on when to invoke. However, it doesn't name alternatives or state when not to use it (e.g., for text-to-vector generation or background removal), so it stops short of the full 'when/when-not/alternatives' ideal.

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