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....Watermark Product Solution GroupDocs...what to render: what kind of file this is, how many pages it has...