CRMの活動データを分析します。営業担当者のパフォーマンス、通話とメールの件数、チーム活動の詳細、エンゲージメント統計(見込み客との相互作用の指標)などを確認できます。 次のような場合に使用: 「チームは何件の通話をしたか」「営業担当者の活動状況を見せてほしい」「最も活動的な営業担当者は誰か」「今週の活動内訳」「チームのパフォーマンスはどうか」「アウトリーチ件数はどのくらいか」「営業担当者の活動を比較したい」「通話統計」「営業担当者ごとのメール件数」「活動レポート」「チームのエンゲージメント統計」などの質問や指示が出された場合。
Analyze CRM activity data — rep performance, call and email volume, team activity breakdowns, and engagement stats. Use when someone says "how many calls did the team make", "show me rep activity", "who's the most active rep", "activity breakdown this week", "how is the team performing", "what's our outreach volume", "compare rep activity", "call stats", "email volume by rep", "activity report", or "team engagement stats".
フロー: トリガー → コネクタ確認 → ボード解決 → クエリ構築 → インサイツ取得 → 結果の統合
具体的な数字と営業担当者ごとの内訳を含めた統合的なサマリー。生のJSON形式では返さない。
get-activity-insights は集計された件数を返す — 個別の活動記録ではない。活動履歴と内容が必要な場合は get-timeline-items を使用すること。["type"] で活動タイプ別の内訳;["userId", "type"] で営業担当者ごとの内訳;["userId"] で営業担当者の合計のみ。board_id は必須 — ツール実行前に必ず解決すること。get-activity-insights — 営業担当者、タイプ、項目でグループ化した集計活動統計(件数、時間)get_user_context — ユーザー情報とアカウント情報search / get_board_info / get_board_items_page — ボードと項目を解決list_users_and_teams — 営業担当者名をユーザーIDに変換するためのフィルタリングget-timeline-items — 項目レベルの活動詳細(集計ではなく内容)が必要な場合のフォールバック| ユーザーの質問 | groupBy | 注釈 |
|---|---|---|
| 「各営業担当者は何件のコールを発信したか?」 | ["userId", "type"] |
営業担当者ごとの内訳 |
| 「今週の活動の内訳は?」 | ["type"] |
チーム全体をタイプ別に集計 |
| 「最も活動的な営業担当者は誰か?」 | ["userId"] |
営業担当者の合計のみ |
| 「ジョンが送ったメールは何件?」 | ["type"] |
+ userIds フィルタを適用 |
| 「Acmeの案件の活動は?」 | ["type"] |
+ itemIds フィルタ — または内容が必要な場合は get-timeline-items を使用 |
| 「先月の営業担当者のパフォーマンスを比較」 | ["userId", "type"] |
fromDate/toDate を設定 |
mcp__monday__get_user_context を実行。エラーが出た場合 → コネクタインストール手引きを表示して停止。get-activity-insights には board_id が必須。
mcp__monday__search または mcp__monday__get_board_info でIDを解決。mcp__monday__search({ query: "deals" }) で最も可能性の高いCRMボードを検索。判断できない場合 → ユーザーに確認。引数を解析:
groupBy:
["userId", "type"]["type"]["userId", "type"]日付範囲:
fromDate:30日前fromDate:本日の開始時刻fromDate / toDate を指定フィルタ:
mcp__monday__list_users_and_teams で解決し、userIds を指定itemIds を指定(内容が必要な場合は get-timeline-items にリダイレクト)aggregationType: デフォルトは count。通話時間など期間に関する質問の場合は sum / avg を使用。
mcp__monday__get-activity-insights を実行。total_results === 0 の場合:
「<ボード>では過去<期間>に活動が見つかりません。チームがまだ活動を記録していないか、より広い日付範囲で試してください。」| 失敗ケース | 対応 |
|---|---|
| コネクタが見つからない | 停止;インストール手引きを表示。 |
| ボードが解決できない | ボードを指定するようユーザーに依頼。 |
| ツールが利用不可 | 「アクティビティ・インサイツはこのアカウントのコネクタではまだ利用できません。」 |
| 結果がない | 日付範囲を確認;より広い範囲を試すよう提案。 |
| 営業担当者名が見つからない | 明確化を依頼するか、list_users_and_teams で利用可能な営業担当者を一覧表示。 |
| 項目レベルの内容リクエスト | get-timeline-items にリダイレクト;get-activity-insights はボードレベルで動作。 |
board_id が解決されている。get-timeline-items にリダイレクトされている。Flow: Trigger → Connector check → Resolve board → Build query → Fetch insights → Synthesize.
A synthesized summary with specific numbers and rep-level breakdowns. Never raw JSON.
get-activity-insights returns aggregated counts — not individual activity records. For activity history with content, use get-timeline-items.["type"] for activity breakdown; ["userId", "type"] for per-rep breakdown; ["userId"] for rep totals only.board_id is required — always resolve it before calling the tool.get-activity-insights — aggregated activity stats (counts, duration) grouped by rep, type, or item.get_user_context — user identity and account info.search / get_board_info / get_board_items_page — resolve boards and items.list_users_and_teams — resolve rep names to user IDs for filtering.get-timeline-items — fallback for item-level activity detail (content, not aggregates).| User says | groupBy | Notes |
|---|---|---|
| "How many calls did each rep make?" | ["userId", "type"] |
Per-rep breakdown |
| "What's the activity breakdown this week?" | ["type"] |
Team totals by type |
| "Who's the most active rep?" | ["userId"] |
Rep totals only |
| "How many emails did John send?" | ["type"] |
+ userIds filter |
| "Activity on the Acme deal?" | ["type"] |
+ itemIds filter — or use get-timeline-items for content |
| "Compare rep performance last month" | ["userId", "type"] |
Set fromDate/toDate |
mcp__monday__get_user_context. On error → print connector install prompt, stop.get-activity-insights requires a board_id.
mcp__monday__search or mcp__monday__get_board_info to resolve the ID.mcp__monday__search({ query: "deals" }) to find the most likely CRM board. Still ambiguous → ask.Parse the argument:
groupBy:
["userId", "type"]["type"]["userId", "type"]Date range:
fromDate: 30 days agofromDate: start of todayfromDate / toDateFilters:
mcp__monday__list_users_and_teams, pass userIdsitemIds (or redirect to get-timeline-items for content)aggregationType: default count. Use sum / avg for duration questions ("how long were the calls").
mcp__monday__get-activity-insights with resolved parameters.total_results === 0:
"No activities found on <board> in the last <window>. The team may not have logged activities yet, or try a wider date range."| Failure | Behavior |
|---|---|
| Connector missing | Stop; print install prompt. |
| Board not resolved | Ask user to specify the board. |
| Tool unavailable | "Activity insights aren't available on the connector for your account yet." |
| No results | Confirm date range; suggest widening. |
| Rep name not found | Ask for clarification or list available reps via list_users_and_teams. |
| Item-level content request | Redirect to get-timeline-items; get-activity-insights operates at board level. |
board_id resolved before calling the tool.get-timeline-items.原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。