Skip to main content
Glama

DoctorTracer Image to SVG — prepare request

prepare_raster_trace
Read-only

Upload a PNG or JPEG and get vector SVG paths with configurable colors, Bézier fitting, speckle removal and polygon mode. Prepare a paid HTTP request (0.10 USDC on Base). This MCP tool does not perform analysis, sign or charge. Returns the canonical endpoint, supplied input and payment instructions. Up to 384 × 384 pixels and 400 KB. Standard non-interlaced PNG or JPEG. SVG paths with configurable alpha threshold.

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": {
      "imageBase64": "<imageBase64>"
    },
    "name": "prepare_raster_trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorsNo
detailNomedium
polygonNo
speckleNoIgnore speckles up to this area in pixels.
imageBase64Yes
alphaThresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses the cost (0.10 USDC on Base), that it does not sign or charge, and what it returns, which are exactly the traits an agent needs. It also adds hard input limits (384 × 384 px, 400 KB, non-interlaced PNG/JPEG) that annotations cannot convey. It stops short of describing what the returned payment instructions look like or any failure modes.

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?

It is dense and reasonably front-loaded, but the telegraphic fragments ('Up to 384 × 384 pixels and 400 KB.' 'Standard non-interlaced PNG or JPEG.') read as stitched-together notes, and the closing line repeats alpha threshold already mentioned in the first sentence.

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?

With no output schema, the description does list the return components and payment cost, and it states input size/format limits, so the core contract is covered. However, for a 6-parameter tracing tool at 17% schema coverage, it leaves meaningful gaps: how imageBase64 should be encoded (raw vs data URL), what the detail enum trades off, and how colors/alphaThreshold affect the resulting SVG.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17% (only 'speckle' is documented), so the description must carry the load, but it merely echoes parameter names — colors, speckle removal, polygon mode, alpha threshold — without explaining ranges, defaults, or what 'detail: low/medium/high' controls. The one genuinely helpful clarification, image constraints, is about the payload rather than the individual parameters.

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?

The description names a specific verb and resource: prepare a paid HTTP request for raster-to-SVG tracing, and it states the output shape ('canonical endpoint, supplied input and payment instructions'). The opening sentence ('Upload a PNG or JPEG and get vector SVG paths') describes the downstream service rather than this tool, which creates slight ambiguity, though the following sentence corrects it explicitly.

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?

It implies when to use it (you want SVG paths from a raster and are willing to pay 0.10 USDC on Base) and clearly bounds scope ('does not perform analysis, sign or charge'), but it never names or contrasts with any sibling prepare_* tool, so an agent must infer which prepare tool to pick.

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