Skip to main content
Glama

FMF Tools Doc Tools

image_ocr

Image OCR ($0.004 per call, paid via MPP on Tempo). Read all text in an image (PNG, JPEG, WebP, GIF, BMP; screenshots, scans, receipts, photos of documents) and return it as Markdown, keeping headings, lists and tables. Max 5 MB. HTTP POST https://mpp-docs.fmf-x402.workers.dev/mpp/image/ocr. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "image_ocr"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic URL of the file
dataNoBase64 file content (alternative to url)
filenameNo
languageNoISO 639-1 code (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

With no annotations supplied, the description carries the whole burden and does so well: it discloses per-call cost ($0.004), the payment protocol, that the MCP wrapper does not itself settle payment, the file-size ceiling, accepted formats, and the Markdown shape of the result including preserved tables and headings. That is exactly the operational context an agent needs before invoking a paid remote service.

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?

The capability statement is front-loaded before the pricing, limits, transport, and auth details, and each sentence adds operational information. The raw endpoint URL and payment caveat are dense but justified for a paid HTTP-backed tool.

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?

There is no output schema, and the description compensates by stating the return format (Markdown with headings, lists, tables). Size limit, formats, cost, and auth are all covered; only failure modes and how empty/low-confidence results are reported are left unstated.

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 75%, so most parameters are already documented, and the description adds nothing parameter-specific — it does not explain the url-vs-data choice, the purpose of filename, or how language affects recognition. Baseline 3 applies when the schema does the heavy lifting.

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 opens with a specific verb and resource: read all text in an image and return it as Markdown, with supported formats (PNG, JPEG, WebP, GIF, BMP) and use cases (screenshots, scans, receipts) spelled out. It is easy to separate from document/PDF siblings by modality, though it never names an actual sibling to route against.

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?

Usage context is limited to payment mechanics ('call with an MPP Payment Authorization header, or use mppx against the HTTP route') and the 5 MB cap. There is no guidance on when to pick this over pdf_text or doc_markdown for text-bearing documents, and no stated exclusions.

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