@devrobotlabs/visionapi-mcp
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@devrobotlabs/visionapi-mcpExtract the invoice numbers and totals from the PDFs in ~/invoices and summarize them."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@devrobotlabs/visionapi-mcp
MCP server for the Vision API. Point Claude Code, Claude Desktop, Cursor or any other MCP host at a folder of scans and ask for the invoices — no integration to write, no API key in generated code, no contract paraphrased from memory.
You: pull the totals out of every invoice in ~/inbox and put them in a CSV
Claude: [vision_analyze × 7]
Done — 7 invoices, 14 credits. Three had no PO number; I left those cells empty.Install
Nothing to install. Add it to your host's config and it runs via npx.
Claude Code — claude mcp add visionapi --env VISION_API_KEY=sk_live_... -- npx -y @devrobotlabs/visionapi-mcp ~/inbox
Claude Desktop — claude_desktop_config.json:
{
"mcpServers": {
"visionapi": {
"command": "npx",
"args": ["-y", "@devrobotlabs/visionapi-mcp", "/Users/me/inbox"],
"env": { "VISION_API_KEY": "sk_live_..." }
}
}
}Cursor — .cursor/mcp.json, same shape:
{
"mcpServers": {
"visionapi": {
"command": "npx",
"args": ["-y", "@devrobotlabs/visionapi-mcp", "."],
"env": { "VISION_API_KEY": "sk_live_..." }
}
}
}VS Code — .vscode/mcp.json:
{
"servers": {
"visionapi": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@devrobotlabs/visionapi-mcp", "${workspaceFolder}"],
"env": { "VISION_API_KEY": "sk_live_..." }
}
}
}Get a key at app.visionapi.io/dashboard/keys. New accounts get 50 credits, no card.
The host config blocks live in this README rather than in an
examples/directory — a departure from the nine client libraries, and a deliberate one. A snippet that exists only in a README cannot drift from a runnable script nobody runs.
Related MCP server: receiptconverter-mcp
Which directories it can read
Every positional argument is a directory the server may read files from. With none given, the process working directory is the only root — which is the safe default, because MCP hosts launch a stdio server with the project directory as its cwd.
This matters more than it may look. The server holds a live spending credential and runs
with your filesystem permissions, so it can read anything your shell can. Asking it for the raw
text of ~/Documents/passport.jpg is a working way to get that document's contents into a
model's context and into whatever transcript your host keeps. The allowlist is what stops a
confused or manipulated agent doing that by accident.
Paths are resolved with realpath on both sides before being compared, so a symlink inside
an allowed directory cannot point out of it.
--allow-any-path turns the allowlist off entirely. It warns on stderr at startup and you
should have a reason.
Tools
Tool | What it does | Cost |
| Structured fields out of one image or PDF | 1 credit an image, 2 a PDF page |
| Up to 5 plain-language questions about one file | 1 credit an image, 1 a PDF page |
| What is this file? Ranked presets, no extraction | 1 credit per 5 calls |
| The preset catalogue | free |
| Every field one preset returns | free |
| Balance and buckets | free |
| Status/result of a queued task | free |
The three that spend credits are annotated readOnlyHint: false, so a host that auto-approves
read-only tools will still stop and ask before one of them runs.
The catalogue is also exposed as resources — visionapi://presets and
visionapi://presets/{name} — for hosts that prefer them. Tools are the primary surface,
because resource support is uneven across hosts.
Output
Responses are rendered for a model to read, not dumped as JSON. A 37-field invoice preset over
a document that fills twelve of them comes back as a table plus one Not found in this document (25): … line, rather than as twenty-five repetitions of
{"value":null,"confidence":"low"} — three to four times smaller, and easier to act on.
Nothing is lost in the process. Every tool takes a format:
markdown(default) — the rendering above.compact_json— the same information as data, with_not_foundand_low_confidencearrays. For when the agent will parse rather than read.json— the API response verbatim. What to reach for when writing real HTTP code against the contract.
Confidence is printed only when it is not high, so (mid) and (low) stand out and the
common case costs nothing to read.
Long documents
Leave mode at auto. The API kills a synchronous request at 60 seconds; the server then
re-submits it to the queue and polls, reporting progress to your host as it goes. You are
charged once, because the timed-out attempt released its reservation in full.
Pass mode: "async" up front for anything over roughly ten pages, and pages: "1-5" to sample
a long document cheaply — you are charged for selected pages only.
Costs and failures
Failures cost nothing. Every non-2xx releases the credit reservation in full, so a failed call is safe to correct and repeat and there is no cleanup to do. The tool descriptions say so, which is why an agent using this server behaves sensibly after an error instead of either giving up or retrying something that cannot work.
Two errors carry advice that is worth knowing yourself:
Error | What it means |
| Retrying cannot help — the balance does not change on its own. Top up. |
| Your own async tasks are at the plan's cap. It clears when one of them finishes, not on a timer — so sleeping and retrying blocks the very thing you are waiting for. |
Environment
Variable | Required | Purpose |
| for billable tools | Your key. The catalogue tools work without it. |
| no | Override the API base URL. Rarely needed. |
A missing key does not stop the server starting: it warns on stderr, tools/list still works,
and the first billable call returns a message naming the fix. A server that refuses to start
tells the user only that something is broken.
Development
npm install
npm run typecheck
npm test # 37 offline tests — no key, no network
npx @modelcontextprotocol/inspector node ./dist/cli.js ~/some/dirnpm install --no-save ../node to test against a local build of the client. Not
npm install ../node — that rewrites package.json to "file:../node", and that manifest is
what gets published.
Links
MIT licensed.
Available Tools
7 toolsvision_analyzeExtract structured data from an image or PDFA
Extract structured data from ONE image or PDF (JPEG, PNG, WebP, TIFF, PDF — detected by magic bytes, the extension is ignored).
Cost: 1 credit per image, 2 per selected PDF page. Failures cost NOTHING — every non-2xx releases the reservation in full, so a failed call is safe to fix and repeat, and there is no cleanup to do.
Choose ONE way to say what you want:
preset — a catalogue name, or "auto" to have the API classify the file first, for free. "auto" is the right default when you do not already know the document type. Do not call vision_list_presets just to guess a preset; the classifier is better at it and free.
schema — your own fields, {"field_name": "what to extract"}. The description IS the prompt: "the invoice number exactly as printed, without the #" extracts better than "invoice number". A schema can be passed alongside a preset to add fields to it.
schema_name — a schema saved in the account's dashboard. Not combinable with the others.
Reading what comes back:
Fields the document did not carry are NOT printed as values — they are listed at the end under "Not found". A preset always defines every one of its fields, so an absent value means "this document does not have it", never "the call failed".
A "(mid)" or "(low)" after a value is its confidence; no marker means high. Decide deliberately what to do with a low-confidence number rather than treating it as fact.
Never hardcode a preset's field names from memory. Call vision_get_preset first if the names are going into code.
Long documents: leave mode at "auto". The server kills a synchronous request at 60 seconds; this tool then re-submits it to the queue and polls, and you are charged exactly once because the timed-out attempt refunded itself. Pass mode:"async" up front for anything over ~10 pages.
One file per call. To process a folder, call this once per file — and if you get too_many_tasks, wait for your own in-flight tasks rather than sleeping.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto (default) — try synchronously, and if the server times out at 60 s, resubmit to the queue and poll. The timed-out attempt refunds itself, so this costs one charge, not two. sync — fail rather than fall back. async — go straight to the queue. Pass this up front for anything over roughly 10 pages. | auto |
| pages | No | PDF page selection, e.g. "1-3,7". You are charged for selected pages only, so this is the cheap way to sample a long document. | |
| detail | No | "high" renders pages at higher resolution for dense or low-quality scans. Same credit cost, slower. | |
| format | No | markdown (default) — compact, readable, absent fields summarised rather than repeated. compact_json — the same information as data, with _not_found and _low_confidence arrays, for when you will parse it. json — the API response verbatim; use it when you are writing HTTP code against the contract. | markdown |
| output | No | "text" returns the raw transcription and nothing else. Cannot be combined with a preset or a schema. | |
| preset | No | A catalogue name, or "auto" to have the API classify the file first, for free. "auto" is the right default when you do not already know the document type. | |
| schema | No | Your own fields, as {"field_name": "what to extract"}. The description IS the prompt — "the invoice number exactly as printed, without the #" extracts better than "invoice number". Can be passed alongside a preset to add fields to it. | |
| file_url | No | Public HTTPS URL the API fetches itself. Private and internal addresses are refused by the server. | |
| file_path | No | Absolute or relative path to a file on the user's disk. Must be inside a directory this server was given access to — the error names them if it is not. | |
| max_chars | No | Ceiling on transcription text in the response. Raise it only if you truly need more than 20 000 characters. | |
| schema_name | No | A schema saved in the account dashboard. Not combinable with preset or schema. | |
| language_hint | No | ISO 639-1 code, e.g. "es". Auto-detected when omitted; only worth setting when detection is getting it wrong. | |
| min_confidence | No | Values below this level come back null with their confidence preserved. Default low, which filters nothing. | |
| include_raw_text | No | Also return the full transcription alongside the fields. Expensive in context — leave it off unless you need the prose. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations only flag readOnlyHint=false, non-idempotent, and non-destructive; the description adds substantial behavior beyond that: credit costs, failure refunds with no cleanup, magic-byte detection, 60-second timeout with queue resubmission, absent-field reporting, and confidence markers. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but deliberately organized into labeled sections: cost, selection modes, reading output, long documents, and per-file limits. Every sentence carries operational information; there is no filler or repetition beyond what is needed for a 14-parameter tool with no output schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex 14-param, 0-required tool with no output schema, the description covers input selection, costs, failure/refund semantics, output interpretation (Not found, mid/low confidence), timeout behavior, page selection, formatting choices, and folder-processing guidance. An agent has enough to call it correctly without external docs.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents parameters, but the description adds critical semantics: the exclusivity rule ('Choose ONE way'), schema_name not being combinable, schema descriptions acting as prompts, mode fallback/refund behavior, and the meaning of the format options. This goes well beyond the structured schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with 'Extract structured data from ONE image or PDF' — a specific verb plus objects and file types. It distinguishes the tool's role from vision_list_presets by telling users not to call that sibling just to guess a preset, and clearly separates the preset/schema/schema_name configuration paths.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit when-to-use guidance: use 'auto' when the document type is unknown, call vision_get_preset before hardcoding field names, pass async for anything over ~10 pages, and process one file per call while waiting on too_many_tasks. It also names exclusions, such as 'Do not call vision_list_presets just to guess a preset.'
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
vision_askAsk questions about an image or PDFA
Ask up to 5 plain-language questions about ONE image or PDF and get answers with a verdict.
Cost: 1 credit per image, and 1 per selected PDF page — half what extraction costs on a PDF, because the answer does not scale with the page. The questions themselves are free: asking five costs exactly what asking one costs. Failures cost NOTHING.
Reach for this over vision_analyze when the answer is a judgement rather than a field — "is this signed?", "does the delivery address match the billing address?", "is anyone wearing safety equipment?". Reach for vision_analyze when you want values you will store or compute with; asking for a total and then parsing the prose is slower, dearer and less reliable than extracting it.
Reading what comes back: branch on verdict, never on the prose.
"yes" / "no" — the images settle it.
"uncertain" — a yes/no question the images genuinely do not settle. Treat it as missing information, not as a "no".
"n-a" — the question was not a yes/no question; the answer is in the prose. Each verdict carries a confidence, shown as "(mid)" or "(low)"; no marker means high.
Answers are at document level, not per page. Long documents behave exactly as in vision_analyze — leave mode at "auto", or pass "async" up front past ~10 pages.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto (default) — try synchronously, and if the server times out at 60 s, resubmit to the queue and poll. The timed-out attempt refunds itself, so this costs one charge, not two. sync — fail rather than fall back. async — go straight to the queue. Pass this up front for anything over roughly 10 pages. | auto |
| pages | No | PDF page selection, e.g. "1-3,7". You are charged for selected pages only, so this is the cheap way to sample a long document. | |
| detail | No | "high" renders pages at higher resolution for dense or low-quality scans. Same credit cost, slower. | |
| format | No | markdown (default) — compact, readable, absent fields summarised rather than repeated. compact_json — the same information as data, with _not_found and _low_confidence arrays, for when you will parse it. json — the API response verbatim; use it when you are writing HTTP code against the contract. | markdown |
| file_url | No | Public HTTPS URL the API fetches itself. Private and internal addresses are refused by the server. | |
| file_path | No | Absolute or relative path to a file on the user's disk. Must be inside a directory this server was given access to — the error names them if it is not. | |
| max_chars | No | Ceiling on transcription text in the response. Raise it only if you truly need more than 20 000 characters. | |
| questions | Yes | Up to 5 questions about the file. The questions themselves are free — asking five costs the same as asking one. | |
| language_hint | No | ISO 639-1 code, e.g. "es". Auto-detected when omitted; only worth setting when detection is getting it wrong. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations, the description explains cost behavior (per image/per page, failures cost nothing), the verdict semantics ('yes'/'no'/'uncertain'/'n-a'), confidence markers, document-level answers, and the auto/sync/async fallback behavior. This gives a clear mental model of what will happen when the tool runs.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is lengthy but well structured with distinct sections for purpose, cost, usage guidance, and reading the output. Every paragraph earns its place, though the sentence on max_chars duplicates the schema's message and could be trimmed without meaningful loss.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Even without an output schema, the description fully explains the response format and semantics: branch on verdict, the meaning of each verdict value, confidence markers, and document-level scoping. It also covers cost, page selection, and long-document modes, making the tool self-contained for selection and invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with thorough parameter descriptions. The tool-level description mainly restates information already present in the schema, such as pages being charged per selected page and questions being free. It adds almost no new parameter-level meaning beyond what the input schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'Ask up to 5 plain-language questions about ONE image or PDF and get answers with a verdict.' This is a specific verb+resource+scope statement. It also explicitly contrasts with vision_analyze by naming that tool, so sibling differentiation is clear.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit when-to-use guidance: 'Reach for this over vision_analyze when the answer is a judgement rather than a field' and the reverse. It also gives concrete context for mode and pages, such as passing 'async' up front past ~10 pages.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
vision_creditsVision API credit balanceARead-only
The account's credit balance and its per-bucket breakdown.
Free — no credits consumed.
Worth checking before a large batch, so you can tell the user up front that 300 files will not fit in the balance rather than stopping half way through with an insufficient_credits error. Buckets are spent in order: subscription, then rollover, then pack, then welcome.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| balance | Yes | |
| buckets | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds valuable behavioral details beyond the readOnlyHint annotation: it is free (consumes no credits), and it explains the order of bucket spending. This gives the agent a deeper understanding of what to expect.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded with the main purpose. Each sentence adds unique information: the resource, the cost, the usage scenario, and the bucket order. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (no parameters), the existing annotations, and the presence of an output schema, the description fully covers the tool's context. It explains when and why to use it, and the cost implication.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has no input parameters, so the description has nothing to add. Per the rubric, 0 params gets a baseline of 4; no further clarification is needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the tool as providing the account's credit balance and per-bucket breakdown, which is distinct from sibling tools focused on presets and analysis. The 'Worth checking before a large batch' phrasing reinforces its purpose as a balance check.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly states when to use the tool ('before a large batch') and explains the benefit (avoiding insufficient_credits errors). It also provides the bucket consumption order, giving the agent a clear usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
vision_detectIdentify what a file is, without extracting itA
Identify what a file IS without paying to extract it: the presets that could handle it, ranked, each with a confidence and a one-line reason.
Cost: 1 credit per 5 calls, whatever the file — detection only ever reads page 1, so a 300-page PDF costs the same as a photo. Four calls in five report 0 credits used.
recommended is exactly what preset:"auto" would run on this file, so you can probe first and
trust the answer.
Reach for this when the TYPE is the decision: routing a mixed inbox to different handlers, or refusing to spend two credits a page on a 40-page PDF sight unseen. Do NOT reach for it as a step before every vision_analyze call — if you want the data and do not care which preset produced it, preset:"auto" classifies the same way, for free, in the same request. Using detect first and then analyze is two calls where one would do.
If fallback is true, nothing matched confidently and the recommendation is the generic
preset. That is an honest "unknown", and it is worth surfacing to the user rather than
extracting against a shape nobody has confirmed.
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | "high" renders pages at higher resolution for dense or low-quality scans. Same credit cost, slower. | |
| format | No | markdown (default) — compact, readable, absent fields summarised rather than repeated. compact_json — the same information as data, with _not_found and _low_confidence arrays, for when you will parse it. json — the API response verbatim; use it when you are writing HTTP code against the contract. | markdown |
| file_url | No | Public HTTPS URL the API fetches itself. Private and internal addresses are refused by the server. | |
| file_path | No | Absolute or relative path to a file on the user's disk. Must be inside a directory this server was given access to — the error names them if it is not. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations give basic hints, but description adds substantial context: cost (1 credit per 5 calls), that detection only reads page 1, the meaning of 'recommended' as exactly what preset:'auto' runs, and fallback behavior as an honest 'unknown'. No contradictions with annotations; readOnlyHint false is clarified by the read-only nature described.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with front-loaded purpose and cost, but is relatively long. Every sentence contributes value, yet it could be tightened without losing meaning, especially the repeated emphasis on cost and the comparison with vision_analyze.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description conveys enough about output structure (presets ranked with confidence and reason, recommended field). It also covers cost, fallback, and usage. However, it leaves ambiguity about file parameter requirement (both optional in schema) and does not explicitly state that at least one file source is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema descriptions cover all 4 parameters at 100% coverage, so the baseline is 3. The description adds no parameter-level semantics beyond the schema; it does not explain that at least one of file_url/file_path must be provided, nor how to choose between them.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description states the tool identifies what a file is without extraction, explicitly contrasting with vision_analyze. It also specifies output: presets ranked with confidence and reason. This distinguishes it from sibling tools and provides a clear verb+resource.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit when-to-use ('when the TYPE is the decision') and when-not-to-use ('do NOT reach for it as a step before every vision_analyze call'), naming the alternative preset:"auto" within vision_analyze. Includes concrete scenarios like routing a mixed inbox and avoiding costs on large PDFs.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
vision_get_presetGet a Vision API presetARead-onlyIdempotent
The full field list for one preset: every field name, its type, its description, and whether it is always present.
Free — no credits, no API key needed.
This is the ONLY correct source for a preset's field names. Never write one from memory: the catalogue is versioned and a name you remember from another project may not exist here, and a schema built on a guessed name fails at the point where you are parsing the response rather than at the point where you made it up.
Fields marked ★ are present on every response; the rest appear only when the document carries them. A field holding null means the document did not have it, never that the call failed.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A preset name from vision_list_presets, e.g. "invoice". | |
| format | No | markdown (default) — compact, readable, absent fields summarised rather than repeated. compact_json — the same information as data, with _not_found and _low_confidence arrays, for when you will parse it. json — the API response verbatim; use it when you are writing HTTP code against the contract. | markdown |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark the tool as read-only and idempotent, but the description adds critical behavioral semantics: fields marked ★ are always present, others appear only when the document carries them, and null means absence rather than failure. This goes beyond the annotation hints and clarifies output interpretation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-organized, with the purpose front-loaded and each paragraph adding distinct value: field list definition, free access, correctness warning, and interpretation rules. It is concise, with zero fluff, and every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Even without an output schema, the description fully explains what the response will contain (field names, types, descriptions, presence markers), the meaning of null, and how the format parameter affects the output. It is complete for a simple read-only getter tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema provides 100% description coverage for both parameters (name and format), including detailed enum descriptions. The tool description adds no new parameter information beyond what the schema already supplies, so the baseline score of 3 is justified.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool fetches the full field list for one preset, with every field name, type, description, and presence marker. It explicitly calls itself the 'ONLY correct source' for a preset's field names, distinguishing it from sibling tools like vision_list_presets and from guessing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description tells the agent when to use this tool (to obtain authoritative field names) and when not to (never write from memory), while also noting it is free and requires no API key. It explains how to interpret the response (★ markers, null meaning) and warns against using guessed names.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
vision_get_taskGet a queued Vision API taskARead-only
Status, and once finished the result, of a queued task.
Free — no credits consumed. The result was already paid for when the task was submitted.
Call this with the id from a call that was queued — either one you made with mode:"async", or one where polling ran out of time and the answer told you to come back. A task that is still "queued" or "processing" has NOT failed; it is working, and re-submitting the file would be a second charge for the same work.
Results are kept for 7 days. After that only the metadata survives and the file has to be sent again.
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | markdown (default) — compact, readable, absent fields summarised rather than repeated. compact_json — the same information as data, with _not_found and _low_confidence arrays, for when you will parse it. json — the API response verbatim; use it when you are writing HTTP code against the contract. | markdown |
| task_id | Yes | The id returned when a call was queued. | |
| max_chars | No | Ceiling on transcription text in the response. Raise it only if you truly need more than 20 000 characters. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnlyHint=true and openWorldHint=true, but the description adds important behavior: it is free (no credits consumed), results are kept for 7 days, and after that only metadata survives. It also explains that a queued state is working, not failed. However, it does not specify details like the exact structure of the result or how errors are reported.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured. It leads with a clear purpose sentence, then provides key behavioral details and usage notes in short paragraphs. Every sentence adds value, and the formatting makes it easy to scan.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that there is no output schema, the description compensates by explaining what the result contains ('Status, and once finished the result'). It covers usage context, cost, data retention, and the meaning of intermediate states. For a tool with three simple parameters and clear behavior, this is sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% for parameters, so the baseline is 3. The description adds value by explaining the format parameter with details on each enum value (markdown, compact_json, json) and when to use each. It also provides guidance on max_chars: 'Raise it only if you truly need more than 20 000 characters.' This adds semantic context beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Status, and once finished the result, of a queued task.' It identifies the specific resource (a queued Vision API task) and the action (get status/result). It distinguishes itself from siblings by referencing queued tasks and explaining the context of async calls or polling timeouts.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit usage guidance: when to call it (with an id from a queued call, either from mode:"async" or when polling ran out of time), and what not to do (re-submitting the file would be a second charge). It also clarifies that queued/processing states are not failures, which helps the agent avoid unnecessary re-submission.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
vision_list_presetsList Vision API presetsARead-onlyIdempotent
List the preset catalogue: every named schema, with its field count and what it is for.
Free — no credits, no API key needed.
Read this when the user asks what document types are supported, or when you need a preset name to put in code. Do NOT call it to pick a preset before an extraction: preset:"auto" classifies the file server-side for free and is better at it than matching a description by eye, and vision_detect costs a fifth of a credit if you want the ranking. Listing 28 presets to guess one is the expensive path to a worse answer.
The names here are catalogue entries, not field names. Call vision_get_preset before writing any field name into code.
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | markdown (default) — compact, readable, absent fields summarised rather than repeated. compact_json — the same information as data, with _not_found and _low_confidence arrays, for when you will parse it. json — the API response verbatim; use it when you are writing HTTP code against the contract. | markdown |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, openWorld, and idempotent, but the description adds valuable context: it's free with no credits or API key, and the names are catalogue entries not field names (cautioning against misuse). No contradictions with annotations. This adds meaningful behavioral safety and cost information beyond the structured metadata.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured: it opens with what the tool does, then cost, then usage and anti-usage, then a caution. Every sentence earns its place and adds distinct value. It's compact yet comprehensive, avoiding fluff while covering all necessary aspects.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description is complete for a simple listing tool with good annotations. It explains the purpose, cost, usage contexts, and a critical caution (catalogue entries vs field names). Without an output schema, it gives enough about the content (field count and purpose). The combination of annotations and description offers a full picture for an agent to use it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema covers 100% of the parameter (format) with a detailed description of each enum value. The tool description does not add extra parameter detail, but since schema coverage is complete, the baseline of 3 is appropriate. The description doesn't need to repeat schema info; it focuses on when to use the tool, which is fine.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it lists the preset catalogue with field count and purpose. It distinguishes itself from siblings by specifying exactly what it provides (catalogue entries) and explicitly contrasts with vision_get_preset (which retrieves a single preset) and other tools. This is a specific verb+resource with clear scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit when-to-use scenarios (user asks about document types, needs preset name for code) and when-not-to-use scenarios (avoid for preset selection before extraction, with alternatives like preset:'auto' and vision_detect). It names specific alternative tools and explains why they are better in those situations. This is exemplary usage guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
7 tool updates
v1.0.0- First observed
vision_analyze - First observed
vision_ask - First observed
vision_credits - First observed
vision_detect - First observed
vision_get_preset - First observed
vision_get_task - First observed
vision_list_presets
TDQS
Each tool serves a distinct purpose: catalog discovery, preset details, credit balance, extraction, Q&A, detection, and async task retrieval. Even the overlapping detect/analyze pair is explicitly disambiguated with guidance on when each is appropriate, eliminating selection ambiguity.
All tools follow the vision_<action> pattern, with actions being clear verbs (list, get, analyze, ask, detect, get). The lone exception 'credits' represents a state query but still fits the pattern as a noun-based action. The prefix is consistent and each name clearly signals its function.
Seven tools is well-scoped for a vision API server, covering catalog management, extraction, Q&A, detection, credits, and async task handling. Each tool earns its place with no redundancy or bloat, matching the typical range for a focused service.
The tool set provides full lifecycle coverage: discover presets (list/get), perform operations (analyze/ask/detect), handle async tasks (get_task), and monitor usage (credits). There are no obvious gaps, and any missing features like custom schema management are handled via the dashboard rather than needing tools.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that lets AI assistants read and visually analyze local documents — PDFs, Excel spreadsheets, CSV files, Word documents, PowerPoint presentations, and images.466MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for ReceiptConverter that allows AI assistants to parse any receipt or invoice image/PDF into structured JSON with a single tool call.12MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that gives your Claude, Cline, or Cursor session the ability to extract text, tables, and metadata from any PDF URL — including scanned PDFs via OCR.MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that extracts clean text, tables, and structured data from documents, images, code, and audio files, supporting 97 formats with OCR, transcription, and code intelligence.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/devrobotlabs/visionapi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server