Skip to main content
Glama

generate_standup

Generate daily standup reports with completed tasks, planned work, and blockers for team updates.

Instructions

自动生成每日站会内容:昨日完成 / 今日计划 / 阻塞项。

Returns: StandupReport 字典,包含三个列表和生成时间

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the generate_standup tool, which queries tasks from the client and formats them into a standup report.
    def generate_standup() -> dict:
        """
        自动生成每日站会内容:昨日完成 / 今日计划 / 阻塞项。
    
        Returns:
            StandupReport 字典,包含三个列表和生成时间
        """
        client = get_client()
        now = datetime.now(timezone.utc)
        yesterday = (now - timedelta(days=1)).date().isoformat()
        today = now.date().isoformat()
        tomorrow = (now + timedelta(days=1)).date().isoformat()
    
        # Yesterday's completed tasks
        done_tasks = client.list_tasks(status=TaskStatus.DONE, limit=50)
        yesterday_done = [
            f"[{t.project or '无项目'}] {t.name}" for t in done_tasks
            if t.created_time and t.created_time.date().isoformat() >= yesterday
        ]
    
        # Today's plan: in-progress + due today
        today_tasks = client.get_today_tasks()
        today_plan = [f"[{t.project or '无项目'}] {t.name}" for t in today_tasks]
    
        # Blockers: on-hold tasks
        on_hold = client.list_tasks(status=TaskStatus.ON_HOLD, limit=20)
        blockers = [f"[{t.project or '无项目'}] {t.name}" for t in on_hold]
    
        report = StandupReport(
            yesterday_done=yesterday_done,
            today_plan=today_plan,
            blockers=blockers,
        )
  • server.py:57-57 (registration)
    Registration of the generate_standup tool within the MCP server.
    mcp.tool(generate_standup)

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/wauwaya/notion-workflow-mcp'

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