Skip to main content
Glama

LensaOCR

Reads an image's text and word boxes (Tesseract txt, TSV, hOCR and ALTO)

ocr

Reads an image's text and word boxes (Tesseract txt, TSV, hOCR and ALTO). Price: $0.005 a call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoThe answer's format: text (default), tsv, hocr, alto or words
image_base64YesA PNG image (up to 5 MB), base64-encoded

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add one genuinely useful behavioral fact: the $0.005 per-call cost, which agents cannot infer from structured fields. It nonetheless omits language support, accuracy limits, failure modes, and what the returned formats contain.

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

Conciseness5/5

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

Two short sentences, front-loaded with the core capability and followed by the pricing fact. No filler, no restated boilerplate beyond the title overlap.

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 two-parameter tool with full schema coverage this is minimally adequate, but with no output schema the description should say more about what each format returns and what errors or limits apply. The missing 'words' format leaves the format contract underspecified.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are already documented in the schema, setting the baseline at 3. The description lists four of the five format values but never explains what 'words' returns or how the encodings differ, so it adds little beyond the schema.

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 states a specific verb (reads) and resource (an image's text and word boxes) and enumerates the output encodings, which is far clearer than the bare name 'ocr'. However, the first sentence is essentially verbatim the title, and it omits the 'words' format that the enum exposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool, what kinds of images it handles, or any preconditions beyond the schema's 5 MB PNG note. The only added guidance-like content is the price line, which is cost information rather than usage context.

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