Skip to main content
Glama

collections_list

Retrieve a list of collections associated with a specific Webflow site by providing the site ID. Use this tool to manage and organize site content efficiently.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_idYes

Implementation Reference

  • src/tools/cms.ts:25-42 (registration)
    MCP server.tool registration for the 'collections_list' tool, including inline input schema, description, and handler function that fetches CMS collections list from Webflow API using the provided site_id.
    server.tool( "collections_list", "List all CMS collections in a site. Returns collection metadata including IDs, names, and schemas.", { site_id: z.string().describe("Unique identifier for the Site."), }, async ({ site_id }) => { try { const response = await getClient().collections.list( site_id, requestOptions ); return formatResponse(response); } catch (error) { return formatErrorResponse(error); } } );
  • The inline async handler function for 'collections_list' tool. It uses WebflowClient to list collections for the given site_id, formats the response, or handles errors.
    async ({ site_id }) => { try { const response = await getClient().collections.list( site_id, requestOptions ); return formatResponse(response); } catch (error) { return formatErrorResponse(error); } }
  • Input schema for 'collections_list' tool: requires a 'site_id' string parameter.
    { site_id: z.string().describe("Unique identifier for the Site."), },

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