Extract text content from a PDF document via URL. Price: $0.01 USDC per extraction. Uses PyMuPDF for fast text extraction. Handles multi-page PDFs. Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: extracted text, page count, and metadata.
AI agents call x402_pdf_extract to retrieve information from x402 MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool retrieves and queries PDF content without modifying, deleting, or executing code. While it operates within a pay-per-use financial system (USDC micropayments on Base network), the tool itself performs only a Read operation. The financial transaction is handled by the server infrastructure, not by this tool's direct action.
From the tool's definition Tool description states it 'Extract[s] text content from a PDF document' and 'Returns: extracted text, page count, and metadata.' The verb 'extract' combined with read-only outputs (text, page count, metadata) indicates pure data retrieval with no side…
Attacks that exploit this kind of access
Extract text content from a PDF document via URL. Price: $0.01 USDC per extraction. Uses PyMuPDF for fast text extraction. Handles multi-page PDFs. Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: extracted text, page count, and metadata. It is categorised as a Read tool in the x402 MCP Server MCP Server, which means it retrieves data without modifying state.
Register the x402 MCP Server MCP server in PolicyLayer and add a rule for x402_pdf_extract: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches x402 MCP Server. Nothing to install.
x402_pdf_extract is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the x402_pdf_extract rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for x402_pdf_extract. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
x402_pdf_extract is provided by the x402 MCP Server MCP server (jameswilliamwisdom/x402-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →