Skip to main content
Glama

get_active_users

Retrieve daily, weekly, or monthly active user counts for an app using anonymous activity data to monitor engagement metrics.

Instructions

Get active user count (DAU/WAU/MAU) for a specific app based on anonymous activity pings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idYesThe app ID to query (app_...)
periodNoTime period: 24h (DAU), 7d (WAU), 30d (MAU). Default: 24h

Implementation Reference

  • The handler implementation for the 'get_active_users' tool, which makes a GET request to '/v1/activity/stats'.
    case "get_active_users": {
      const query = { app_id: args.app_id };
      if (args?.period) query.period = args.period;
      result = await apiRequest("GET", "/v1/activity/stats", { query });
      break;
    }
  • index.js:274-287 (registration)
    The MCP tool registration for 'get_active_users', defining its name, description, and input schema.
    {
      name: "get_active_users",
      description:
        "Get active user count (DAU/WAU/MAU) for a specific app based on anonymous activity pings.",
      inputSchema: {
        type: "object",
        properties: {
          app_id: {
            type: "string",
            description: "The app ID to query (app_...)",
          },
          period: {
            type: "string",
            description: "Time period: 24h (DAU), 7d (WAU), 30d (MAU). Default: 24h",

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/Stig-Johnny/cutie-mcp'

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