Get a document's page count, page sizes, and file type with an AI agent over MCP before rendering any page — and handle password-protected files up front....Get a document's page count, page sizes, and file type with an AI agent over MCP before rendering any page — and handle password-protected files up front.