Skip to main content
Glama

img2txt

Extract text from images via OCR: submit an image URL, Base64 data, or Puter path and receive the recognized text for use in your workflow.

Instructions

Analyze an image and return text (OCR).

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": {
      "source": "<source>"
    },
    "name": "img2txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
sourceYesImage URL, Base64, or Puter path
providerNo
test_modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations exist, so the description carries the full disclosure burden, yet it reveals almost nothing behavioral: no auth requirements, size or format limits, cost implications, whether providers differ in accuracy, or what the returned text structure looks like. Only the bare fact that text comes back is disclosed.

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 tight sentence, front-loaded with the action and outcome, with zero filler. It is concise to a fault rather than padded, so it earns a high mark on structure while its brevity is penalized elsewhere.

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 a 4-parameter tool with an enum, a default-valued test flag, no annotations and no output schema, the description omits everything an agent would need to call it correctly beyond the required source. The provider and model choices are unaddressed, which is the main practical gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 25% — only 'source' is documented in the schema. The description does not explain 'model', 'provider' (with its enum of aws-textract vs mistral), or 'test_mode', all of which materially change behavior and are undocumented anywhere the agent can see.

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?

States a specific verb and resource: 'Analyze an image and return text (OCR).' The modality (image in, text out) is clear enough to separate it from the speech/txt siblings by subject matter, though it never names or contrasts them explicitly.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives or exclusions. The agent is told what the tool does but not the conditions under which it should be chosen over another conversion tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.