Adobe Target MCP伺服器工具參考 target-mcp-tools-reference

在此頁面上:​瞭解Adobe Target MCP伺服器公開哪些工具、引數、傳回值以及每個工具的範例提示。

AVAILABILITY
Adobe Target MCP伺服器可供​ 公用Beta ​中的所有客戶使用。 目前在​Claude Web、Claude Desktop、Claude Code、Cursor​和​ ChatGPT ​中支援。

此參考資料說明Adobe Target MCP伺服器公開的所有工具。 每個工具都有說明、引數、傳回值以及自然語言提示範例。 如需設定指示和使用案例,請參閱開始使用和使用案例和逐步說明。

IMPORTANT
模型內容通訊協定(MCP)是一種新興的開放原始碼標準,可能會帶來安全性或可靠性風險。 Adobe MCP伺服器整合和相關檔案係依「現況」提供,不提供任何形式的保證。
將MCP使用者端或伺服器連線至Adobe產品是客戶選擇的組態,客戶需負責評估任何MCP整合的安全性和適用性。 Adobe對於因設定錯誤、誤用MCP、協力廠商實作中的漏洞,或透過啟用MCP的工作流程執行的意外動作所引起的問題,概不負責。
為了降低風險,Adobe鼓勵您在有效使用之前在沙箱環境中測試整合,並在確認或依賴之前,仔細檢閱及驗證所有MCP啟動的動作和回應。

先決條件 tools-prerequisites

使用者的Adobe Target角色決定可用的工具:

  • 觀察者​角色或更新版本:存取所有唯讀工具
  • 編輯者​角色或更新版本:存取讀取工具和寫入工具(建立、更新)
  • 核准者​角色:存取所有工具,包括啟用和停用

如需完整的安裝指示,請參閱開始使用。

活動工具 tools-activities

NOTE
讀取和寫入作業有不同的範圍。 get_activity會擷取所有型別的活動(A/B測試、體驗鎖定目標、Automated Personalization、自動分配、多變數測試、Recommendations)。 update_activity支援A/B測試、體驗鎖定目標和Automated Personalization;透過MCP伺服器,自動分配、多變數測試和Recommendations活動為唯讀。
功能
A/B 測試
體驗鎖定目標
Automated Personalization
自動分配
多變數測試
推薦
get_activity
✓
✓
✓
✓
✓
✓
list_target_activities
✓
✓
✓
✓
✓
✓
get_activity_performance_report
✓
✓
✓
✓
✓
✓
get_activity_orders_report
✓
✓
✓
✓
✓
✓
update_activity
✓
✓
✓
—
—
—
生命週期編輯(狀態、優先順序、名稱、排程)
✓
✓
✓
✓
✓
✓
變體和流量編輯
✓
✓
✓
—
—
—
建立
✓
✓
—
—
—
—
列出活動

工具: list_target_activities

列出Adobe Target個具有伺服器端篩選和排序的活動。

擷取活動的分頁清單。 所有篩選器都是由Target Admin API在伺服器端套用。 伺服器每頁最多可傳回200個活動。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4 5-row-4 6-row-4 7-row-4 8-row-4 9-row-4 10-row-4 11-row-4 12-row-4 13-row-4 14-row-4 15-row-4 16-row-4 17-row-4 18-row-4
參數 類型 必要 說明
limit 整數 無 要傳回的活動數上限(伺服器上限: 200)
offset 整數 無 為分頁要略過的活動數
sort_by string 否 排序依據的欄位。 前置詞以-遞減順序(例如,-modifiedAt)。 選項: id、name、state、priority、startsAt、endsAt、lifetimeStart、lifetimeEnd、createdAt、createdBy、modifiedAt、modifiedBy、type、thirdPartyId
state string 否 依活動狀態篩選: approved (即時/作用中)、deactivated (非作用中)、paused、saved (草稿)
activity_type string 否 依型別篩選: ab (A/B測試)、xt (體驗鎖定目標)、abt (Automated Personalization)、auto_allocate (自動分配)、mvt (多變數測試)、recs (建議)
name_contains string 否 篩選名稱包含此字串(不區分大小寫)的活動
starts_after string 否 ISO 8601日期 — 在此日期之後開始的活動
starts_before string 否 ISO 8601日期 — 在此日期之前開始的活動
modified_after string 否 ISO 8601日期 — 在此日期之後修改的活動
ends_after string 否 ISO 8601日期 — 在此日期之後結束的活動
ends_before string 否 ISO 8601日期 — 在此日期之前結束的活動
workspace string 否 依工作區ID篩選
segment_id string 否 依對象區段ID篩選
profile_attribute_id string 否 依設定檔屬性ID篩選
priority 整數 無 依確切的優先順序值篩選(0-999)
mbox string 否 依mbox/位置名稱篩選
offer_id string 否 依優惠ID篩選
view_id string 否 依SPA檢視ID篩選

傳回: JSON物件具有activities (物件清單包括id、name、state、type、priority、modifiedAt、startsAt、endsAt)和total (總計數,可能會超過傳回的頁面大小)。

範例提示:「列出所有依最近修改排序的作用中A/B測試」。

取得活動

工具: get_activity

取得任何型別活動的詳細資訊。

擷取特定活動的完整設定,自動偵測活動型別。 支援A/B測試、體驗鎖定目標、Automated Personalization、自動分配、多變數測試和Recommendations活動。

