Skip to main content
Glama
webflow

Webflow

Official
by webflow

sites_get

Retrieve detailed information about a Webflow site including settings, domains, and publishing status using its unique identifier.

Instructions

Get detailed information about a specific site including its settings, domains, and publishing status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_idYesUnique identifier for the site.

Implementation Reference

  • Handler function for 'sites_get' tool that retrieves detailed site information using the WebflowClient.
    async ({ site_id }) => {
      try {
        const response = await getClient().sites.get(site_id, requestOptions);
        return formatResponse(response);
      } catch (error) {
        return formatErrorResponse(error);
      }
    }
  • Input schema for the 'sites_get' tool, defining the required 'site_id' parameter.
    {
      title: "Get Site",
      description:
        "Get detailed information about a specific site including its settings, domains, and publishing status.",
      inputSchema: z.object({
        site_id: z.string().describe("Unique identifier for the site."),
      }),
    },
  • Direct registration of the 'sites_get' tool within registerSiteTools function.
    server.registerTool(
      "sites_get",
      {
        title: "Get Site",
        description:
          "Get detailed information about a specific site including its settings, domains, and publishing status.",
        inputSchema: z.object({
          site_id: z.string().describe("Unique identifier for the site."),
        }),
      },
      async ({ site_id }) => {
        try {
          const response = await getClient().sites.get(site_id, requestOptions);
          return formatResponse(response);
        } catch (error) {
          return formatErrorResponse(error);
        }
      }
    );
  • src/mcp.ts:53-53 (registration)
    Top-level registration call that includes the 'sites_get' tool via registerSiteTools.
    registerSiteTools(server, getClient);

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