Skip to main content
Glama

Vectorize an image

vectorize_image

Convert an existing image into an SVG vector file. Use it when the user wants an SVG, a vector or a scalable version of an image they already have (a logo, icon, illustration or flat graphic), instead of generating a new one. Best on clean artwork; photos come out stylized. Returns svg_url: give the user that link for the SVG file. Charged per image.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asset_idYesThe image to work on: an asset_id from a previous result or upload.

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?

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false, which only flag a non-destructive write), the description discloses the cost model ('Charged per image'), the quality limitation for photos, and the return value (svg_url) the agent should surface to the user. No contradiction with the annotations.

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?

Four tight sentences with the core action front-loaded, followed by usage, limitation, and return handling. Every sentence carries distinct, non-redundant information.

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 single-parameter tool with no output schema, the description covers the essentials an agent needs: what it produces, when to use it, its cost, its quality caveat, and how to hand back the resulting svg_url. Nothing material 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?

There is a single parameter with 100% schema description coverage, so the schema already documents asset_id fully. The description adds no syntax or sourcing detail beyond what the schema states, so the baseline of 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+resource (convert an existing image into an SVG vector file) and implicitly distinguishes itself from generate_image by noting it works on an image the user 'already has ... instead of generating a new one'. An agent can select it over its siblings without opening the 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 trigger (user wants an SVG/vector/scalable version of an existing image) and the alternative it replaces (generating a new one). It also gives a suitability condition — best on clean artwork, photos come out stylized — so the agent knows when not to reach for it.

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