VYG Docs
Tools

Tool catalog

What your AI assistant can do with VYG, including which tools make changes.

These are the tools your AI assistant gets when it connects to https://api.vyg.app/mcp. Your assistant picks the right tool for your question, so you do not need to name tools yourself. This page is for checking what is possible and what each tool touches.

How to read the table:

  • Reads or changes. "Reads only" tools never change anything. "Makes changes" tools create or edit something in your account, such as a draft campaign or a discount rule; your assistant should ask you before it runs one.
  • Who can call it. "Sign-in only" tools work when a person signs in with their VYG account. They do not work with an API key. See Authentication.
  • REST. The same operation in the REST API, when there is one.

Find Shopify developer tools on the Shopify tools page, and the email channel tools on the Email tools page. Old tool names and their current names are in the migration guide.

Brand

The brand the credential belongs to: name, plan, connected apps and support contacts.

ToolWhat it doesReads or changesWho can call itREST
get_brandBrand profile. View your business details, website, plan, connected apps and support contacts.Reads onlySign-in or API keyGET /v1/brand

Conversations

Customer conversations and their messages, conversation search, AI-generated conversation insights, and contacts.

ToolWhat it doesReads or changesWho can call itREST
search_conversationsSearch conversations. Find customer conversations about a topic.Reads onlySign-in or API keyGET /v1/conversations/search
list_conversationsRecent conversations. View conversations, newest first.Reads onlySign-in or API keyGET /v1/conversations
list_conversation_insightsConversation insights. See common themes in customer conversations, including checkout issues, post-purchase concerns and product questions.Reads onlySign-in or API keyGET /v1/brand/insights
list_insight_conversationsConversations behind an insight. View the conversations behind an insight, with customer details and message previews.Reads onlySign-in or API keyGET /v1/brand/insights/{insight_id}/conversations
get_conversation_detailsConversation. Get the full details of a specific conversation including all messages, customer info, checkout/cart data, and goal state changes.Reads onlySign-in or API keyMCP only
get_conversation_traceWhy this conversation happened. Trace a conversation back to what started it and forward to what it produced: the triggering event (checkout, cart, custom event, order, subscription event or signup list), the campaign and each step of its run (entered, skipped with the reason, sent, failed), the messages by status with the next scheduled send time (messages wait for quiet hours or a wait step), and whether it led to a recovered order.Reads onlySign-in or API keyGET /v1/conversations/{conversation_id}/trace

Customers

Customer profiles, lookup, activity timelines, a customer's orders and subscriptions, and the customer field catalog.

ToolWhat it doesReads or changesWho can call itREST
list_customer_fieldsCustomer fields. View customer fields.Reads onlySign-in or API keyGET /v1/customers/fields
list_customersList customers. View customers with spending, order counts and recent activity.Reads onlySign-in or API keyGET /v1/customers
search_customersFind a customer. Find customers by email, phone number or customer ID.Reads onlySign-in or API keyGET /v1/customers/search
get_customerCustomer profile. View a customer’s contact details, order totals and recent activity.Reads onlySign-in or API keyGET /v1/customers/{id}
get_customer_activityCustomer activity. View a customer’s activity, newest first: website visits, orders, subscriptions and messages.Reads onlySign-in or API keyGET /v1/customers/{id}/timeline
list_customer_ordersCustomer order history. View a customer’s orders, newest first, including linked profiles.Reads onlySign-in or API keyGET /v1/customers/{id}/orders
list_customer_subscriptionsCustomer subscriptions. View a customer’s subscriptions, newest first, including linked profiles.Reads onlySign-in or API keyGET /v1/customers/{id}/subscriptions
list_customer_segmentsCustomer's segments. View the active segments a customer currently belongs to, most recently joined first.Reads onlySign-in or API keyGET /v1/customers/{id}/segments

Segments

Saved customer segments: rules, size estimates, members and join/leave history.

ToolWhat it doesReads or changesWho can call itREST
list_segmentsList segments. View saved customer segments, newest first, with their member counts and last update time.Reads onlySign-in or API keyGET /v1/segments
estimate_segmentEstimate segment size. Check how many customers match a segment.Reads onlySign-in or API keyPOST /v1/segments/estimate
get_segmentSegment details. View a segment’s rules, version and latest member count.Reads onlySign-in or API keyGET /v1/segments/{id}
create_segmentCreate a segment. Create a customer segment using your chosen rules.Makes changesSign-in onlyPOST /v1/segments
update_segmentChange a segment's rule. Update a segment’s rules.Makes changesSign-in onlyPATCH /v1/segments/{id}
archive_segmentArchive a segment. Archive a segment to stop updates and remove it from the active list.Makes changesSign-in onlyPOST /v1/segments/{id}/archive
get_segment_audienceSegment audience. View a segment’s latest member count, update time and status.Reads onlySign-in or API keyGET /v1/segments/{id}/audience
list_segment_membersSegment members. View the customers in a segment, with their email and phone number.Reads onlySign-in or API keyGET /v1/segments/{id}/members
list_segment_historySegment join and leave history. See who joined or left a segment, newest updates first.Reads onlySign-in or API keyGET /v1/segments/{id}/history