table 0-row-4 1-row-4
參數 類型 必要 說明
activity_id 整數 是 活動的唯一識別碼

傳回:​完整的活動詳細資料,包括中繼資料(名稱、狀態、優先順序、日期)、體驗、位置和選件、目標和量度,以及目標規則。

範例提示:「取得活動12345的詳細資料」。

建立A/B活動

工具: create_ab_activity

建立新的A/B測試活動。

使用指定的組態(包括體驗、選件和鎖定目標)建立新的A/B測試。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4 5-row-4 6-row-4 7-row-4 8-row-4 9-row-4 10-row-4
參數 類型 必要 說明
name string 是 活動的名稱
state string 否 初始狀態: approved、deactivated或saved (預設: saved)
priority 整數 無 活動優先順序(0-999,預設: 0)
starts_at string 否 活動開始日期(ISO 8601)
ends_at string 否 活動結束日期(ISO 8601)
experiences 陣列 是 體驗設定清單
locations 陣列 是 位置/mbox設定清單
goals 物件 無 主要和次要目標量度
audiences 陣列 否 Target對象設定
workspace_id string 否 活動的Workspace ID

傳回:​已建立的活動物件及其指派的識別碼。

範例提示: 「建立名為’Homepage Hero Test’的A/B測試,其中包含兩個體驗,測試homepage-hero mbox上的不同主圖影像。」

建立體驗鎖定目標活動

工具: create_xt_activity

建立新的體驗鎖定目標(XT)活動。

建立XT活動,此活動會根據鎖定目標規則將不同的體驗提供給不同的對象。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4 5-row-4 6-row-4 7-row-4 8-row-4 9-row-4
參數 類型 必要 說明
name string 是 活動的名稱
state string 否 初始狀態: approved、deactivated或saved (預設: saved)
priority 整數 無 活動優先順序(0-999,預設: 0)
starts_at string 否 活動開始日期(ISO 8601)
ends_at string 否 活動結束日期(ISO 8601)
experiences 陣列 是 具有對象對應的體驗設定清單
locations 陣列 是 位置/mbox設定清單
goals 物件 無 主要和次要目標量度
workspace_id string 否 活動的Workspace ID

傳回:​已建立的活動物件及其指派的識別碼。

範例提示: 「建立稱為『地理Personalization』的體驗鎖定目標活動,對來自不同地區的訪客顯示不同的內容。」

更新活動

工具: update_activity

更新現有的A/B測試、體驗鎖定目標或Automated Personalization活動。

使用讀取 — 修改 — 寫入模式:擷取目前狀態、合併要求的變更、驗證並傳送更新。 支援A/B測試、體驗鎖定目標和Automated Personalization活動;自動分配、多變數測試和Recommendations活動為唯讀。 結構化goal、audience_ids和additional_metrics引數僅支援A/B測試和體驗鎖定目標;Automated Personalization活動接受純欄位合併更新。

table 0-row-4 1-row-4 2-row-4
參數 類型 必要 說明
activity_id 整數 是 要更新之活動的唯一識別碼
activity 物件 是 要更新的欄位(名稱、優先順序、體驗、位置、目標等)

傳回:​更新的活動物件。

範例提示:「更新活動12345以將流量分配變更為70/30」。

更新活動排程

工具: update_activity_schedule

更新活動的開始和結束日期。

更新活動的排程,而不修改其他設定。

table 0-row-4 1-row-4 2-row-4 3-row-4
參數 類型 必要 說明
activity_id 整數 是 活動的唯一識別碼
starts_at string 否 新的開始日期(ISO 8601)
ends_at string 否 新的結束日期(ISO 8601)

傳回:​排程更新的確認。

範例提示:「更新A/B活動12345動從5月1日到5月31日執行的排程」。

變更活動狀態

工具: update_activity_state

變更活動狀態(啟動、停用或暫停)。

table 0-row-4 1-row-4 2-row-4
參數 類型 必要 說明
activity_id 整數 是 活動的唯一識別碼
state string 是 新狀態: approved (即時/作用中)、deactivated (非作用中)、paused或saved (草稿)

傳回:​更新的活動狀態。

範例提示:「啟動活動12345」或「暫停首頁主圖測試」。

重新命名活動

工具: update_activity_name

重新命名活動。

只更新名稱,不修改完整設定。

table 0-row-4 1-row-4 2-row-4
參數 類型 必要 說明
activity_id 整數 是 活動的唯一識別碼
name string 是 新活動名稱

傳回:​更新的活動物件。

範例提示:「將活動12345重新命名為’Summer Campaign Hero Test’。」

變更活動優先順序

工具: update_activity_priority

變更活動優先順序。

當多個活動鎖定相同位置時,優先順序較高的活動優先。

table 0-row-4 1-row-4 2-row-4
參數 類型 必要 說明
activity_id 整數 是 活動的唯一識別碼
priority 整數 是 新的優先順序值(0-999;較高=較高的優先順序)

傳回:​更新的活動物件。

範例提示:「將活動12345的優先順序設為100。」

將變體新增至活動

工具: add_activity_variant

將新的體驗/變體新增至活動。

