Skip to main content
Glama

Read the text in an image (OCR)

extract_text

Read printed text from a scan, a screenshot or a photo of a page. Languages: eng (English) and slv (Slovenian). Returns the text and the engine's confidence; below about 60 the text needs checking.

Input Schema

NameRequiredDescriptionDefault
image_urlNoPublic http(s) address of the image. Use this or image_base64.
languagesNoDefault ["eng"].
image_base64NoThe image file's bytes, base64-encoded. Use for a local file, e.g. one in the repository.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a decent job: it says the return value is text plus engine confidence and gives a concrete interpretability threshold (~60 = needs checking). It does not cover the no-text-found case, error behavior for unreachable URLs, or whether mixed-language images are supported, so a gap remains for an unannotated tool.

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 sentences, no filler, and the core capability leads before languages and result interpretation. Every clause carries information an agent would otherwise have to guess.

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

Completeness4/5

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

For a three-parameter, zero-required read tool with no output schema, the description covers capability, language scope, and how to read the returned confidence. Only edge cases (no text detected, invalid source, unsupported language combinations) are unaddressed, which is a minor gap given the thorough schema.

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 coverage is 100%, so every parameter is already documented, including the image_url/image_base64 either-or and the default ['eng']. The description only restates the accepted language codes, adding minimal meaning beyond the schema, which is the baseline-3 case.

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?

It pairs a specific verb with a specific resource ('Read printed text from a scan, a screenshot or a photo of a page'), so an agent immediately knows this is OCR rather than image manipulation. It does not, however, say how it differs from a sibling such as inspect_image, so a sibling-differentiation claim cannot be made.

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?

'Printed text' implicitly excludes handwriting, and the language list narrows usage, but the description never states when to prefer this tool over inspect_image or the other image tools. Usage is implied by input types rather than explicitly routed.

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