Commerce

The store's orders, subscription contracts and product catalog.

ToolWhat it doesReads or changesWho can call itREST
list_ordersOrders. View orders, newest first.Reads onlySign-in or API keyGET /v1/commerce/orders
get_orderOrder. View an order and its items.Reads onlySign-in or API keyGET /v1/commerce/orders/{id}
list_subscriptionsSubscriptions. View subscriptions.Reads onlySign-in or API keyGET /v1/commerce/subscriptions
get_subscriptionSubscription. View a subscription by its external ID.Reads onlySign-in or API keyGET /v1/commerce/subscriptions/{id}
list_productsProducts. View products in your Shopify store.Reads onlySign-in or API keyGET /v1/commerce/products
get_productProduct. View a product by ID.Reads onlySign-in or API keyGET /v1/commerce/products/{id}

Insights

Brand-wide lifetime value, RFM tiers, top products and customers at risk of churning.

ToolWhat it doesReads or changesWho can call itREST
get_lifetime_valueCustomer lifetime value. See total and average customer spending, with a breakdown by spend range.Reads onlySign-in or API keyGET /v1/insights/ltv
get_lifetime_value_by_yearLifetime value by year. See total completed-order revenue per calendar year for the last 5 years, in the primary currency.Reads onlySign-in or API keyGET /v1/insights/ltv-by-year
get_rfm_tiersRFM tiers. See customer groups based on how recently they bought, how often they buy and how much they spend.Reads onlySign-in or API keyGET /v1/insights/rfm
get_top_productsTop-selling products. See top products by revenue and order count, based on completed orders.Reads onlySign-in or API keyGET /v1/insights/products
list_at_risk_customersCustomers at risk of churning. Find repeat customers who are overdue for their next order.Reads onlySign-in or API keyGET /v1/insights/at-risk
get_lifecycle_stagesLifecycle stage counts. See lifecycle stage counts (Visitors, Customers, Repeat Customers, and more) read from the brand seeded lifecycle segments, with conversion ratios between adjacent stages.Reads onlySign-in or API keyGET /v1/insights/lifecycle
get_customer_overviewCustomer overview. See active buyers, average order value, orders per customer and total value for a 7, 30 or 90 day window, with the previous window for comparison, daily series for both windows and the new vs returning customer value split.Reads onlySign-in or API keyGET /v1/insights/overview
get_product_performanceProduct performance. See per-product viewers, add to cart, checkouts, orders, buyers, units and revenue for a 7, 30 or 90 day window with the previous window for comparison, and the store funnel from visits to purchases.Reads onlySign-in or API keyGET /v1/insights/product-performance
get_first_productsFirst products bought. See which products customers buy first: the top 10 line-item titles from each customer's earliest completed order, with a count and share of all purchasing customers.Reads onlySign-in or API keyGET /v1/insights/first-product
get_acquisition_sourcesFirst-order acquisition sources. See where first orders come from: customers counted by the utm_source of their earliest completed order, falling back to referrer_host then 'direct'.Reads onlySign-in or API keyGET /v1/insights/sources

Campaigns

Campaigns, message variants, campaign building options and performance stats.

ToolWhat it doesReads or changesWho can call itREST
get_event_journeyWhere an event went. Follow one event through every campaign: pass exactly one of custom_event_id, checkout_id, order_id or subscription_event_id.Reads onlySign-in or API keyGET /v1/events/journey
get_performance_statsPerformance stats. View performance for a date range or campaign, and compare periods.Reads onlySign-in or API keyGET /v1/stats
list_campaignsList campaigns. View campaigns and their status.Reads onlySign-in or API keyGET /v1/campaigns
create_campaignCreate a campaign. Create a campaign draft with a trigger, messages and optional timing and discount settings.Makes changesSign-in onlyPOST /v1/campaigns
compare_campaignsCompare campaigns. Compare campaign performance side by side.Reads onlySign-in or API keyGET /v1/campaigns/compare
get_campaign_composer_optionsCampaign building options. View the triggers, discounts, message variables and audience filters available for a campaign.Reads onlySign-in or API keyGET /v1/campaigns/composer-options
get_campaignCampaign setup. View a campaign’s trigger, timing, messages and status.Reads onlySign-in or API keyGET /v1/campaigns/{campaign_id}
list_campaign_activityCampaign run activity. One campaign's run activity, newest first: every event that entered it, each step it ran or skipped (with the skip reason, such as a filter, the re-entry limit, quiet hours or holdout), failures, and the conversation each run produced, plus counts by step state and skip reason for the window.Reads onlySign-in or API keyGET /v1/campaigns/{campaign_id}/activity
rename_campaignRename a campaign. Rename a campaign draft.Makes changesSign-in onlyPATCH /v1/campaigns/{campaign_id}
update_campaign_scheduleChange campaign dates. Change the start or end date of a campaign draft.Makes changesSign-in onlyPUT /v1/campaigns/{campaign_id}/schedule
update_campaign_messagesEdit campaign messages. Edit the main messages in a campaign draft.Makes changesSign-in onlyPUT /v1/campaigns/{campaign_id}/messages
update_campaignChange a campaign. Change a campaign’s steps (waits, split weights, re-entry, added or removed text and AI agent steps), the text of any step, or its holdout group, and update the running flow to match.Makes changesSign-in onlyPATCH /v1/campaigns/{campaign_id}/flow
set_campaign_statusTurn a campaign on or off. Turn a campaign on (active) or off (paused).Makes changesSign-in onlyPOST /v1/campaigns/{campaign_id}/status
list_message_variantsMessage variants. View a campaign’s message alternatives and current test.Reads onlySign-in or API keyGET /v1/campaigns/{campaign_id}/variants
add_message_variantAdd a message variant. Add alternative wording for a campaign message.Makes changesSign-in onlyPOST /v1/campaigns/{campaign_id}/variants
update_message_variantUpdate a message variant. Edit wording in a running message test.Makes changesSign-in onlyPATCH /v1/campaigns/{campaign_id}/variants/{variant_id}

