Skip to main content
Glama
Vectali local MCP server

Vectali local MCP server

Official
by vectali

convertImage

Vectorize PNG, JPG, GIF, BMP, or WebP images into scalable vector output through Vectali, using idempotency keys for safe retries.

Instructions

Use for user-requested vectorization. Maximum 10 MiB and 4000000 pixels (4096 per side). Requires remaining monthly API allowance or granted API credits. One successful request consumes one conversion. Reuse the same Idempotency-Key and image when retrying. Processing can take up to 240 seconds. Plan-based limits are shared across API keys, browser sessions, legacy routes and MCP. Starter permits 60 requests/minute, 6 conversion/export attempts/minute and one concurrent engine job; larger plans permit 120–300 requests/minute, 12–60 engine attempts/minute and two concurrent engine jobs. See x-vectali-plan-limits and https://vectali.com/docs/api-lifecycle/#rate-limits. PDF/EPS/DXF exports share the engine budget; saved SVG downloads do not. Attempts, including invalid requests and completed retries, count toward the minute budget. RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset and RateLimit-Scope identify the applicable window; Retry-After accompanies 429. Concurrency limits return concurrency_limited and X-Concurrency-Limit. Photos and tiny details may need manual cleanup.

POST /api/v1/vectorize Supply body.image as {content: BASE64, filename: 'image.png', contentType: 'image/png'}. No local paths or image URLs. This spends one existing API credit. Supply headers['idempotency-key'] when retrying the same image.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "body": "<body>"
    },
    "name": "convertImage"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
headersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (which only say non-read-only, non-destructive, non-idempotent, open-world), the description discloses credit consumption, allowance prerequisites, up to 240s processing time, minute and concurrency budgets, the concurrency_limited error with X-Concurrency-Limit, RateLimit-* and Retry-After headers on 429, and that invalid attempts count against the budget. It also warns that photos and fine details may need manual cleanup. That is unusually rich behavioral context that the agent could not infer from the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key facts are front-loaded, but the middle is a dense wall of duplicated documentation — exact per-plan requests/minute, engine attempts/minute and concurrent jobs — that largely restates what the referenced docs URL and the x-vectali-plan-limits note already cover. The content is useful but not every sentence earns its place, and the single-paragraph dump makes it hard to scan.

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?

For a credit-spending, long-running conversion with no output schema, the description is thorough on constraints, errors, retries and rate limits but never says what comes back (an SVG payload, a job id, a URL) or how to retrieve the result with getVector. That is the one substantive hole in an otherwise complete definition.

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?

Reported schema description coverage is 0%, so the description must carry the parameter burden, and it does specify the body.image object shape ({content: BASE64, filename, contentType}), forbids local paths and image URLs, and explains idempotency-key semantics. Gaps remain: it gives one concrete example (image.png/image/png) but does not enumerate acceptable contentType values, and filename constraints are unstated.

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 and resource ('user-requested vectorization', POST /api/v1/vectorize) and the annotation title pins it to raster-image-to-SVG conversion. It does not explicitly contrast itself with the read-style siblings (getVector, getAllowance), but the 'spends one existing API credit' framing makes it clear this is the creating/consuming operation.

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?

'Use for user-requested vectorization' gives a clear trigger condition, and retry guidance ('Reuse the same Idempotency-Key and image when retrying') tells the agent when to re-call versus start fresh. No explicit exclusions or routing to siblings (e.g. how to fetch the resulting SVG), so it falls short of full when/when-not coverage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools