Skip to main content
Glama

pages_get_metadata

Extract metadata from Webflow pages by specifying a page ID. Use this tool to retrieve structured data for efficient content management and analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeIdNo
page_idYes

Implementation Reference

  • The handler function that executes the tool logic by calling the Webflow API to retrieve metadata for a specific page.
    async ({ page_id, localeId }) => { try { const response = await getClient().pages.getMetadata( page_id, { localeId, }, requestOptions ); return formatResponse(response); } catch (error) { return formatErrorResponse(error); } }
  • Input schema defining parameters for the pages_get_metadata tool: page_id (required string) and localeId (optional string).
    { page_id: z.string().describe("Unique identifier for the page."), localeId: z .string() .optional() .describe( "Unique identifier for a specific locale. Applicable when using localization." ), },
  • Registration of the pages_get_metadata tool on the MCP server, including name, description, input schema, and handler function.
    server.tool( "pages_get_metadata", "Get metadata for a specific page including SEO settings, Open Graph data, and page status (draft/published).", { page_id: z.string().describe("Unique identifier for the page."), localeId: z .string() .optional() .describe( "Unique identifier for a specific locale. Applicable when using localization." ), }, async ({ page_id, localeId }) => { try { const response = await getClient().pages.getMetadata( page_id, { localeId, }, requestOptions ); return formatResponse(response); } catch (error) { return formatErrorResponse(error); } } );

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/webflow/mcp-server'

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