Skip to main content
Glama

Re-vectorize with other settings

revectorize

Re-vectorizes a stored result (result_id and token from vectorize) with other settings, free for 24 hours after the first vectorization. Used by the Shapesoda window.

Input Schema

NameRequiredDescriptionDefault
tokenYesResult token (the token parameter of the result links).
colorsNoNumber of colors: 'auto', 'unlimited', or an integer 2–32 (max_colors goes up to 256). Default auto.
cornersNoKeep corners sharp or round them.
paletteNoFixed colors #rrggbb (2–256), as a list or a comma-separated string. Not combined with colors or max_colors.
qualityNoInput quality: low for blurry/noisy/JPEG-heavy images. Default auto.
min_areaNoSmallest shape kept, in px²; smaller specks are dropped. Overrides the preset.
result_idYesresult_id from vectorize or revectorize.
image_typeNoKind of image: artwork with smooth (anti-aliased) edges, artwork with hard pixel edges, or photo. Default auto.
smoothnessNoContour smoothing 1–10 (higher: smoother, fewer nodes).
transparencyNoTransparent areas: keep (stay transparent), white, or a background color #rrggbb.

Output Schema

NameRequiredDescriptionDefault
modeNo
filesYesDownload link per format.
widthYes
heightYes
result_idNo
svg_bytesNo
expires_atNo
download_urlNoLink to the first requested format.
credits_chargedNo
credits_remainingYes
free_remaining_todayNoFree MCP vectorizations left today (used before credits).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the mutation profile is covered. The description adds one genuine behavioral fact not in the annotations — the 24-hour free window — but omits whether the original result is kept or replaced, whether credits are charged afterward, and what auth the token grants.

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?

Two short sentences with the action and its required inputs front-loaded, and no filler beyond the marginally useful Shapesoda UI reference. Every clause carries information.

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?

An output schema exists and the parameter schema is fully documented, so return values and options do not need explanation here. For a non-idempotent, non-destructive re-run with ten parameters, the description is adequate but leaves the key lifecycle question (new result vs. overwrite) unaddressed.

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 description coverage is 100%, so all ten parameters (colors, palette, corners, quality, min_area, image_type, smoothness, transparency, result_id, token) are already documented in the schema. The description only restates the origin of result_id/token and adds no syntax or defaulting detail, notably failing to say whether unspecified settings are inherited from the original vectorization.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Re-vectorizes a stored result') and names the required inputs, which implicitly distinguishes it from the sibling vectorize (this operates on an existing result_id rather than a fresh upload). The differentiation is implied rather than spelled out, and the trailing 'Used by the Shapesoda window' adds no selection value.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'free for 24 hours after the first vectorization' clause implies a usable time window after vectorize, which is useful context. However, it never explicitly says to prefer this over vectorize when a result_id already exists, nor what happens to the original result, leaving the when-to-use decision largely inferential.

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