處理所有結構協調,包括建立選項、對應至位置以及重新平衡流量。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4 5-row-4 6-row-4 7-row-4 8-row-4
參數 類型 必要 說明
activity_id 整數 是 要修改之活動的ID
activity_type string 是 活動型別: ab、xt或abt
variant_name string 是 新體驗/變體的名稱
offer_id 整數 無 (表單式)要使用的現有優惠方案ID
offer_content string 否 (表單式)新的內嵌選件的HTML內容
traffic_percentage 整數 無 新變體的流量% (1-99)。 如果省略,流量會平均重新平衡
audience_id 整數 無 變體的對象ID (XT活動)
modifications 陣列 否 (VEC) CSS選取器型修改清單

傳回:​更新的活動物件。

範例提示:「使用選件67890則12345新增名為’Holiday Theme’的新變體至A/B活動。」

更新流量分割

工具: update_traffic_split

更新變體間的流量分配。

百分比總和必須剛好為100。

table 0-row-4 1-row-4 2-row-4 3-row-4
參數 類型 必要 說明
activity_id 整數 是 要修改之活動的ID
activity_type string 是 活動型別: ab或abt (不支援XT — 以對象為目標)
splits 物件 是 字典對應體驗名稱到百分比。 必須包含所有體驗,且總和必須為100

傳回:​更新的活動物件。

範例提示:「將活動12345的流量分割變更為70%控制項和30%變體A。」

變更變體的選件

工具: update_variant_offer

變更特定變體的選件。

適用於表單式活動(使用offer_id)和VEC活動(使用modifications)。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4 5-row-4 6-row-4
參數 類型 必要 說明
activity_id 整數 是 要修改之活動的ID
activity_type string 是 活動型別: ab、xt或abt
variant_name string 是 要更新的體驗/變體的名稱
offer_id 整數 無 (表單式)新優惠方案ID
offer_content string 否 (表單式)新的內嵌選件的HTML內容
modifications 陣列 否 (VEC) CSS選取器型修改的新清單

傳回:​更新的活動物件。

範例提示:「更新活動12345中的「變體A」體驗,以使用選件99999。」

從活動中移除變體

工具: remove_activity_variant

從活動中移除體驗/變體。

移除體驗、清除孤立的選項,以及在其餘變體間平均重新平衡流量。

table 0-row-4 1-row-4 2-row-4 3-row-4
參數 類型 必要 說明
activity_id 整數 是 要修改之活動的ID
activity_type string 是 活動型別: ab、xt或abt
variant_name string 是 要移除的體驗/變體的名稱

傳回:​更新的活動物件。

範例提示:「從A/B活動12345動移除’Test Variant’體驗」。

優惠工具 tools-offers

列出優惠方案

工具: list_target_offers

列出Target租使用者中的所有優惠。

擷取具有選擇性篩選功能的內容選件分頁清單。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4
參數 類型 必要 說明
limit 整數 無 要傳回的最大優惠方案數量
offset 整數 無 略過分頁的優惠方案數量
type string 否 依選件型別篩選: content (HTML)、json或redirect
name string 否 依選件名稱篩選(部分符合)

傳回:​具有offers的JSON物件(物件清單,包括id、name、type、content、modifiedAt)和total。

範例提示:「列出所有JSON選件」。

取得優惠方案

工具: get_target_offer

取得特定優惠方案的詳細資訊。

table 0-row-4 1-row-4
參數 類型 必要 說明
offer_id 整數 是 優惠方案的唯一識別碼

傳回:​完整優惠詳細資料,包括id、name、type、content、workspace和modifiedAt。

範例提示:「取得優惠67890動的詳細資料」。

建立HTML選件

工具: create_target_offer

建立新的HTML內容選件。

table 0-row-4 1-row-4 2-row-4 3-row-4
參數 類型 必要 說明
name string 是 優惠方案名稱
content string 是 選件的HTML或文字內容
workspace_id string 否 優惠的Workspace ID

傳回:​已建立的選件及其指派的識別碼。

範例提示: 「使用促銷橫幅建立名為’Summer Sale Banner’的HTML優惠。」

建立JSON選件

工具: create_target_json_offer

建立新的JSON選件來傳遞結構化資料。

table 0-row-4 1-row-4 2-row-4 3-row-4
參數 類型 必要 說明
name string 是 優惠方案名稱
content 物件 是 選件的JSON內容
workspace_id string 否 優惠的Workspace ID

傳回:​已建立的選件及其指派的識別碼。

範例提示: 「使用功能切換設定建立名為’Feature Flags Config’的JSON選件。」

更新優惠方案

工具: update_target_offer

更新現有優惠方案。

table 0-row-4 1-row-4 2-row-4 3-row-4
參數 類型 必要 說明
offer_id 整數 是 要更新之優惠方案的唯一識別碼
name string 否 已更新優惠方案名稱
content 字串或物件 否 更新的優惠內容

傳回:​更新的選件物件。

範例提示:「使用新的促銷內容更新優惠67890案」。

對象工具 tools-audiences

列出對象

工具: list_target_audiences

列出Target租使用者中的所有對象。

table 0-row-4 1-row-4 2-row-4
參數 類型 必要 說明
limit 整數 無 要傳回的對象數量上限
offset 整數 無 為分頁要略過的對象數

傳回:​具有audiences的JSON物件(物件清單,包括id、name、description、origin、modifiedAt)和total。

