Skip to main content
Glama

getPageProperties

Extract and manage page properties from Adobe Experience Manager (AEM) using the specified page path to streamline content and asset management workflows.

Instructions

Get page properties

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pagePathYes

Implementation Reference

  • Core handler implementation that fetches page properties from AEM via HTTP GET to /jcr:content.json, extracts key metadata fields, and formats the response.
    async getPageProperties(pagePath) { return safeExecute(async () => { const response = await this.httpClient.get(`${pagePath}/jcr:content.json`); const content = response.data; const properties = { title: content['jcr:title'], description: content['jcr:description'], template: content['cq:template'], lastModified: content['cq:lastModified'], lastModifiedBy: content['cq:lastModifiedBy'], created: content['jcr:created'], createdBy: content['jcr:createdBy'], primaryType: content['jcr:primaryType'], resourceType: content['sling:resourceType'], tags: content['cq:tags'] || [], properties: content, }; return createSuccessResponse({ pagePath, properties }, 'getPageProperties'); }, 'getPageProperties'); }
  • MCP server request handler case for the getPageProperties tool, which extracts the pagePath argument and delegates execution to the AEM connector.
    case 'getPageProperties': { const pagePath = args.pagePath; const result = await aemConnector.getPageProperties(pagePath); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • Registration of the getPageProperties tool in the MCP tools list, including name, description, and input schema definition.
    { name: 'getPageProperties', description: 'Get page properties', inputSchema: { type: 'object', properties: { pagePath: { type: 'string' } }, required: ['pagePath'], }, },
  • Delegation handler in AEM connector that forwards getPageProperties call to the page operations module.
    async getPageProperties(pagePath) { return this.pageOps.getPageProperties(pagePath);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/indrasishbanerjee/aem-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server