Skip to main content
Glama

Agent Tools

image_ocr

OCR: read all text from a screenshot, photo, receipt, sign, scanned page or chart image at a URL (PNG/JPEG, max 10 MB). Keeps line breaks. Price $0.005 USDC per call via x402. Example output: {"text":"Hello Agent Tools"}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic image URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses accepted formats (PNG/JPEG), a 10 MB size ceiling, that line breaks are preserved, and — critically — a paid x402 flow at $0.005 USDC per call, which is a behavioral fact an agent cannot get elsewhere. It does not cover failure modes (invalid URL, oversized file, unsupported language) or whether retries are billed, which keeps it short of a 5.

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?

One dense sentence front-loads the operation and accepted inputs, followed by the behavioral facts and a concrete output example. No filler, and nothing important is buried at the end.

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 one-parameter tool with no annotations and no output schema, the description covers input constraints, cost/payment mechanism, and an example return shape — enough to call it correctly. Error behavior and language coverage are the remaining gaps, but they are not required to invoke 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% and there is a single required parameter, so the baseline would be 3. The description adds real meaning to that parameter, constraining it to public URLs of PNG/JPEG images under 10 MB, which the schema ('Public image URL') does not state.

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?

Specific verb ('read all text') plus resource ('screenshot, photo, receipt, sign, scanned page or chart image at a URL'), which clearly separates it from text-extraction siblings aimed at documents or web pages. It does not explicitly name pdf_to_text or document_extract as the alternative for non-image inputs, so differentiation is implied rather than stated.

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?

The enumerated image types imply when to use it, but there is no explicit when-not guidance and no routing to sibling tools such as pdf_to_text (PDFs) or document_extract (structured document fields). An agent must infer the boundary itself.

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