範例提示:「列出所有對象」。

取得受眾

工具: get_target_audience

取得對象詳細資料,包括目標定位規則。

擷取特定對象的完整設定,包括其鎖定目標規則和條件。

table 0-row-4 1-row-4
參數 類型 必要 說明
audience_id 整數 是 對象的唯一識別碼

傳回:​完整的對象詳細資料,包括id、name、description、origin、目標定位規則和相關聯的活動計數。

範例提示: 「取得對象12345的詳細資料,並顯示其目標規則。」

建立客群

工具: create_target_audience

使用鎖定目標規則建立新的對象。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4
參數 類型 必要 說明
name string 是 對象名稱
description string 否 對象說明
targetRule 物件 無 鎖定目標規則(地理、瀏覽器、自訂屬性等)
workspace_id string 否 對象的Workspace ID

傳回:​已建立的對象及其指派的識別碼。

範例提示: 「在CA中建立名為『來自加州的行動訪客』以行動使用者為目標的對象。」

Mbox工具 tools-mboxes

清單mbox

工具: list_target_mboxes

列出Target租使用者中的所有mbox。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4
參數 類型 必要 說明
limit 整數 無 要傳回的mbox數量上限
offset 整數 無 要略過分頁的mbox數量
name string 否 依mbox名稱篩選(部分符合)
status string 否 依狀態篩選

傳回:​具有mboxes的JSON物件(物件清單,包括name、status、lastRequestTime)和total。

範例提示:「列出所有包含’homepage’的mbox」。

取得mbox

工具: get_target_mbox

取得特定mbox的詳細資訊。

table 0-row-4 1-row-4
參數 類型 必要 說明
mbox_name string 是 mbox的名稱

傳回: Mbox詳細資料,包括name、status以及使用mbox的活動清單。

範例提示:「取得mbox 'homepage-hero’的詳細資料」。

清單mbox設定檔屬性

工具: list_target_mbox_profile_attributes

列出所有可用於鎖定目標的mbox設定檔屬性。

不需要引數。

傳回:​設定檔屬性物件的JSON陣列。

範例提示: 「哪些設定檔屬性可用於目標定位?」

屬性工具 tools-properties

清單屬性

工具: list_target_properties

列出Target租使用者中的所有屬性。

屬性可組織活動並控制存取。

不需要引數。

傳回:​屬性物件清單,包括id、name、description和channel。

範例提示:「列出所有Target屬性」。

報告工具 tools-reporting

取得活動績效報表

工具: get_activity_performance_report

取得任何型別活動的效能報表。

擷取轉換率、提升度和信賴水準。 支援A/B測試、體驗鎖定目標、Automated Personalization、自動分配、多變數測試和Recommendations活動。

table 0-row-4 1-row-4 2-row-4
參數 類型 必要 說明
activity_id 整數 是 活動的唯一識別碼
report_interval string 否 報告的時段(例如,last7days、last30days或自訂日期範圍)

傳回:​體驗層級量度(訪客、轉換、轉換率)、提升度計算、統計信賴度及收入量度(如果已設定)。

範例提示: 「顯示過去30天活動12345動的執行報告。」

取得活動訂單報表

工具: get_activity_orders_report

取得任何型別活動的訂單/收入報表。

支援A/B測試、體驗鎖定目標、Automated Personalization、自動分配、多變數測試和Recommendations活動。

table 0-row-4 1-row-4 2-row-4
參數 類型 必要 說明
activity_id 整數 是 活動的唯一識別碼
report_interval string 否 報告的時段

傳回:​訂單計數、收入,以及體驗的平均訂單值。

範例提示:「取得活動12345的訂單報表」。

依活動名稱取得效能報表

工具: get_activity_report_by_name

依名稱搜尋活動並取得其效能報表。

在活動名稱已知但其ID未知時很有用。

table 0-row-4 1-row-4 2-row-4
參數 類型 必要 說明
activity_name string 是 要搜尋的活動名稱
report_interval string 否 報告的時段

傳回:​活動詳細資料和績效測量結果。

範例提示: 「取得我的『首頁主圖測試』活動的效能報告」。

取得Analytics for Target (A4T)報表

工具: get_a4t_report

擷取Target活動的Analytics for Target (A4T)報告。

驗證活動的A4T設定,然後對Adobe Analytics執行GraphQL查詢以擷取Analytics端量度。 僅適用於已設定A4T報告的活動。

table 0-row-4 1-row-4 2-row-4
參數 類型 必要 說明
activity_id 整數 是 Target活動的唯一識別碼
report_interval string 否 報告的時段(例如,last7days、last30days或自訂日期範圍)

傳回:​活動的分析端量度,包括直接從Adobe Analytics取得的訪客計數、轉換、收入和體驗提升度。

範例提示:「提取A4T報告供我的簽出最佳化測試使用,並彙總Analytics端的轉換資料」。

預覽工具 tools-preview

預覽活動

工具: preview_activity

產生Target活動的瀏覽器QA預覽URL。

建立可點按的預覽連結,強制顯示特定體驗,略過對象鎖定目標規則。 適用於A/B、XT和Automated Personalization活動。

