# How to check a document's pages before rendering them 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 fi...... That is often the table or the drawing someone is asking...