Skip to main content
Glama

ocr_layout_paddle

Perform OCR with layout analysis on images, returning text blocks and their bounding boxes via PaddleOCR.

Instructions

Extract text with layout analysis. Returns blocks with bounding boxes.

Backend: paddle. PaddleOCR CPU — cross-platform, mature model. Wider language support than Vision, but slower. Requires PaddleOCR Python package.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNo
modeNobase
pathYes
Behavior3/5

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

With no annotations, the description carries the full burden for behavioral disclosure. It reveals return format (blocks with bounding boxes), backend type (CPU), maturity, and performance relative to Vision. However, it lacks details on error handling, unsupported languages, speed beyond 'slower,' or any side effects. The provided traits are useful but not comprehensive.

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?

The description is concise and well-structured. The first sentence states purpose and output, followed by a short paragraph on backend and performance. Every sentence adds value, no redundancy or fluff, and the key information is front-loaded.

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?

Given the tool's moderate complexity (3 params) and the absence of annotations and output schema, the description is incomplete. It lacks parameter explanations, return format details (e.g., coordinate structure), and does not help differentiate among the 14 sibling tools beyond the backend mention. It covers purpose and basic backend context but leaves significant gaps for effective selection and use.

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

Parameters1/5

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

The input schema has three parameters (lang, mode, path) with no descriptions (0% schema coverage), and the tool description does not explain any of them. It does not clarify the meaning of 'lang' or 'mode', or specify acceptable values beyond defaults. The description fails to compensate for the absent schema descriptions, offering no parameter-level guidance.

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 clearly states the tool's function: 'Extract text with layout analysis. Returns blocks with bounding boxes.' It specifies the resource (text with layout) and the output format, and further distinguishes it from siblings by naming the backend (PaddleOCR CPU) and comparing to Vision. This is a specific verb+resource statement that differentiates among the OCR family.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives contextual usage guidance: 'Wider language support than Vision, but slower' and 'Requires PaddleOCR Python package.' This helps choose between Paddle and Vision backends, and alerts to a prerequisite. However, it does not explicitly state when to use layout vs text vs table, or mention alternatives like paddleocr_vl, though these are implied by the tool name.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/timaliev/mcp_ocr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server