table 0-row-4 1-row-4 2-row-4 3-row-4
參數 類型 必要 說明
activity_id 整數 是 要預覽的Target活動識別碼
experience_index 整數 無 0型體驗索引。 如果省略,會傳回所有體驗的URL
url string 否 預覽的頁面URL。 表單式活動的必要專案。 針對VEC活動,會覆寫編寫的位置(如果提供)

傳回:​活動資訊(名稱、型別、狀態)、每個體驗的預覽URL,以及體驗名稱和索引。

範例提示: 「產生活動12345動的預覽URL,以便我測試瀏覽器中的每一個體驗。」

回應Token工具 tools-response-tokens

列出回應Token

工具: list_target_response_tokens

列出Target租使用者中的所有回應權杖。

擷取所有已設定的回應Token,包括內建和自訂。

不需要引數。

傳回:​回應權杖物件的JSON陣列,狀態為name、type和enabled。

範例提示:「列出所有回應Token」。

建立回應Token

工具: create_target_response_token

建立新的自訂回應Token,以在Target個回應中收集其他資料。

table 0-row-4 1-row-4 2-row-4
參數 類型 必要 說明
token_name string 是 回應Token的名稱
token_type string 是 語彙基元型別: SCRIPT、ACTIVITY、MBOX、GEO或CRS

傳回:​已建立的回應Token物件。

範例提示:「建立名為’campaign_id’的自訂回應Token,型別為ACTIVITY。」

修訂工具 tools-revisions

取得稽核記錄

工具: get_target_revisions

取得資源型別的稽核記錄。

擷取使用作者選擇性篩選對Target資源所做的變更。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4
參數 類型 必要 說明
revision_resource_type string 是 資源型別: activity、offer或audience
modified_by string 否 依進行變更的使用者篩選
limit 整數 無 要傳回的修訂數量上限
offset 整數 無 分頁要略過的修訂數量

傳回:​包含時間戳記、使用者和變更說明的修訂歷程記錄。

範例提示: 「顯示活動變更的稽核記錄」。

取得特定實體的修訂版本

工具: get_target_entity_revisions

依照ID取得特定實體的所有修訂版本。

table 0-row-4 1-row-4 2-row-4
參數 類型 必要 說明
revision_resource_type string 是 資源型別: activity、offer或audience
entity_id 整數 是 實體的唯一識別碼

傳回:​指定實體所有修訂的JSON陣列。

範例提示: 「顯示活動12345的所有變更。」

範本工具 tools-templates

列出可用的範本

工具: list_target_templates

列出可用於建立活動和優惠方案的MCP資源和範本。

不需要引數。

傳回: JSON物件列出可用的範本和資源。

範例提示: 「哪些範本可用於建立活動?」

Recommendations工具 tools-recommendations

NOTE
  • Recommendations工具需要具有​ Target Premium ​且已啟用Recommendations的租使用者。 在非Premium帳戶上,這些工具不會顯示在使用者端的工具清單中,且基礎API傳回403錯誤。
  • 這些工具支援「條件」、「集合」、「設計」、「促銷活動」和「排除專案」的清單、取得、建立和更新作業。 刪除操作不會透過MCP伺服器公開。
條件

工具: list_target_criteria,get_target_criteria,list_target_criteria_by_type,get_target_criteria_by_type,create_target_criteria,update_target_criteria

條件即為一種規則,用來根據預先決定的一組訪客行為決定要建議的專案。 條件已分組為9個型別系列: category、custom、item、cart、popularity、profileattribute、recent、sequence、userhistory。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4 5-row-4 6-row-4 7-row-4 8-row-4 9-row-4 10-row-4
參數 類型 必要 說明
criteria_id 整數 取得/更新 條件的唯一識別碼
criteria_type string 對於輸入的作業 9個條件系列中的一個
limit / offset 整數 無 分頁
name string 是(建立) 條件的唯一名稱
criteriaTitle string 否 透過$criteria.title顯示設計中使用的標題
description string 否 條件的說明
key string 是(建立/更新,大多數型別) 建議金鑰(例如,CURRENT, LAST_VIEWED, LAST_PURCHASED, MOST_VIEWED, PROFILE_ATTRIBUTE)
type string 是(建立/更新,大多數型別) 建議邏輯(例如,VIEWED_BOUGHT, BOUGHT_CF, VIEWED_CF, SITE_AFFINITY, SIMILARITY)
configuration 物件 是(建立/更新) 包含規則、屬性加權、價格篩選和其他系列專屬設定
daysCount string 因情況而異 考量的歷史時間範圍(例如,ONE_DAY到TWO_MONTHS)

list_target_criteria和get_target_criteria傳回最少的、跨系列條件中繼資料(id、name、criteriaTitle、criteriaGroup)。 搭配criteria_type使用list_target_criteria_by_type / get_target_criteria_by_type (或create_target_criteria / update_target_criteria)以使用完整、型別特定的組態。 每個系列的欄位需求不同 — 如需完整的每種型別結構描述,請參閱Adobe Recommendations API參考。

傳回:​條件物件或具有offset、limit、total和list的分頁清單。

範例提示:「列出此帳戶中設定的所有Recommendations條件,並摘要使用中的演演算法型別。」

集合

工具: list_target_collections,get_target_collection,create_target_collection,update_target_collection

