Skip to main content
Glama
sudostash

Paperboy

Official
by sudostash

extract_text

Extract text from all PDF pages or selected ranges like 1-3,7, with optional password support; returns the text and truncation flag.

Instructions

Extract text from all pages or a page spec (e.g. "1-3,7"). Returns text + truncation flag.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pagesNo
passwordNo
max_charsNo
input_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries more burden but does disclose the return shape: text plus a truncation flag. It does not explain password handling, truncation conditions, or limits beyond that, leaving meaningful behavioral gaps.

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 two short sentences, front-loaded with the action and followed by useful return information. There is no wasted text.

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

Completeness2/5

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

For a tool with four parameters, no annotations, no output schema, and 0% schema description coverage, the description is too sparse. It omits password behavior, max_chars/truncation details, and any error or permission context.

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?

Schema description coverage is 0%, so the description must compensate. It clarifies only the 'pages' parameter with an example ('1-3,7') and does not explain password, max_chars, or input_path semantics beyond what the bare schema names imply.

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?

The description states a specific verb and resource: 'Extract text' from pages. It also clarifies scope with 'all pages or a page spec,' but it does not explicitly distinguish the tool from siblings such as extract_pages, which could also involve page selection.

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 implies when to use the tool by saying it extracts text from all pages or a page spec. However, it gives no explicit guidance on when to choose this over extract_pages or other sibling tools, and no exclusions are stated.

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