Examples & Best Practices

Example use cases for brand operators and agencies.

The Eraya MCP server gives AI assistants access to your A/B test results, Bayesian statistics, store orders, product analytics, and business KPIs — all queryable in plain English.

The examples below are organized by role: managing your own store as a brand operator, or managing multiple stores as an agency.


For Brand Operators

1. Weekly Test Pulse Check

Use for a quick status instead of reviewing dashboards

Give me a quick status on all my running tests:
- Which have reached statistical significance?
- Which are trending positive vs negative?
- Any that should be ended early (clear winner or clear loser)?
- Any that need more time to reach significance?

What you'll get: Status of all active experiments, Bayesian win probabilities, significance flags, and recommendations for early stopping or extension.


2. Revenue Impact of Completed Tests

Use to quantify the value of your testing program

Look at all my completed tests from the past 6 months.
1. Which winning variations had the highest revenue lift vs. control?
2. Which had the highest conversion rate improvement?
3. Are there any statistically significant winners I haven't implemented yet?
4. Rank my top 3 opportunities by estimated monthly revenue impact.

What you'll get: Ranked list of winners by revenue lift, credible intervals for each estimate, and a prioritized implementation list.


3. Price Sensitivity Analysis

Use to understand what your customers will and won't pay

What you'll get: Price sensitivity insights from test data, segment-specific price response differences, and data-backed pricing recommendations.


4. Shipping Strategy Analysis

Use to optimize your shipping offer

What you'll get: Conversion rate and AOV comparison across shipping variations, segment breakdowns, and a data-backed recommendation for your shipping strategy.


5. Profit Trap Detection

Use to catch tests where more conversions = less profit

What you'll get: Tests where conversion went up but revenue went down, warnings about implementing harmful "winners", and profit-focused recommendations.


6. Customer Segment Intelligence

Use to understand how different customer types respond

What you'll get: Conversion rates and revenue lift by device type and visitor type, and strategic direction for segment-specific testing.


7. Store Health Check

Use for a quick pulse on overall performance

What you'll get: Period-over-period KPI comparison with automatic flagging of notable changes.


8. Product Performance Deep Dive

Use to find underperforming products

What you'll get: Product-level funnel data, add-to-cart rates, revenue rankings, and a prioritised list of test candidates.


9. Testing Strategy Health Check

Use to evaluate the effectiveness of your testing program

What you'll get: Test count, win rate, test type distribution, and a strategically grounded test roadmap.


10. AOV and Discount Trend

Use to catch margin compression early

What you'll get: AOV and units-per-order trend data, discount usage changes, and revenue-per-order movement that can signal margin pressure before it shows up in reports.


For Agencies

1. Monthly Client Performance Review

Use when preparing for monthly client calls

What you'll get: List of completed tests with win/loss status, revenue lift percentages, statistical confidence levels, and actionable recommendations for client discussion.


2. Cross-Test Pattern Analysis

Use to find winning strategies that work consistently

What you'll get: Patterns across winning variations, concepts that resonate with the store's audience, and strategic direction for future testing.


3. Quarterly Test Roadmap

Use for strategic planning with clients

What you'll get: Analysis of highest-performing test categories, untested areas, and a prioritised test roadmap for the next quarter.


4. Cross-Store Performance Scan

Use to quickly identify which clients need attention

What you'll get: A prioritised list of stores showing performance deterioration, so you can triage proactively rather than waiting for clients to flag issues.

Tip: Use list_stores to see all your stores, then switch_store to move between them during the session.


Best Practices

Start Every Session with the Schema

Call get_eraya_schema at the beginning of a session. It gives the AI the full picture of Eraya's data model — test types, order property conventions, and which tool to use for each task — resulting in much more accurate responses.


Use get_experiment_statistics for Winner Determination

get_experiment_statistics contains pre-computed Bayesian win probabilities and credible intervals — the most reliable signal for deciding a winner. get_experiment_results shows live session funnel data but doesn't include statistical significance.

  • Use get_experiment_statistics for: "Is variation B the winner?"

  • Use get_experiment_results for: "What's the add-to-cart rate by device type?"


Select Your Store First

If your account has access to multiple Shopify stores, always select the correct store at the start of a session.

Add a System Prompt or Custom Instruction to your AI client with your preferred store name — the AI will switch to it automatically at the start of every session.


Narrow Date Ranges for Faster Results

When analysing orders or product analytics, specify a date range to keep response sizes manageable and results relevant.


Combine Tools for Deeper Analysis

The most powerful queries combine multiple tools. For example:

This chains get_experiment_statisticsget_experiment_orders → product-level analysis in a single conversation.


Security

  • Never share your MCP access token — it grants read access to your store data.

  • Tokens are valid for 365 days. If you suspect a token is compromised, re-authorise via https://api.eraya.ai/mcp-oauth/authorize to issue a new one.

  • MCP access is verified on every request. Downgrading from the Pro plan immediately revokes access.

Last updated