集合會依相符規則將目錄實體分組,以用於條件和促銷活動。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4 5-row-4
參數 類型 必要 說明
collection_id 整數 取得/更新 集合的唯一識別碼
limit / offset 整數 無 分頁
name string 是 集合的唯一名稱(最多250個字元)
description string 否 集合說明(最多1000個字元)
rules 陣列 是 決定目錄成員資格的1-1000個規則(attribute +運運算元/運算元)

傳回:​集合物件,包括id、name、description、rules和上次修改的中繼資料。

範例提示: 「我有哪些集合,以及它們篩選了哪些目錄屬性?」

設計

工具: list_target_designs,get_target_design,create_target_design,update_target_design

設計是Velocity或HTML範本,可控制建議實體的呈現方式。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4 5-row-4 6-row-4
參數 類型 必要 說明
design_id 整數 取得/更新 設計的唯一識別碼
limit / offset 整數 無 分頁
includeScript 布林值 否 是否包含設計的範本內容
name string 是 設計的唯一名稱(最多250個字元)
script string 是 至少參照一個實體物件的Velocity範本(最多65,000個字元)
type string 否 指令碼的內容型別: HTML、JSON或OTHER (預設)

傳回:​設計物件,包括id、name、script和type。

範例提示: 「我為Recommendations設定了哪些設計和集合?」

促銷活動

工具: list_target_promotions,get_target_promotion,create_target_promotion,update_target_promotion

促銷活動會強制特定實體加入建議結果,使其優先於條件和備用建議。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4 5-row-4 6-row-4 7-row-4 8-row-4 9-row-4 10-row-4
參數 類型 必要 說明
promotion_id 整數 取得/更新 促銷的唯一識別碼
limit / offset 整數 無 分頁
name string 是 促銷活動的唯一名稱(最多250個字元)
type string 是 目前僅支援EXTERNAL
key string 否 促銷活動金鑰: CURRENT、LAST_VIEWED、LAST_PURCHASED、MOST_VIEWED或PROFILE_ATTRIBUTE
attribute string 否 設定檔屬性名稱,key為PROFILE_ATTRIBUTE時適用
schedule 物件 無 促銷套用的開始/結束時間視窗
order 物件 無 提升實體的排序設定
configuration 物件 無 已升級專案的集合參考(rules為空時使用)
rules 陣列 否 識別要提升哪些實體的包含規則

傳回:​推進物件。

範例提示: 「建立外部促銷活動,在8月底之前使用’Backpacking Tents’集合。」

排除項目

工具: list_target_exclusions,get_target_exclusion,create_target_exclusion,update_target_exclusion

排除專案會從建議結果中移除相符的實體。 排除專案會套用至整個帳戶,並涵蓋所有條件和活動。

table 0-row-4 1-row-4 2-row-4 3-row-4 4-row-4
參數 類型 必要 說明
exclusion_id 整數 取得/更新 排除的唯一識別碼
name string 是 排除專案的唯一名稱(最多250個字元)
description string 否 排除專案說明(最多1000個字元)
rule 物件 無 識別要排除之實體的單一規則(attribute +運運算元/運算元)

傳回:​排除物件。

範例提示: 「目前是否已設定任何全帳戶排除專案,以及這些專案會篩選哪些專案?」

目錄

工具: get_target_entity,search_target_catalog

檢查Recommendations產品/內容目錄的唯讀工具。 沒有透過MCP伺服器建立、更新或刪除目錄實體的工具。

table 0-row-4 1-row-4 2-row-4 3-row-4
參數 類型 必要 說明
catalog_entity_id string 是(取得) 目錄實體ID (例如SKU)
environment_id string 否 要在其中查詢實體的環境
query 物件 是(搜尋) meta區塊(需要environmentId,選用的displayFields)加上query區塊(simple或compound);簡單查詢使用queryFields、operator (eq、lt、gt、le、ge、contains)和matchValue

傳回: get_target_entity傳回實體的目錄屬性。 search_target_catalog在entities陣列中傳回符合專案。 query中的欄位名稱必須為租使用者設定的實際目錄屬性。

範例提示:「搜尋目錄中的存貨低於1000的產品。」

工具摘要 tools-summary

類別
計數
工具
活動
13
list_target_activities, get_activity, create_ab_activity, create_xt_activity, update_activity, update_activity_schedule, update_activity_state, update_activity_name, update_activity_priority, add_activity_variant, update_traffic_split, update_variant_offer, remove_activity_variant
產品建議
5
list_target_offers, get_target_offer, create_target_offer, create_target_json_offer, update_target_offer
客群
4
list_target_audiences, get_target_audience, create_target_audience, update_target_audience
mbox
3
list_target_mboxes, get_target_mbox, list_target_mbox_profile_attributes
屬性
1
list_target_properties
報表
4
get_activity_performance_report, get_activity_orders_report, get_activity_report_by_name, get_a4t_report
預覽
1
preview_activity
回應Token
2
list_target_response_tokens, create_target_response_token
修訂
2
get_target_revisions, get_target_entity_revisions
at.js
2
get_atjs_settings, get_atjs_versions
範本
1
list_target_templates
推薦
24
list_target_criteria, get_target_criteria, list_target_criteria_by_type, get_target_criteria_by_type, create_target_criteria, update_target_criteria, list_target_collections, get_target_collection, create_target_collection, update_target_collection, list_target_designs, get_target_design, create_target_design, update_target_design, list_target_promotions, get_target_promotion, create_target_promotion, update_target_promotion, list_target_exclusions, get_target_exclusion, create_target_exclusion, update_target_exclusion, get_target_entity, search_target_catalog
總計
62
AI Knowledge Reference

