Skip to main content
Glama

rowfeed/image-to-text-ocr

rowfeed--image-to-text-ocr
Destructive

This tool calls the Actor "rowfeed/image-to-text-ocr" and retrieves its output results. Actor description: Extract text from images and scanned PDFs with OCR in 26 languages: PNG, JPG, WEBP, TIFF and PDF links in bulk, one row per page with a confidence score. $1 per 1,000 pages. Empty and unreadable pages are free.

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": "rowfeed--image-to-text-ocr"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsNoDirect links to images (PNG, JPG, WEBP, TIFF, GIF, BMP) or PDFs, up to 50 MB each. One row per page. Example values: ["https://raw.githubusercontent.com/tesseract-ocr/tessdoc/main/images/eurotext.png","https://www.irs.gov/pub/irs-prior/f1040--1913.pdf"]
waitSecsNoMax seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget.
languagesNoPick the language(s) in the documents, up to 3. Mixing more languages makes OCR slower and less exact. Example values: ["eng"]
maxPagesPerFileNoStop after this many pages of each PDF or multi-page TIFF. Example values: 50

Output Schema

NameRequiredDescriptionDefault
tipNoAdvisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key
runIdYesActor run ID
statsNoRun statistics
statusYesRun status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED
actorIdYesStable Apify Actor ID from the run record
summaryYesPast-tense summary of the run state
exitCodeNoActor process exit code; populated for terminal states (especially FAILED)
nextStepYesOne primary follow-up action with identifiers interpolated
storagesYesDataset and key-value store metadata, keyed by alias. "default" is always the primary entry.
actorNameNo"username/actor-name"
startedAtNoISO timestamp when the run started
finishedAtNoISO timestamp when the run finished (terminal states only)
statusMessageNoPass-through from Apify run.statusMessage
apifyConsoleUrlNoPersonalized Apify Console link to the run; present only for Console sessions

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / description
      Previous value: -"JSON Schema for rows in the dataset at `storages.datasets.default.id` — describes row shape only; the rows themselves are NOT returned inline in this response. Inferred from this Actor's historical successful runs. To fetch actual rows, call `get-dataset-items` with the dataset id and a `fields` projection drawn from this schema."New value: +"JSON Schema for rows in the dataset at `storages.datasets.default.id`: the field names and types the Actor declares. It describes the row shape and is not part of the response, which does not include the rows either. Its top-level field names work in the `fields` selection of `get-dataset-items`."
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / char_count / type
      Previous value: -"number"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / checked_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / error
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / errorMessage
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / file_type / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / language / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / method / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / note
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / ocr_confidence / type
      Previous value: -[
      -  "null",
      -  "number"
      -]New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / page / type
      Previous value: -"number"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / page_count / type
      Previous value: -"number"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / text / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / url / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changed
    • addedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema
      Added value: +{
      +  "description": "JSON Schema for rows in the dataset at `storages.datasets.default.id` — describes row shape only; the rows themselves are NOT returned inline in this response. Inferred from this Actor's historical successful runs. To fetch actual rows, call `get-dataset-items` with the dataset id and a `fields` projection drawn from this schema.",
      +  "properties": {
      +    "char_count": {
      +      "type": "number"
      +    },
      +    "checked_at": {
      +      "type": "string"
      +    },
      +    "file_type": {
      +      "type": "string"
      +    },
      +    "language": {
      +      "type": "string"
      +    },
      +    "method": {
      +      "type": "string"
      +    },
      +    "ocr_confidence": {
      +      "type": [
      +        "null",
      +        "number"
      +      ]
      +    },
      +    "page": {
      +      "type": "number"
      +    },
      +    "page_count": {
      +      "type": "number"
      +    },
      +    "text": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • removedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema
      Removed value: -{
      -  "description": "JSON Schema for rows in the dataset at `storages.datasets.default.id` — describes row shape only; the rows themselves are NOT returned inline in this response. Inferred from this Actor's historical successful runs. To fetch actual rows, call `get-dataset-items` with the dataset id and a `fields` projection drawn from this schema.",
      -  "properties": {
      -    "char_count": {
      -      "type": "number"
      -    },
      -    "checked_at": {
      -      "type": "string"
      -    },
      -    "file_type": {
      -      "type": "string"
      -    },
      -    "language": {
      -      "type": "string"
      -    },
      -    "method": {
      -      "type": "string"
      -    },
      -    "ocr_confidence": {
      -      "type": [
      -        "null",
      -        "number"
      -      ]
      -    },
      -    "page": {
      -      "type": "number"
      -    },
      -    "page_count": {
      -      "type": "number"
      -    },
      -    "text": {
      -      "type": "string"
      -    },
      -    "url": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
  4. Changed1 schema field changed
    • addedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema
      Added value: +{
      +  "description": "JSON Schema for rows in the dataset at `storages.datasets.default.id` — describes row shape only; the rows themselves are NOT returned inline in this response. Inferred from this Actor's historical successful runs. To fetch actual rows, call `get-dataset-items` with the dataset id and a `fields` projection drawn from this schema.",
      +  "properties": {
      +    "char_count": {
      +      "type": "number"
      +    },
      +    "checked_at": {
      +      "type": "string"
      +    },
      +    "file_type": {
      +      "type": "string"
      +    },
      +    "language": {
      +      "type": "string"
      +    },
      +    "method": {
      +      "type": "string"
      +    },
      +    "ocr_confidence": {
      +      "type": [
      +        "null",
      +        "number"
      +      ]
      +    },
      +    "page": {
      +      "type": "number"
      +    },
      +    "page_count": {
      +      "type": "number"
      +    },
      +    "text": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  5. Changed1 schema field changed
    • removedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema
      Removed value: -{
      -  "description": "JSON Schema for rows in the dataset at `storages.datasets.default.id` — describes row shape only; the rows themselves are NOT returned inline in this response. Inferred from this Actor's historical successful runs. To fetch actual rows, call `get-dataset-items` with the dataset id and a `fields` projection drawn from this schema.",
      -  "properties": {
      -    "char_count": {
      -      "type": "number"
      -    },
      -    "checked_at": {
      -      "type": "string"
      -    },
      -    "file_type": {
      -      "type": "string"
      -    },
      -    "language": {
      -      "type": "string"
      -    },
      -    "method": {
      -      "type": "string"
      -    },
      -    "ocr_confidence": {
      -      "type": [
      -        "null",
      -        "number"
      -      ]
      -    },
      -    "page": {
      -      "type": "number"
      -    },
      -    "page_count": {
      -      "type": "number"
      -    },
      -    "text": {
      -      "type": "string"
      -    },
      -    "url": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
  6. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true and destructiveHint=true, and the description usefully adds the pricing model ($1 per 1,000 pages, empty/unreadable pages free), the 26-language scope, and the per-page output with a confidence score. However, it never explains the async run behavior, how long a job may take, or why the tool is flagged destructive, so meaningful gaps remain beyond what annotations cover.

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?

Two sentences, front-loaded with the actor call and then a dense, information-rich capability summary covering formats, languages, output shape and pricing. The opening 'calls the Actor ... and retrieves its output results' is mild boilerplate but frames the async execution model, so it earns its place.

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?

With an output schema present, return values need not be explained, and the description covers inputs, supported formats, size limits, pricing and output granularity. The main omission is operational behavior around the run and polling, which is partially covered by the waitSecs schema description rather than the tool description.

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 the schema already documents urls, waitSecs, languages and maxPagesPerFile thoroughly; the description only echoes the format and size constraints and the language count. Baseline 3 applies since the description adds little semantic detail beyond the structured fields.

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?

The description states a specific verb and resource: extract text from images and scanned PDFs via OCR, listing supported formats (PNG, JPG, WEBP, TIFF, PDF) and outputs as one row per page with a confidence score. It also notes 26-language support and bulk link input, which is enough for an agent to distinguish this from siblings such as audio-transcription.

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 is implied rather than stated: the format list and 'up to 50 MB each' tell an agent what inputs qualify, but there is no explicit when-to-use or when-not, no guidance against alternatives (e.g., audio-transcription or other scrapers), and no prerequisite or limitation callouts beyond size and the note that mixing languages hurts accuracy.

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.