Skip to main content
Glama
mikusnuz

umami-mcp

reset_website

Remove all analytics data for a website in Umami Analytics. This action permanently deletes historical tracking information.

Instructions

Reset a website by removing all its analytics data (irreversible)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
websiteIdYesWebsite UUID to reset

Implementation Reference

  • The "reset_website" tool is registered and handled directly within this block in src/tools/websites.ts. It performs a POST request to /api/websites/${websiteId}/reset.
    server.tool(
      "reset_website",
      "Reset a website by removing all its analytics data (irreversible)",
      {
        websiteId: z.string().describe("Website UUID to reset"),
      },
      async ({ websiteId }) => {
        await client.call("POST", `/api/websites/${websiteId}/reset`);
        return { content: [{ type: "text", text: `Website ${websiteId} data has been reset.` }] };
      }

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/umami-mcp'

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