This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.

For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.

  • TL;DR: Reference for the tools exposed by the Adobe Target MCP server, giving for each tool a description, parameter details, return value, and an example natural-language prompt.

Intents:

  • Find a tool in the Activity, Offer, Audience, Mbox, Property, Reporting, Preview, Response token, Revision, Template, or Recommendations tools.
  • Look up the parameters of a tool: type, whether it is required, and description.
  • See what a tool returns and read its example prompt.
  • Check which activity types a tool supports.
  • Find out which tools are available to you for your Adobe Target role.

Glossary:

  • Model Context Protocol (MCP): An emerging open-source standard.
  • Activity type values (product-specific): For the activity_type filter of list_target_activities, the values are ab (A/B Test), xt (Experience Targeting), abt (Automated Personalization), auto_allocate (Auto-Allocate), mvt (Multivariate Test), and recs (Recommendations).
  • Activity state values (product-specific): For the state filter of list_target_activities and the state parameter of update_activity_state, the values are approved (live/active), deactivated (inactive), paused, and saved (draft).
  • Priority (product-specific): Higher-priority activities take precedence when multiple activities target the same location; a higher value means a higher priority.
  • Read-modify-write pattern: The pattern that update_activity uses: it fetches the current state, merges your changes, validates, and sends the update.
  • Properties (product-specific): Properties organize activities and control access.
  • Response tokens (product-specific): list_target_response_tokens retrieves all configured response tokens, both built-in and custom; a custom response token collects additional data in Target responses.
  • Criteria (product-specific): Rules that determine which items to recommend, based on a predetermined set of visitor behaviors. Criteria are grouped into 9 typed families: category, custom, item, cart, popularity, profileattribute, recent, sequence, userhistory.
  • Collections (product-specific): Collections group catalog entities by matching rules, for use in criteria and promotions.
  • Designs (product-specific): Velocity or HTML templates that control how recommended entities are rendered.
  • Promotions (product-specific): Promotions force specific entities into recommendation results, taking precedence over criteria and backup recommendations.
  • Exclusions (product-specific): Exclusions remove matching entities from recommendation results. Exclusions apply account-wide, across all criteria and activities.
  • Catalog (product-specific): The Recommendations product/content catalog, inspected with get_target_entity and search_target_catalog.
  • A4T report (product-specific): Analytics-side metrics for a Target activity, including visitor counts, conversions, revenue, and lift by experience, sourced directly from Adobe Analytics and returned by get_a4t_report.

Guardrails:

  • list_target_activities: the server returns at most 200 activities per page, and the limit parameter has a server max of 200 (hard limit); total may exceed the returned page size.
  • Priority is 0–999; the default is 0 in create_ab_activity and create_xt_activity.
  • add_activity_variant: traffic_percentage is 1–99; if omitted, traffic is rebalanced evenly.
  • update_traffic_split: the percentages must sum to exactly 100, and splits must include all experiences.
  • create_ab_activity and create_xt_activity: the initial state is approved, deactivated, or saved (default: saved).
  • The starts_after, starts_before, modified_after, ends_after, and ends_before filters of list_target_activities, and the starts_at and ends_at parameters, take ISO 8601 dates.
  • preview_activity: url is required for form-based activities; for VEC activities, url overrides the authored location if provided.
  • Recommendations tools, name: max 250 characters (hard limit) for collections, designs, promotions, and exclusions.
  • Recommendations tools, description: max 1000 characters (hard limit) for collections and exclusions.
  • Collections: rules is required, with 1–1000 rules.
  • Designs: script references at least one entity object, max 65,000 characters (hard limit).
  • Promotions: type currently only EXTERNAL is supported.
  • Recommendations tools support list, get, create, and update operations for Criteria, Collections, Designs, Promotions, and Exclusions; delete operations are not exposed through the MCP server.
  • Catalog tools are read-only: there is no create, update, or delete tool for catalog entities through the MCP server. In search_target_catalog, field names in query must be real catalog attributes configured for the tenant.
  • The Model Context Protocol (MCP) may present security or reliability risks. Adobe MCP server integrations and related documentation are provided “as is,” without warranties of any kind.
  • Connecting MCP clients or servers to Adobe products is a customer-elected configuration, and customers are responsible for evaluating the security and suitability of any MCP integration. Adobe is not responsible for issues arising from misconfiguration, misuse of the MCP, vulnerabilities in third-party implementations, or unintended actions performed through MCP-enabled workflows.

Prerequisites and permissions:

  • Your Adobe Target role determines which tools are available to you.
  • Observer role or higher: access to all read-only tools.
  • Editor role or higher: access to read tools plus write tools (create, update).
  • Approver role: access to all tools including activation and deactivation.
  • Recommendations tools: require a Recommendations-enabled tenant with Target Premium. On non-Premium accounts, these tools are not shown in the client’s tool list, and the underlying API returns a 403 error.

