ocr
Server Details
Read PDFs and images as markdown or text, with exact costs and hard spend caps. $0.75/1k pages.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- imiraoui/pennyocr-mcp
- GitHub Stars
- 0
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.7/5 across 2 of 2 tools scored.
The two tools are clearly distinct: one estimates cost, the other performs OCR. There is no overlap in purpose or behavior.
Both tools follow the same verb_noun pattern (estimate_cost, read_document), making the naming predictable and consistent.
With only two tools, the server feels minimal but appropriate for its focused OCR purpose. The count is borderline thin, but each tool serves a necessary part of the workflow.
The core workflow of estimating cost and reading documents is covered well. Minor gaps exist, such as no ability to list past reads or handle file uploads, but these are outside the obvious scope.
Available Tools
2 toolsestimate_costAInspect
Free: return the page count and exact cost_usd to read a document URL with read_document, without running OCR. Use before reading large documents.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http(s) URL of the PDF or image | |
| pages | No | Optional page range like '1-20'. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden of behavioral disclosure. It states the tool is free, returns page count and cost, and does not run OCR. It doesn't explicitly mention side effects, but for a non-destructive estimation tool, this is adequate and adds relevant context beyond the schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences that front-load the core purpose, then provide usage context. No wasted words; every clause adds value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple 2-parameter tool with no output schema, the description fully covers what it returns and when to use it. The note about large documents provides practical context. No gaps remain for the agent to understand invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (both params have descriptions). The tool description adds no additional parameter details beyond the schema, but the schema already explains url and pages. This meets the baseline for high-coverage schemas.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: returning page count and exact cost_usd for reading a document via read_document, explicitly noting it does not run OCR. This distinguishes it from the sibling read_document by highlighting the estimation-focused, non-OCR scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit guidance: 'Use before reading large documents.' This tells the agent when to invoke the tool, and the mention of 'without running OCR' implies a lighter alternative to read_document, effectively differentiating usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
read_documentAInspect
Read a document (PDF or image) from a URL and return its contents as markdown (tables preserved) or plain text. Costs $0.00075 per page, billed to the PennyOCR account; the response includes the exact cost_usd and per-page citations. Use estimate_cost first for big documents. Supports page ranges and hard spend caps.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http(s) URL of the PDF or image | |
| pages | No | Page range like '1-20,25'. Default: all pages. | |
| output | No | Output format. Default markdown. | |
| max_pages | No | Refuse (with the numbers) if selection exceeds this many pages. | |
| max_cost_usd | No | Refuse (with the numbers) if the run would cost more than this. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist to carry the transparency burden, but the description discloses important behaviors: per-page pricing, billing to a specific account, response includes exact cost_usd and per-page citations, and support for limits. This goes beyond basic read-only intent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences with no filler. Every clause contributes new information: input type, output formats, pricing, response contents, pre-estimation guidance, and controls.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the 5 parameters and no output schema, the description gives a complete operating picture: input, output, cost behavior, cost guardrails, and the relevant sibling tool. It is sufficient for an agent to both select the tool and invoke it appropriately.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema covers all 5 parameters, so the baseline is 3, but the description adds value by explaining cost implications ($0.00075/page), billing account, and the response containing cost_usd and citations. This clarifies the meaning and consequences of max_pages and max_cost_usd beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the action (read), the resource (document from a URL), and the output formats (markdown with tables preserved or plain text). It also distinguishes the tool from its sibling estimate_cost by framing reading as the downstream step after estimation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Concrete usage guidance is provided: use estimate_cost first for large documents, and make use of page ranges and hard spend caps. This explicitly tells the agent when to invoke a different tool and when to constrain this tool's costs.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with document conversion to Markdown, intelligently routing small and large files, and enabling targeted extraction via sections, search, and token budgets.6MIT
- AlicenseAqualityBmaintenanceConvert PDFs to structured JSON. Extract invoices, bank statements, contracts, and more. Pay per call via x402 USDC.58MIT
- FlicenseAqualityDmaintenanceEnables reading and extracting content from PDF documents including text (as Markdown), images, tables, and metadata from both local files and URLs, with OCR support for scanned documents.2
- AlicenseNot gradedqualityDmaintenanceEnables AI-driven PDF document processing including PDF to Markdown conversion, intelligent text and table extraction, image extraction, format conversion between PDF/Word/Markdown, batch processing, and fuzzy search - optimized for LLM context and RAG workflows.2MIT