Skip to main content
Glama
tcguoxing
by tcguoxing

Paddle Ocr

paddle_ocr

Extract text from images, screenshots, and scanned documents by providing a local path or URL. Returns recognized text lines with confidence scores.

Instructions

识别图片中的文字(中英文)。传入图片本地路径或 URL,返回识别到的文本行及置信度(JSON 数组)。

示例: paddle_ocr("/Users/xx/screenshot.png") paddle_ocr("https://example.com/scan.jpg")

返回格式:[{"text": "识别到的文本", "confidence": 0.99}, ...]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It explains accepted inputs (local path or URL), the output structure (JSON array of text and confidence), and includes a return-format example. It does not mention error behavior or image-format limits, but is otherwise transparent for a simple read-only OCR tool.

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 compact and well-structured: purpose, input constraints, examples, and return format are all present in a short space. Every sentence contributes useful information with no redundancy.

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?

For a tool with one parameter and no sibling tools, the description covers purpose, input, and output adequately. Minor gaps such as supported image formats, network requirements for URLs, and error handling are not addressed, but they are not critical for correct invocation.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must clarify the parameter. It fully compensates by specifying that 'image' accepts a local path or URL, and reinforces this with two clear examples. The single parameter's meaning is unambiguous.

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: recognizing text (Chinese/English) from images. It names the operation (识别图片中的文字) and the input resource (image), making its purpose unambiguous even without siblings.

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 clear context for when to use the tool: any task requiring OCR from an image. It does not state exclusions or alternative tools (there are no siblings), but provides concrete invocation examples that make usage straightforward.

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

Deploy Server

Other Tools