Applicability:

  • The Adobe Target MCP server is available to all customers in Public Beta.
  • The Adobe Target MCP server is currently supported in Claude Web, Claude Desktop, Claude Code, Cursor, and ChatGPT.
  • Read and write operations have different scope. get_activity, list_target_activities, get_activity_performance_report, and get_activity_orders_report apply to A/B Test, Experience Targeting, Automated Personalization, Auto-Allocate, Multivariate Test, and Recommendations activities; update_activity applies to A/B Test, Experience Targeting, and Automated Personalization activities.
  • update_activity: the structured goal, audience_ids, and additional_metrics parameters apply to A/B Test and Experience Targeting only; Automated Personalization activities accept plain field-merge updates.
  • Create applies to A/B Test and Experience Targeting activities (create_ab_activity and create_xt_activity).
  • add_activity_variant, update_variant_offer, and remove_activity_variant accept the activity_type values ab, xt, or abt. update_traffic_split accepts ab or abt; XT is not supported (audience-targeted).
  • preview_activity works for A/B, XT, and Automated Personalization activities.
  • get_a4t_report is only available for activities that have A4T reporting configured.

Terminology:

  • Canonical name: Model Context Protocol — Acronym: MCP
  • Canonical name: Experience Targeting — Acronym: XT
  • Canonical name: Analytics for Target — Acronym: A4T
  • Canonical name: Adobe Target — variants: Target
  • Synonyms: “experience” = “variant” (the page writes “experience/variant” for the item that add_activity_variant adds and remove_activity_variant removes)
  • Do not confuse: list_target_criteria and get_target_criteria (minimal, cross-family criteria metadata: id, name, criteriaTitle, criteriaGroup) ≠ list_target_criteria_by_type and get_target_criteria_by_type (used with a criteria_type to work with the full, type-specific configuration, as are create_target_criteria and update_target_criteria).
  • Do not confuse: “form-based activities” (using offer_id, or offer_content for a new inline offer) ≠ “VEC activities” (using modifications).

FAQ:

  • Which activity types do create_ab_activity, create_xt_activity, and update_activity support? create_ab_activity creates an A/B test activity and create_xt_activity creates an Experience Targeting (XT) activity; update_activity supports A/B Test, Experience Targeting, and Automated Personalization activities.
  • How many activities does list_target_activities return? The server returns at most 200 activities per page; offset is the number of activities to skip for pagination, and total may exceed the returned page size.
  • What must the percentages sum to in update_traffic_split? The percentages must sum to exactly 100, and splits must include all experiences.
  • What happens to traffic when I remove a variant? remove_activity_variant removes the experience, cleans up orphaned options, and rebalances traffic evenly across remaining variants.
  • Why are the Recommendations tools not shown in the client’s tool list? Recommendations tools require a Recommendations-enabled tenant with Target Premium; on non-Premium accounts, these tools are not shown in the client’s tool list, and the underlying API returns a 403 error.
  • How many tools does the Tools summary list? The Tools summary lists a Total of 62 tools: Activity 13, Offer 5, Audience 4, Mbox 3, Property 1, Reporting 4, Preview 1, Response token 2, Revision 2, AT.js 2, Template 1, and Recommendations 24.

Examples:

  • Example prompt for list_target_activities: “List all active A/B tests sorted by most recently modified.”
  • Example prompt for create_ab_activity: “Create an A/B test called ‘Homepage Hero Test’ with two experiences testing different hero images on the homepage-hero mbox.”
  • Example prompt for update_traffic_split: “Change the traffic split for activity 12345 to 70% Control and 30% Variant A.”
  • Example prompt for get_activity_performance_report: “Show me the performance report for activity 12345 over the last 30 days.”
  • Example prompt for preview_activity: “Generate preview URLs for activity 12345 so I can test each experience in my browser.”
  • Example prompt for create_target_promotion: “Create an external promotion that features the ‘Backpacking Tents’ collection through the end of August.”

Best practices:

  • Recommendation: Adobe encourages testing integrations in a sandbox environment prior to productive use and carefully reviewing and validating all MCP-initiated actions and responses before confirming or relying on them, to reduce risk.

Related pages:

  • For full setup instructions: Get started (c-integrating-target-with-mac/mcp/target-mcp-get-started.md)
  • For use cases: Use cases and walkthroughs (c-integrating-target-with-mac/mcp/target-mcp-use-cases.md)

Personas:

  • developer: Can call tools such as list_target_activities with filters like state, activity_type, name_contains and ISO 8601 dates, and read the returned activities and total. Can retrieve a full activity by activity_id with get_activity. The page states that the server returns at most 200 activities per page. Where: “Activity tools”.
  • marketer: Can create A/B Test and Experience Targeting activities. Can change an activity state with update_activity_state, rename an activity, and set its priority from 0 to 999. The page states that the percentages in update_traffic_split must sum to exactly 100. Where: “Activity tools”.

Onboarding:

  • Level: Intermediate, Experienced
  • First minimal step: Check your Adobe Target role in Prerequisites to see which tools are available to you.
  • Success check: A create tool returns the created object with its assigned ID, for example create_ab_activity returns the created activity object.
  • Previous: You need setup instructions for the Adobe Target MCP server: Get started (c-integrating-target-with-mac/mcp/target-mcp-get-started.md)
  • Next: You want use cases for the Adobe Target MCP server: Use cases and walkthroughs (c-integrating-target-with-mac/mcp/target-mcp-use-cases.md)
recommendation-more-help
target-help-main