Skip to main content
Glama

collections_get

Retrieve data from a specific collection in Webflow by providing the collection ID. Simplify accessing and managing structured content for your projects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collection_idYes

Implementation Reference

  • The handler function that executes the logic for the 'collections_get' tool, fetching collection details via WebflowClient and formatting the response.
    try { const response = await getClient().collections.get( collection_id, requestOptions ); return formatResponse(response); } catch (error) { return formatErrorResponse(error); } }
  • Input schema for the 'collections_get' tool, defining the required 'collection_id' parameter using Zod.
    collection_id: z .string() .describe("Unique identifier for the Collection."), },
  • src/tools/cms.ts:46-65 (registration)
    Registration of the 'collections_get' tool in the MCP server using server.tool(), including name, description, input schema, and handler.
    "collections_get", "Get detailed information about a specific CMS collection including its schema and field definitions.", { collection_id: z .string() .describe("Unique identifier for the Collection."), }, async ({ collection_id }) => { try { const response = await getClient().collections.get( collection_id, 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