Skip to main content
Glama
mikusnuz

umami-mcp

get_session_data_values

Retrieve aggregated session property counts for website analytics by specifying website ID, time range, and optional property filter.

Instructions

Get session data values (aggregated counts for session properties) for a website

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
websiteIdYesWebsite UUID
startAtYesStart timestamp in milliseconds
endAtYesEnd timestamp in milliseconds
propertyNameNoFilter by property name

Implementation Reference

  • The handler and registration for "get_session_data_values" tool.
    server.tool(
      "get_session_data_values",
      "Get session data values (aggregated counts for session properties) for a website",
      {
        websiteId: z.string().describe("Website UUID"),
        startAt: z.number().describe("Start timestamp in milliseconds"),
        endAt: z.number().describe("End timestamp in milliseconds"),
        propertyName: z.string().optional().describe("Filter by property name"),
      },
      async ({ websiteId, startAt, endAt, propertyName }) => {
        const data = await client.call(
          "GET",
          `/api/websites/${websiteId}/session-data/values`,
          undefined,
          { startAt, endAt, propertyName }
        );
        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