Skip to main content
Glama

Faceabot PDF text extractor

Extract text from a PDF

pdf_extract_text
Read-onlyIdempotent

Reads a PDF from its public https address and returns its text, page by page (parse / read a PDF: invoices, papers, reports, contracts, forms…). Up to 10 MB; use start to read further. Use when: you need the text content of a PDF file. Not for scanned PDFs (images only): those need OCR. Example: {"url":"https://pdf.faceabot.com/sample.pdf"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic https address of the PDF file
pagesNoOptional pages to read, e.g. "1-3" or "2,5". Default: all
startNoCharacter offset to continue a long text
max_charsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new context: the 10 MB size ceiling, page-by-page return shape, and the 'use start to read further' continuation path. It omits auth/rate-limit notes, keeping it out of 5 territory.

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 core action, then constraints, then an example. The parenthetical 'parse / read a PDF: invoices, papers, reports, contracts, forms…' keyword list is padding, but everything else earns its place.

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?

With no output schema, the description correctly covers the return shape ('text, page by page'), size limits, and the continuation mechanism, plus the OCR exclusion. Missing only the semantics of max_chars, which leaves one parameter's behavior unstated.

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

Parameters3/5

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

Schema coverage is 75% and the schema already explains url, pages, and start. The description's 'use start to read further' merely restates the schema's own offset wording, and max_chars is undocumented in both places, so the description does not compensate for the remaining gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Reads a PDF ... returns its text, page by page') with the source constraint (public https address). It does not name the sibling pdf_info, so the agent must infer the distinction between text extraction and metadata inspection from the verb alone.

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?

'Use when: you need the text content of a PDF file' gives an explicit trigger, and 'Not for scanned PDFs (images only): those need OCR' gives an explicit exclusion with the alternative named. It stops short of routing against the sibling pdf_info, so it lands just under a 5.

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