Skip to main content
Glama

alefba_read_pages

Extract text from specific pages of documents via OCR. Input document URLs with page numbers; receive structured text results.

Instructions

Read (OCR) specific pages of documents. استخراج متن از صفحات مشخص اسناد. Each entry in page_urls is a document URL with an @page=N suffix, e.g. https://example.com/doc.pdf@page=2. Returns the same structured result as alefba_read_document (or {state, task_ids} async). Optional name of the configured Alefba instance to target. Omit to use the default instance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_urlsYes
typeNogeneral
fix_orientationNo
word_positionsNo
waitNo
priorityNo
instanceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the return format (structured result or async) and the required format for page URLs, but does not explicitly state that the operation is read-only, non-destructive, or mention any permissions. The behavioral traits are implied but not fully transparent.

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?

The description is concise: two English sentences and one Persian sentence, front-loading the purpose. It includes a usage example. The bilingual aspect is slightly redundant but does not detract. Overall, it is efficient and well-structured.

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?

Given the tool has 7 parameters, no annotations, and an output schema (not detailed), the description explains the core input and return type but fails to cover most parameters. It provides enough context for a niche tool but is incomplete regarding optional parameters and output specifics.

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?

With 0% schema description coverage, the description only adds meaning for page_urls (URL format with @page=N) and instance (optional, default). The other five parameters (type, fix_orientation, word_positions, wait, priority) are not explained, leaving significant gaps. The description does not compensate adequately for the missing parameter documentation.

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: 'Read (OCR) specific pages of documents.' It explains the page URL format with @page=N suffix and specifies the return type (like alefba_read_document or async). This distinguishes it from the sibling tool alefba_read_document, which reads full documents.

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

Usage Guidelines3/5

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

The description mentions that it returns the same structured result as alefba_read_document, implying similarity, but it does not explicitly state when to use this tool versus alefba_read_document or other siblings. No direct when-not or alternative guidance is provided beyond this indirect reference.

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/dwin-gharibi/roshan-alefba-mcp'

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