Skip to main content
Glama

sites_delete

Remove a site property from Google Search Console by specifying its URL to manage your verified properties list.

Instructions

Remove a site (property) from Google Search Console.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteUrlYesThe site URL to remove

Implementation Reference

  • The `sites_delete` tool handler, which uses `apiCall` with `method: "DELETE"` to remove a site from Google Search Console.
    server.tool(
      "sites_delete",
      "Remove a site (property) from Google Search Console.",
      {
        siteUrl: z.string().describe("The site URL to remove"),
      },
      async ({ siteUrl }) => {
        try {
          const result = await apiCall(
            `${WEBMASTERS_BASE}/sites/${encodeSiteUrl(siteUrl)}`,
            { method: "DELETE" },
          );
          return {
            content: [
              {
                type: "text" as const,
                text: result.ok
                  ? `Site "${siteUrl}" removed successfully.`
                  : result.body,
              },
            ],
            isError: !result.ok,

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/mikusnuz/gsc-mcp'

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