Discounts

Reusable discount rules in the brand's discount library.

ToolWhat it doesReads or changesWho can call itREST
create_discountCreate a discount. Create a percentage, fixed-amount or free-shipping discount.Makes changesSign-in onlyPOST /v1/discounts
update_discountUpdate a discount. Edit a discount’s value, duration, name, code prefix or minimum purchase.Makes changesSign-in onlyPATCH /v1/discounts/{discount_rule_id}

Integrations

Connected apps, event types, and custom integration providers and their event definitions.

ToolWhat it doesReads or changesWho can call itREST
list_providersCustom data sources. View your custom data sources.Reads onlySign-in or API keyGET /v1/providers
get_providerCustom data source. View a custom data source and its settings.Reads onlySign-in or API keyGET /v1/providers/{provider_id}
create_providerAdd a custom data source. Add a custom data source and get its webhook signing secret.Makes changesSign-in or API keyPOST /v1/providers
update_providerUpdate a custom data source. Update a data source’s name, status or settings.Makes changesSign-in or API keyPATCH /v1/providers/{provider_id}
list_event_definitionsCustom event definitions. View the event types registered for a custom data source.Reads onlySign-in or API keyGET /v1/providers/{provider_id}/event-definitions
get_event_definitionCustom event definition. View a registered event type and its payload requirements.Reads onlySign-in or API keyGET /v1/providers/{provider_id}/event-definitions/{definition_id}
create_event_definitionCreate a custom event definition. Register an event type and its expected payload.Makes changesSign-in or API keyPOST /v1/providers/{provider_id}/event-definitions
update_event_definitionUpdate a custom event definition. Update an event type.Makes changesSign-in or API keyPATCH /v1/providers/{provider_id}/event-definitions/{definition_id}
list_integrationsConnected apps. View your connected apps.Reads onlySign-in or API keyGET /v1/integrations
list_event_typesEvent types. View the available event types.Reads onlySign-in or API keyGET /v1/event-types

Shopify

Query the brand's connected Shopify store and look up Shopify developer documentation.

ToolWhat it doesReads or changesWho can call itREST
read_shopifyRead Shopify data. Read orders, customers, products and live inventory from your connected Shopify store.Reads onlySign-in onlyMCP only
mutate_shopifyChange Shopify data. Run an approved mutation against your connected Shopify store.Makes changesSign-in onlyMCP only

Klaviyo

Read the brand's Klaviyo data and search the Klaviyo API documentation.

ToolWhat it doesReads or changesWho can call itREST
read_klaviyoRead Klaviyo data. Read Klaviyo profiles, events, campaigns, flows and reports.Reads onlySign-in onlyMCP only
write_klaviyoChange Klaviyo data. Create, update or delete Klaviyo data with klaviyo:admin access.Makes changesSign-in onlyMCP only
search_klaviyo_docsSearch Klaviyo docs. Find Klaviyo endpoints, filters, reporting options and request limits.Reads onlySign-in onlyMCP only

Help and documentation

What this connection can do, and the VYG documentation behind each tool.

ToolWhat it doesReads or changesWho can call itREST
list_toolsWhat can I do?. List the tools this connection can use, grouped by area, with a one-line summary, whether each reads or changes data, and a link to its documentation.Reads onlySign-in or API keyMCP only
get_docsRead the VYG docs. Read VYG documentation from docs.vyg.ai.Reads onlySign-in or API keyMCP only
search_docsSearch the VYG docs. Search the VYG documentation (docs.vyg.ai) by keywords: guides for brand teams, custom integrations and webhooks, data collection, the API and the MCP tools.Reads onlySign-in or API keyMCP only

On this page