Skip to main content
Glama

ocr_formula_paddleocr_vl

Extract mathematical formulas from an image and return LaTeX code for use in documents, research, and education.

Instructions

Extract mathematical formulas from an image. Returns LaTeX.

Backend: paddleocr_vl. PaddleOCR-VL — 0.9B vision-language model on Apple Silicon (M1+). Most accurate, 109 languages, supports tables/formulas/charts. Requires paddleocr-vl Swift CLI.

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 transparency burden. It discloses the backend, model size, hardware requirement (Apple Silicon), language support, and the prerequisite of the paddleocr-vl Swift CLI. However, it does not mention side effects, error behavior, or limitations beyond the hardware requirement.

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 highly concise and front-loaded, with the primary purpose in the first sentence and context in the second. Every sentence adds value, and there is no fluff or repetition.

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

Completeness3/5

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

The tool is simple, but the description lacks critical details about parameters and usage context, and there is no output schema. It provides useful backend/hardware context but leaves the agent without enough information to fully invoke the tool correctly.

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?

Schema description coverage is 0%, and the description provides no explanation for the three parameters (path, lang, mode). The parameter names are intuitive but the description does not clarify allowed values, defaults, or behavior, leaving agents to guess semantic meaning.

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 purpose: 'Extract mathematical formulas from an image. Returns LaTeX.' This uses a specific verb and resource, and the formula-focused scope distinguishes it from sibling OCR tools like text, layout, table, and chart extraction.

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?

The description provides no direct guidance on when to use this tool versus the many siblings. It mentions 'Most accurate' and 'supports tables/formulas/charts' but does not explicitly state when to prefer this backend or how it compares to alternatives, leaving the AI agent without clear selection criteria.

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