Skip to main content
Glama

RegiAI

Image to text (OCR)

image_to_text

Extract all readable text from an image.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "image": "<image>"
    },
    "name": "image_to_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesInput image (a file the user uploaded).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, so the safety profile is already carried by structured data; the description adds no mutation or cost context. It gives nothing about output format (plain text vs. positioned blocks), language coverage, resolution or size limits, or what happens with images containing no text — all meaningful for an OCR tool with no output schema.

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?

A single front-loaded sentence with zero filler, which is the right shape. It is arguably too terse for a tool with nested input requirements, but nothing in it is wasted.

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

Completeness2/5

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

For an OCR tool with a nested input object and no output schema, the description omits everything an agent would want before calling: what the returned text looks like, language support, whether images without text error or return empty, and any limits. The title carries the OCR label, but the description itself is under-specified.

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?

There is a single nested `image` parameter and schema description coverage is 100%, with the schema itself describing it as "Input image (a file the user uploaded)" and enumerating file_id, file_name, mime_type, download_url. The description adds no further constraint on formats, URL accessibility, or size, so the baseline 3 applies.

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?

"Extract all readable text from an image" names a specific verb (extract) and a specific output (readable text), which distinguishes it from siblings like describe_image or analyze_image that produce prose about an image. It is clear without needing the phrase "OCR," though it doesn't explicitly name a sibling.

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 when-to-use guidance, no stated prerequiisites, and no mention of alternatives such as describe_image for general image understanding. The agent must infer from the name alone that this is the OCR path rather than a captioning path.

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