Skip to main content
Glama

pages_list

Retrieve a list of pages for a specific Webflow site by providing the site ID. Use parameters like limit, offset, and locale to refine the results for your needs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
localeIdNo
offsetNo
site_idYes

Implementation Reference

  • Handler function for the 'pages_list' tool. Calls WebflowClient.pages.list with provided parameters and handles response or error.
    async ({ site_id, localeId, limit, offset }) => { try { const response = await getClient().pages.list( site_id, { localeId, limit, offset, }, requestOptions ); return formatResponse(response); } catch (error) { return formatErrorResponse(error); } }
  • Zod input schema for the 'pages_list' tool parameters: site_id (required), localeId, limit, offset (optional).
    { site_id: z .string() .describe("The site’s unique ID, used to list its pages."), localeId: z .string() .optional() .describe( "Unique identifier for a specific locale. Applicable when using localization." ), limit: z .number() .optional() .describe("Maximum number of records to be returned (max limit: 100)"), offset: z .number() .optional() .describe( "Offset used for pagination if the results have more than limit records." ), },
  • MCP server.tool registration for 'pages_list', including name, description, input schema, and handler function.
    server.tool( "pages_list", "List all pages within a site. Returns page metadata including IDs, titles, and slugs.", { site_id: z .string() .describe("The site’s unique ID, used to list its pages."), localeId: z .string() .optional() .describe( "Unique identifier for a specific locale. Applicable when using localization." ), limit: z .number() .optional() .describe("Maximum number of records to be returned (max limit: 100)"), offset: z .number() .optional() .describe( "Offset used for pagination if the results have more than limit records." ), }, async ({ site_id, localeId, limit, offset }) => { try { const response = await getClient().pages.list( site_id, { localeId, limit, offset, }, 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