Chart Link Analysis

作者 amplitude96fc7d4c58bb無授權條款42 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Answers questions from an Amplitude chart or dashboard link — fetch the definition, pull the data, explain or adapt it. Use when the user pastes an Amplitude URL, asks "what does this chart show", wants a report refreshed from a dashboard, or wants to clone/adapt an existing analysis.

僅含說明Data & Analytics
AI 產生的概覽

讀取 Amplitude 圖表或儀表板連結,取得其定義與資料,並解釋、更新或改編該分析。

功能
將 Amplitude 連結解析為實體類型與 ID,接著讀取圖表或儀表板定義並拉取底層資料。它可以依指定粒度更新報表,編輯具型別的圖表參數以派生分析並保持與父圖表的關聯,並渲染結果供使用者儲存。它也支援透過逐一重建圖表來複製整個儀表板。
適用情境
當使用者貼上 Amplitude 圖表、儀表板、實驗、筆記本或族群連結並想了解其內容時使用。也適用於從儀表板更新報表,或複製並改編現有分析的需求。
執行需求
需要存取 Amplitude 工具:get_from_url、get_amplitude_charts、use_amp_dashboards、query_amplitude_data 與 render_amplitude_chart,以及有效的 Amplitude 認證與網路存取。此技能不附帶指令碼;儲存圖表由使用者在元件中完成。

Chart Link Analysis

Second most common job: the user pastes a link and wants the analysis understood, refreshed, or adapted.

The arc

  1. Resolve the URL. get_from_url returns the entity type, IDs, and (for charts) the current definition. One call handles chart, dashboard, experiment, notebook, and cohort links — use it instead of asking the user for IDs.
  2. Read the definition. For a chart: get_amplitude_charts with include: 'typed' — the typed params mirror the chart-builder UI and are the fastest way to see how the project spells events/properties. If typed fails to lower the chart ("advanced features are not modeled"), fall back to include: 'definition' for the raw form. For a dashboard: use_amp_dashboards action: 'get' (batch ≤3) to get its chart list, then read the charts that matter.
  3. Pull the data. get_amplitude_charts include: 'data' with the chart IDs, ≤3 IDs per call. For a report refresh, request the granularity the report needs (daily for week-over-week, weekly for monthlies).
  4. Adapt or fork. Edit the typed params, then call query_amplitude_data with the edited chart and chartId set to the saved chart's id — the parent's params fill gaps the typed model omits, and the edit stays linked to its parent. Render the result with render_amplitude_chart; the user saves it from the widget's Save chart button (there is no model-facing save tool). To replicate a whole dashboard in a new context: read the reference dashboard, then rebuild each chart — do not try to "copy" in one call.

Expectations to set

  • get_from_url does not run the chart — it returns metadata/definition. Data always comes from get_amplitude_charts include: 'data' (saved charts) or query_amplitude_data (ad hoc).
  • include: 'data' returns the same numbers the UI shows, including Amplitude's timezone bucketing — when comparing against external sources (e.g. BigQuery), call out timezone and partial-day differences explicitly.
  • Definition reads are cheap; data reads are the expensive calls. Read all definitions first, then decide which 1–3 charts actually need data.
  • Just need the link for the user? include: 'link' (the default) validates the ids and returns URLs without running anything.

來源與署名

來源:amplitude/mcp-marketplace位於plugins/amplitude/skills/chart-link-analysis提交96fc7d4

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架