merchwatch-mcp

v1.0.0
merchwatch-mcp Checked 21 hours ago Published 8 months ago

MerchWatch MCP Extension — Merchant performance monitoring tools for Goose (disputes, refunds, chargebacks, linkage)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

dispute_ratio

Get dispute ratio trend for a merchant (dispute amount / daily GMV by order date). Args: merchant_id: Merchant ID (required). Supports comma-separated for multiple MIDs. start_date: Start date in YYYY-MM-DD format. Defaults to 60 days ago. end_date: End date in YYYY-MM-DD format. Defaults to today. Returns: SQL query to execute via Snowflake MCP. Results contain: ORDER_DATE, MERCHANT_ID, DAILY_GMV, EVENT_AMT, EVENT_COUNT, RATIO.

ParameterTypeDescription
merchant_id *string
end_datestring
start_datestring

dispute_events

Get daily dispute count and amount by EVENT_DATE (when the dispute was raised). Unlike dispute_ratio which groups by ORDER_DATE (when the order was placed), this tool groups by EVENT_DATE (when the dispute event occurred). Args: merchant_id: Merchant ID (required). Supports comma-separated for multiple MIDs. start_date: Start date in YYYY-MM-DD format. Defaults to 60 days ago. end_date: End date in YYYY-MM-DD format. Defaults to today. Returns: SQL query to execute via Snowflake MCP. Results contain: EVENT_DATE, MERCHANT_ID, EVENT_COUN…

ParameterTypeDescription
merchant_id *string
end_datestring
start_datestring

refund_ratio

Get refund ratio trend for a merchant (refund amount / daily GMV by order date). Args: merchant_id: Merchant ID (required). Supports comma-separated for multiple MIDs. start_date: Start date in YYYY-MM-DD format. Defaults to 60 days ago. end_date: End date in YYYY-MM-DD format. Defaults to today. Returns: SQL query to execute via Snowflake MCP. Results contain: ORDER_DATE, MERCHANT_ID, DAILY_GMV, EVENT_AMT, EVENT_COUNT, RATIO.

ParameterTypeDescription
merchant_id *string
end_datestring
start_datestring

refund_events

Get daily refund count and amount by EVENT_DATE (when the refund was processed). Unlike refund_ratio which groups by ORDER_DATE, this groups by EVENT_DATE. Args: merchant_id: Merchant ID (required). Supports comma-separated for multiple MIDs. start_date: Start date in YYYY-MM-DD format. Defaults to 60 days ago. end_date: End date in YYYY-MM-DD format. Defaults to today. Returns: SQL query to execute via Snowflake MCP. Results contain: EVENT_DATE, MERCHANT_ID, EVENT_COUNT, EVENT_AMT.

ParameterTypeDescription
merchant_id *string
end_datestring
start_datestring

chargeback_ratio

Get merch chargeback ratio trend (chargeback amount / daily GMV by order date). Includes both 'merch chargeback orders' and 'merch overdue orders'. Args: merchant_id: Merchant ID (required). Supports comma-separated for multiple MIDs. start_date: Start date in YYYY-MM-DD format. Defaults to 60 days ago. end_date: End date in YYYY-MM-DD format. Defaults to today. Returns: SQL query to execute via Snowflake MCP. Results contain: ORDER_DATE, MERCHANT_ID, DAILY_GMV, EVENT_AMT, EVENT_COUNT, RATIO.

ParameterTypeDescription
merchant_id *string
end_datestring
start_datestring

chargeback_events

Get daily merch chargeback count and amount by EVENT_DATE. Includes both 'merch chargeback orders' and 'merch overdue orders'. Args: merchant_id: Merchant ID (required). Supports comma-separated for multiple MIDs. start_date: Start date in YYYY-MM-DD format. Defaults to 60 days ago. end_date: End date in YYYY-MM-DD format. Defaults to today. Returns: SQL query to execute via Snowflake MCP. Results contain: EVENT_DATE, MERCHANT_ID, EVENT_COUNT, EVENT_AMT.

ParameterTypeDescription
merchant_id *string
end_datestring
start_datestring

open_cases

Get current open dispute case count and amount for a merchant (IN_PROGRESS status). Args: merchant_id: Merchant ID (required). Supports comma-separated. Returns: SQL query to execute via Snowflake MCP. Results contain: DISPUTE_RESULT, CUR_INTENT, OPEN_CASE_AMOUNT, OPEN_CASE_COUNT. Note: This is a point-in-time snapshot — not related to any date range.

ParameterTypeDescription
merchant_id *string

open_case_reasons

Categorize open dispute cases by analysing the free-text SUBJECT field. Uses keyword matching to classify disputes into 11 categories: Order/Flight Cancelled, Non-Delivery, Merchant Unresponsive, Payment Error, Item Out of Stock, Scam/Fraud, Refund Not Processed, Wrong/Damaged Item, Return Not Refunded, No Subject Provided, Other. A single case can appear in multiple categories if its subject matches multiple keywords. Cases are deduplicated to the latest CREATE record. Args: merchant_id: Merchant ID (required). Supports comma-separated. Returns:…

ParameterTypeDescription
merchant_id *string

period_reasons

Categorize ALL dispute cases within a date range by analysing the SUBJECT field. Unlike open_case_reasons which only looks at IN_PROGRESS cases, this tool analyses all cases filed within the specified date range (using PAR_PROCESS_DATE). Uses the same 11-category keyword matching as open_case_reasons. Args: merchant_id: Merchant ID (required). Supports comma-separated. start_date: Start date in YYYY-MM-DD format. Defaults to 60 days ago. end_date: End date in YYYY-MM-DD format. Defaults to today. Returns: SQL query to execute via Snowflak…

ParameterTypeDescription
merchant_id *string
end_datestring
start_datestring

merchant_linkage

Find merchants linked to the target merchant via shared attributes. Searches 8 linkage sources: Website Domain, Trading Name, Company Name, Phone Number (hashed), ABN/Business Number (hashed), Business Address, Bank Account (BSB + Account), Redirect Confirm URL Domain. ENHANCED: Now generates the redirect URL query directly (queries RAW_C_E_ORDER_INITIATED for redirect confirm URL domains). Args: merchant_id: Merchant ID (required). website: Optional website URL to override the merchant's registered website. Returns: Multiple SQL queries…

ParameterTypeDescription
merchant_id *string
websitestring

linkage_website

Find all merchants sharing the same website domain. No MID required. Searches two sources: 1. Website Domain in merchant profile (RAW_M_E_MERCHANT) 2. Redirect Confirm URL in order initiation (RAW_C_E_ORDER_INITIATED) Also joins DWM_MERCHANT_MASTER_TBL to get LAST_ORDER_DATE. Args: website: Website URL or domain to search (required). Returns: Two SQL queries to execute via Snowflake MCP: - website_query: Match by registered website URL - redirect_query: Match by redirect confirm URL domain

ParameterTypeDescription
website *string