three.ws Vision

v0.1.2
io.github.nirholas/vision-mcp Checked 2 hours ago Published 1 month ago

Image understanding for AI agents — analyze and describe any image via the three.ws pipeline.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

analyze_image Analyze an image against a prompt

Let the agent SEE an image and answer a question about it. Supply the image as `imageUrl` (a public https URL the vision server fetches) OR `image` (raw base64 / a data: URI), and a `prompt` describing what to extract — e.g. "What objects are in this scene?", "Read the text in this screenshot", "Is this avatar render rigged correctly?". Returns the model's answer as `text`, plus the `provider` and `model` that served it (a free NVIDIA NIM lane when available, an automatic paid backstop otherwise — the caller never pays). Analysis only: it does not store or mutate anything. Accepts JPEG, PN…

ParameterTypeDescription
prompt *stringThe question or instruction about the image (what to extract, read, classify, or critique).
imagestringThe image as raw base64 or a `data:image/...;base64,...` URI. Provide this OR `imageUrl`, not both.
imageTypestringMIME type of a raw base64 `image` (ignored for data URIs / `imageUrl`). Defaults to image/jpeg.
imageUrlstringPublic https URL of the image to analyze. Provide this OR `image`, not both.
maxTokensintegerMaximum tokens in the answer (16–2048). Higher = longer, more detailed reads. Default 512.

describe_image Describe an image in natural language

Get a plain-language description of an image — ideal for alt text, captions, or a quick "what is this?" read when you have no specific question. Supply the image as `imageUrl` (a public https URL) OR `image` (raw base64 / data: URI). Use `detail` to pick brief / standard / detailed, and `focus` to steer the description toward something specific (e.g. "the clothing", "any visible text"). Returns the prose as `description`, plus the `provider` and `model` that served it (free NVIDIA NIM first, automatic paid backstop otherwise — the caller never pays). Read-only; accepts JPEG, PNG, WebP, or…

ParameterTypeDescription
detailstringHow much description to return: brief (one sentence), standard (2–3 sentences), or detailed (a full paragraph).
focusstringOptional aspect to emphasize in the description (e.g. "any visible text", "the background", "the pose").
imagestringThe image as raw base64 or a `data:image/...;base64,...` URI. Provide this OR `imageUrl`, not both.
imageTypestringMIME type of a raw base64 `image` (ignored for data URIs / `imageUrl`). Defaults to image/jpeg.
imageUrlstringPublic https URL of the image to describe. Provide this OR `image`, not both.

get_vision_status Vision availability + accepted formats

Check whether the three.ws vision pipeline is live on the target deployment and which image formats it accepts. Returns `configured` (true when at least one VLM provider — a free NVIDIA NIM lane or the paid backstop — can serve a request) and `image_types` (the accepted MIME types). Use this before calling analyze_image / describe_image so the agent can decide whether to offer a "describe this image" action. No image, no key, no cost.