Task402 PDF Tools
Server Details
x402-paid PDF indexing and generation with bounded, cited native-text evidence tools for agents.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
TDQS
Score is being calculated.
Available Tools
20 toolsbatch_search_documentBatch search PDF textRead-onlyIdempotentInspect
Search up to 20 exact normalized-text queries in one bounded call. Useful when an agent needs several clauses or fields from one PDF.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| queries | Yes | ||
| capability | Yes | ||
| document_id | Yes |
compare_pdfsCompare PDFsRead-onlyIdempotentInspect
Compare page count and normalized native text between two separately authorized uploaded PDFs. Image-only and visual differences are not compared.
| Name | Required | Description | Default |
|---|---|---|---|
| left_capability | Yes | ||
| left_document_id | Yes | ||
| right_capability | Yes | ||
| right_document_id | Yes |
diff_openapiDiff OpenAPIRead-onlyIdempotentInspect
Compare two caller-supplied OpenAPI JSON documents.
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | ||
| before | Yes | ||
| idempotency_key | Yes |
extract_document_fieldsExtract labeled PDF fieldsRead-onlyIdempotentInspect
Extract caller-supplied literal labels and adjacent native-text values with page and block evidence. Missing labels return null; no semantic extraction or OCR is performed.
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| capability | Yes | ||
| document_id | Yes |
generate_pdfGenerate PDFIdempotentInspect
Create a professionally formatted, paginated PDF from Markdown. Returns a short-lived download capability.
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| markdown | Yes | ||
| idempotency_key | Yes |
get_chain_balanceget_chain_balanceRead-onlyIdempotentInspect
Read a native Base balance.
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | ||
| address | Yes | ||
| network | No | ||
| idempotency_key | Yes |
get_chain_transactionget_chain_transactionRead-onlyIdempotentInspect
Read a Base transaction and receipt.
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | ||
| tx_hash | Yes | ||
| idempotency_key | Yes |
get_document_mapGet PDF page mapRead-onlyIdempotentInspect
Return page labels, sizes, native-text previews, bookmarks, and sparse-text warnings. Set page to include up to 500 positioned text blocks for that page.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| capability | Yes | ||
| document_id | Yes |
get_erc20_balanceget_erc20_balanceRead-onlyIdempotentInspect
Read one ERC-20 balance on Base.
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | ||
| token | Yes | ||
| address | Yes | ||
| network | No | ||
| idempotency_key | Yes |
get_pdf_jobGet PDF job statusRead-onlyIdempotentInspect
Read the status for a PDF job using its unguessable capability.
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| capability | Yes |
inspect_openapiInspect OpenAPIRead-onlyIdempotentInspect
Inspect a caller-supplied OpenAPI JSON document without fetching remote references.
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| idempotency_key | Yes |
inspect_pdfInspect PDFRead-onlyIdempotentInspect
Inspect a previously uploaded PDF using its document capability. Upload binary PDFs through POST /v1/documents; persist both the returned capability and recovery key securely.
| Name | Required | Description | Default |
|---|---|---|---|
| capability | Yes | ||
| document_id | Yes |
plan_api_requestPlan API requestRead-onlyIdempotentInspect
Select an OpenAPI operation and generate a safe request plan without executing it.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| spec | Yes | ||
| method | No | ||
| operation_id | No | ||
| idempotency_key | Yes |
prepare_document_contextPrepare cited PDF contextRead-onlyIdempotentInspect
Rank native-text pages for a question and return a bounded context pack with page, block, and excerpt evidence. No model call or OCR is used.
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| query | Yes | ||
| max_chars | No | ||
| capability | Yes | ||
| document_id | Yes |
read_documentRead PDF pagesRead-onlyIdempotentInspect
Read extractable native text from up to 10 selected pages. Output is limited to 32,000 characters; scanned pages need OCR, which is not provided.
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | ||
| capability | Yes | ||
| document_id | Yes |
render_pdf_page_regionRender PDF page regionRead-onlyIdempotentInspect
Render one authorized PDF page crop as PNG. x/y/width/height are normalized 0-1 page fractions; output is bounded to four million pixels.
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| page | Yes | ||
| scale | No | ||
| width | Yes | ||
| height | Yes | ||
| capability | Yes | ||
| document_id | Yes |
search_documentSearch PDF textRead-onlyIdempotentInspect
Find exact normalized text matches in native PDF text (no OCR). Results and excerpts are bounded.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| query | Yes | ||
| capability | Yes | ||
| document_id | Yes |
validate_pdf_textValidate PDF text expectationsRead-onlyIdempotentInspect
Check that the PDF parses, has an optional expected page count, and contains required text. This does not perform PDF/A, signature, visual, or OCR validation.
| Name | Required | Description | Default |
|---|---|---|---|
| capability | Yes | ||
| page_count | No | ||
| document_id | Yes | ||
| required_text | No |
verify_document_citationVerify PDF text citationRead-onlyIdempotentInspect
Check that a quote of 5 to 500 characters appears on the stated page in extracted native text. This does not establish truth or visual reading order.
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| quote | Yes | ||
| capability | Yes | ||
| document_id | Yes |
web_evidenceWeb evidenceRead-onlyIdempotentInspect
Fetch a public HTTPS page and return bounded citation-ready evidence.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| query | No | ||
| max_chars | No | ||
| idempotency_key | Yes |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
7 tool updates
- Added
diff_openapi - Added
get_chain_balance - Added
get_chain_transaction - Added
get_erc20_balance - Added
inspect_openapi - Added
plan_api_request - Added
web_evidence
1 tool update
- Added
extract_document_fields
2 tool updates
- Added
batch_search_document - Added
prepare_document_context
8 tool updates
- Added
compare_pdfs - Added
get_document_map - Added
inspect_pdf - Added
read_document - Added
render_pdf_page_region - Added
search_document - Added
validate_pdf_text - Added
verify_document_citation
2 tool updates
- First observed
generate_pdf - First observed
get_pdf_job
Related MCP Connectors
x402-paid analytics, market intelligence, research, and LLM inference for AI agents.
x402-paid agent tools: 18 over HTTP, 14 over stdio. USDC per call, no API key.
Generate and read PDFs for AI agents: a generate_pdf and a read_pdf tool, priced per document.
Compact, citation-verifiable public web context for AI agents, paid per use with x402.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceLets coding agents index and search local PDF books, retrieve relevant passages with citations, and persist design lessons for system design and implementation tasks.1Apache 2.0
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to parse and extract text, metadata, and statistics from PDF documents via URL, with x402 micropayments on Base Mainnet.-
- AlicenseNot gradedqualityAmaintenancePay-per-call tools for AI agents via x402 (USDC on Base): web-to-Markdown, PDF, provenance (human vs synthetic), trusted lookup with citations, a 3.9M-business global directory, LatAm ID validators, agent-forged tools and 2,000+ proxied x402 services. No API keys, charged only on success, free trial without a wallet. Remote: https://toll402.dev/mcp · Local: npx -y toll402-mcpMIT
- AlicenseAqualityCmaintenanceEnables agents to extract multi-page financial tables from complex PDFs, rasterize vector pages into crisp 300 DPI images for vision LLMs, flatten interactive AcroForm/XFA forms, and dewarp skewed OCR bounding boxes from photographed or scanned paper documents. Tool invocations are gated by USDC micropayments settled on Base L2 via the x402 protocol.4MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.