Skip to main content
Glama

OMENZ Doc Read

doc_read

OMENZ Doc Read: turn a public PDF (or .txt/.md/.html) into clean text your agent can use. Send {url} (https) or {content_base64, filename}. Priced per document, no account: first 50 pages, text per page, title/author/dates, language guess, word count, links, tables hint. Native text only, no OCR: scanned/image-only PDFs come back flagged needs_ocr. Max 10 MB, 200k chars. Deterministic, stores nothing. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/doc/read, $0.004 via x402.)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "doc_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNopublic https URL of a PDF or text/markdown/html document
filenameNowith content_base64: name incl. extension (.pdf .txt .md .html)
content_base64Nothe document bytes, base64 (instead of url)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Rich context beyond the annotations: per-document pricing with no account, size/page/char limits, deterministic and stateless behavior, and the failure mode (needs_ocr flag). It also enumerates returned fields (text per page, title/author/dates, language, word count, links, tables hint), which compensates for the missing output schema. Minor tension left unresolved: annotations set readOnlyHint=false while the text says "stores nothing" — the implied side effect (billing) is never explicitly reconciled, though pricing is disclosed.

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?

Front-loaded with the purpose and input modes, then limits, then what comes back; most sentences carry operational weight. The trailing vendor/production-endpoint parenthetical is partly promotional detail that an agent doesn't need to select or invoke the tool.

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

Completeness5/5

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

Covers everything needed for a stateless read tool with no output schema: inputs, format support, size limits, cost model, return fields, and the OCR limitation. An agent can call it correctly and predict the response shape without further information.

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?

Schema descriptions already cover all three parameters at 100%, so the baseline is 3. The description adds value by framing the two call modes as alternatives ("instead of url") and flagging the https requirement, which clarifies mutual exclusivity that the schema only implies.

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?

States a specific verb and transformation ("turn a public PDF (or .txt/.md/.html) into clean text") plus the concrete resource and supported formats. The scope (public, native text only, size caps) is specific enough that an agent can tell immediately whether this tool fits a request.

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?

Gives explicit input-mode selection — "Send {url} (https) or {content_base64, filename}" — and a clear exclusion: no OCR, scanned/image-only PDFs come back flagged needs_ocr. It also sets hard applicability bounds (max 10 MB, 200k chars, first 50 pages). It does not name a sibling alternative for the OCR case, which is the only real gap.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources