Skip to content

Implement analyze-room-activity tool for cross-room analysis #5

@mjknowles

Description

@mjknowles

Overview

Implement the analyze-room-activity tool for comprehensive activity analysis across Matrix rooms.

Requirements

  • SDK Methods: getRooms() + message analysis + searchRoomEvents()
  • Features:
    • Activity patterns across time periods
    • Engagement metrics (messages per user, response times)
    • Topic trending analysis
    • Communication network analysis

Implementation Details

  • Create in src/tools/analytics.ts
  • Schema: homeserverUrl, matrixUserId, matrixAccessToken, timeRange, roomFilter?, analysisType
  • Support multiple analysis types
  • Efficient data processing for large datasets
  • Configurable time ranges

Acceptance Criteria

  • Tool registered with proper metadata
  • Activity pattern analysis working
  • Engagement metrics calculation
  • Topic trending detection
  • Network analysis implementation
  • Comprehensive tests written
  • Performance optimized for large rooms
  • Documentation with analysis interpretation guide

Priority

High - This is a Tier 2 analytics tool essential for LLM scenarios

Labels

enhancement, tier-2, analytics, intelligence

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions