Skip to main content
Glama

ocr_precise

Extract text from images using traditional OCR engines, returning structured results with character coordinates and confidence. Suitable for documents requiring accurate text positioning.

Instructions

使用传统 OCR 引擎精准提取图片中的文字(返回结构化结果,含文字坐标和置信度)。 需要配置百度 OCR 或腾讯云 OCR 作为 Provider。 适合需要精确文字位置信息的场景(如发票、卡证、表格)。

Args: image: 图片文件路径(本地绝对路径)或远程 URL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

无注释信息,描述承担了全部告知责任。提到使用传统OCR引擎、需配置Provider、返回结构化结果,但未提及是否具有破坏性、速率限制或其他约束。对于无注释工具来说,信息基本充分,但未完整披露所有行为。

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?

描述精炼,首句明确核心功能,随后提供配置要求和适用场景,最后以Args列表说明参数。无冗余信息,结构清晰,信息密度高。

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?

考虑到有输出schema,描述不必要解释返回值,但已提及返回结构和内容。单参数工具,描述覆盖了关键使用前提和场景。但缺少对图片格式、大小限制等边缘情况的说明,整体上足够完整。

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

Parameters4/5

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

单个参数image,描述补充了其含义为本地绝对路径或远程URL,这在schema中未提供。参数说明清晰,弥补了schema描述覆盖率0%的不足,但未进一步说明支持的图片格式或最大尺寸。

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?

明确说明功能:使用传统OCR引擎精准提取图片文字,返回结构化结果包括坐标和置信度。同时通过场景描述(发票、卡证、表格)与兄弟工具区分,使用户清楚适用场景。

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?

指出需要配置百度或腾讯云OCR作为Provider,并说明适合需要精确文字位置信息的场景。但未明确说明何时不应使用此工具,也未直接提及兄弟工具作为替代方案,略显不足。

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/hahahahanb/mcp-vision'

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