Skip to main content
Glama
mikusnuz

umami-mcp

get_website_reports

Retrieve analytics reports for a specific website to monitor performance and track metrics using the Umami Analytics API.

Instructions

Get all reports associated with a specific website

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
websiteIdYesWebsite UUID

Implementation Reference

  • The tool 'get_website_reports' is registered and implemented in src/tools/websites.ts. It takes a 'websiteId' and fetches the reports for that website using the Umami client.
    server.tool(
      "get_website_reports",
      "Get all reports associated with a specific website",
      {
        websiteId: z.string().describe("Website UUID"),
      },
      async ({ websiteId }) => {
        const data = await client.call("GET", `/api/websites/${websiteId}/reports`);
        return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
      }
    );

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