Skip to main content
Glama

Image to Excel Table API - rows and columns from a photo, screenshot or scanned PDF (OCR)

image_to_excel_table
Read-onlyIdempotent

Send a photo, screenshot or scanned PDF of a table and get it back as rows and columns: the text of every cell, typed values (1,234.50 / 1.234,50 / $12 / 15% become numbers, codes with leading zeros stay text), a CSV string and the cells the OCR was unsure about, so your app asks a person to check only those. Ruled tables use their lines as cell borders; tables without lines are split by aligned gaps. English, German and Bulgarian text. Up to 5 pages per call. Deterministic OCR on our server, nothing stored. For receipts and price lists, data entry automation, no-code flows and back-office tools. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.005/call via x402 at https://radarbg.com/x402/image-to-excel-table.

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the texteng
headerNoFirst row is a header (kept as text, not converted to numbers)
fileNameNoOptional file name, e.g. price-list.jpg
fileContentYesThe image (JPG, PNG, WebP, HEIC, TIFF) or scanned PDF as base64, max 20 MB

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations (readOnly, idempotent, openWorld) by disclosing the 5-page-per-call limit, English/German/Bulgarian support, deterministic server-side OCR with nothing stored, handling of ruled vs line-less tables, and the uncertainty flags returned for human review. It also covers auth and cost (X-API-Key or x402, free tier per IP), which the schema cannot express.

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

Conciseness4/5

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

Front-loaded with the core transformation in the first sentence, then behavior, limits, use cases and pricing. It is dense but single-paragraph, and the pricing/URL detail is heavier than an agent strictly needs, slightly diluting the operational content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description fully covers the return shape (per-cell text, typed values, CSV string, uncertain cells). Combined with input format, size and page limits, language support and auth, an agent has everything needed to call and interpret it.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: how numeric parsing behaves across locale formats, that leading-zero codes stay text, that header rows stay text, and that multiple languages can be processed (matching the lang enum). The 20 MB size limit and page cap are reinforced as practical constraints.

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

Purpose5/5

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

States a specific verb and resource: convert a photo, screenshot or scanned PDF of a table into rows and columns. It also describes the distinctive output (cell text, typed values, CSV, uncertain cells), which separates it from image_to_text, pdf_ocr and pdf_to_excel_word without naming them.

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?

Gives concrete usage contexts (receipts, price lists, data entry automation, no-code flows, back-office tools) and implicitly scopes it to tables rather than arbitrary images. It never states explicit when-not conditions or names an alternative sibling for non-table images or non-image Excel conversion, so routing is inferred rather than directed.

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