palaz-mcp-server
v0.6.3MCP server exposing Palaz performance data to Claude (media-buying audit agents).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
palaz_list_clients
List all clients (brands) accessible with this API key. Returns client IDs, names, category, currency, connected platforms, and KPI/budget targets (monthly_budget, target_roas, target_cpa, sales_cycle_days). Call this first to get client_id values.
palaz_account_overview
Account vital signs for a client: total spend, conversions, CPA, CTR, platform-reported ROAS vs Shopify-backend ROAS (blended, account-level), a per-platform breakdown, budget pacing (if targets set), and a prior-period comparison. full_access keys also get the account funnel and a syncing_from block (which ad account and pixel the data came from).
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_campaign_performance
Campaign-level performance: spend, conversions, CPA, platform ROAS, impressions, clicks, CTR, CPM, reach, frequency, and a prior-period comparison per campaign; full_access keys also get the per-campaign funnel. Click/view ROAS and learning phase are not available.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
platform | string |
palaz_creative_performance
Ad-level creative performance: spend, spend_share, CTR, CPC, CPA, ROAS, frequency, format, days_active, plus portfolio metrics (spend-weighted creative age, format mix, spend concentration). Hook/hold/completion rates and landing-page CVR are not available.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
limit | number | |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
platform | string | |
sort_by | string |
palaz_daily_spend
Daily spend and performance per platform (spend, conversions, CPA, ROAS, impressions, clicks) for pacing and trend/anomaly reads: separates one-day noise from a 3+ day signal.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
platform | string |
palaz_customer_type_breakdown
Account-level new vs returning customer counts for the period. New = first acquired in the window (reliable). Returning is an approximation; per-campaign new/returning is not available. Read the _meta caveats.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_funnel_performance
Site funnel from Shopify sessions (sessions, cart adds, checkouts, orders, conversion rate) with per-channel traffic quality, against a fixed four-week baseline. Use for a full-funnel read before blaming the ads. (Requires a full_access API key.)
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_revenue_summary
Blended revenue for the period and the period before: gross and net revenue, refunds, total ad spend, MER, contribution margin and profit ROAS from the brand's COGS rate. (Requires a full_access API key.)
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_growth_levers
What each growth lever could add a month, from the brand's own last 90 days: ad spend per platform (+25%, with diminishing returns, judged on Shopify-credited sales, with pays_back against breakeven), one more email campaign a week, more creator posts, fewer subscription cancellations, a win-back email, and a 5% higher average order. Each lever has a low-mid-high monthly range, its cost, a confidence and the numbers it stands on (basis). With goal_pct, a plan picks levers to reach that revenue growth, surest first, and reports the gap. Quote basis when you cite a lever; never present the range…
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
goal_pct | number | Optional revenue growth goal in percent, e.g. 20. |
palaz_attribution_comparison
Three-tier attribution check: platform-reported revenue vs channel-attributed Shopify revenue vs blended store revenue, per platform. Use to see how far the platforms over-claim. (Requires a full_access API key.)
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_pixel_health
Meta pixel health proxy: the active pixel, last fired time, first-party cookie status, and warnings (stale or duplicate pixels). Event Match Quality itself is not exposed by Meta at this scope. (Requires a full_access API key.)
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
palaz_conversion_lag
Google Ads conversion lag for the account: how long after the click conversions land, so the most recent days are judged with the right discount. (Requires a full_access API key.)
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
palaz_search_terms
Google Ads search terms for the period: spend, clicks, conversions and CPA per term, with brand vs non-brand split and wasted-spend candidates. (Requires a full_access API key.)
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_platform_health
Per-platform triage over the last 30 days: data freshness, latest data date, tracking status and known issues per connected platform, so a reader knows whether the numbers can be trusted. (Requires a full_access API key.)
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
palaz_amazon_metrics
Amazon Ads account metrics for the period (spend, sales, ACOS, impressions, clicks). A scaffold until a real Amazon Ads account is connected; check _meta. (Requires a full_access API key.)
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_amazon_keywords
Amazon Ads keyword performance for the period. Scaffold; check _meta. (Requires a full_access API key.)
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_ai_search_traffic
AI search referral traffic from GA4 (ChatGPT, Perplexity, Claude, Gemini and others): sessions, conversions, revenue, a side-by-side with paid channels, month-over-month trend with a materiality projection, and alerts. Zeros until GA4 is connected (check _meta.ga4_property_id).
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_email_segment_results
What email did for each Palaz segment (Elite, New Love, Developing, At-Risk / Dormant ...): real buyers emailed in the period, how many opened and clicked, and how many came back and bought in Shopify within window_days, against buyers in the same segment who were not emailed (the baseline). Per-email rows too. Judge on clicks and came_back, not opens; check maturing before calling a result.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
window_days | number | Days after the first email an order still counts, 1 to 60. |
palaz_subscription_overview
Subscription overview for the period vs the period before: active subscriber balance, MRR and ARR, new subscriptions, cancellations and net adds, with a daily series.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_subscription_churn
Subscription churn for the period: churn rate vs the period before and cancellations by reason.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_subscription_revenue
Subscription revenue: MRR and ARR, average order value, observed lifetime value, by plan and by acquisition channel.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_subscription_acquisition
New subscribers by acquisition channel for the period, with the paid CPA per subscriber where the channel is an ad platform.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_subscription_economics
Subscription unit economics for the period: acquisition cost against subscription value.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_subscription_cohorts
Subscriber retention curve by signup month: the share of each cohort still active after 1, 2, 3 ... months.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
max_months | number | How many signup months back, 1 to 36. |
palaz_audience_segments
RFM segments across all buyers: Elite, Loyalist, Milestone, New Love, Developing, Window Shopper, At-Risk / Dormant, each with its customer count and value.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
palaz_subscriber_segments
The same RFM segments applied to subscribers only, so the retention team sees which segment its subscribers sit in.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
palaz_segment_customers
The customers inside one segment, paged: name, email, orders, spend, last order, acquisition channel. Filter by search text, subscribers only, or the ad source that acquired them.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
ad_source | string | Acquisition channel filter, e.g. meta_ads. |
limit | number | |
offset | number | |
search | string | |
segment | string | Segment name as returned by palaz_audience_segments. |
sort | string | spend, recency, frequency or name. |
subscribers_only | boolean |
palaz_audience_overview
The customer base as of the end of the period and as of the end of the period before: base size, active (ordered within 120 days), at risk, lapsed, repeat buyers, new customers in the period; a 12-month balance by month; new vs returning orders and revenue by day or week; and acquisition channels with repeat rate and LTV per customer.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_audience_retention
Retention from the order history up to the end of the period: the purchase-to-repurchase funnel (base, second order, 3+ orders, subscribed), second-order rate by first-order month within 60, 90 and 180 days, the first-to-second gap distribution, the median reorder cycle, and the customers now past their own reorder cycle without an order (the list to email).
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_audience_geography
Orders, revenue and customers by state and by city for the period, with each state's share and the brand's top markets.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_order_mix
Orders by attributed channel for the period (Shopify direct, Meta, Google, TikTok, email, creators, Amazon and others) with revenue and the new vs returning split per channel.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_new_customer_value
Value per new customer acquired in the period, against the period before: first-order value, follow-on value to date, and the shared CAC definition's denominator.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_cohort_value
Value per customer as each monthly acquisition cohort ages (month 0, 1, 2 ...), by acquisition channel. The payback read for CAC.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
palaz_product_launches
Product launches detected from first sales in the order items: each product's first-sold date with orders, paid orders and revenue in its first fortnight, plus the brand's ordinary fortnight for scale. Defaults to the last 24 months.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
since | string | Only launches on or after this date (YYYY-MM-DD). |
palaz_email_performance
Klaviyo engagement for the period: messages sent, recipients, opens, clicks, unsubscribes, bounces and their rates, per campaign and flow. Engagement only; revenue comes from palaz_email_orders.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
message_type | string | |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_email_orders
Orders matched to Klaviyo campaigns and flows for the period: totals, per-message orders and revenue, and the new vs returning split. The revenue side of email.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_creators
Every creator code and link the order stream saw in the period, who is behind it, and what it cost: orders, revenue, new customers, commission, fees, paid posts, gifting, with each creator's programs and status (tagged, untagged, promo).
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_creator_content
Posts creators published about the brand in the period across Instagram, TikTok, YouTube and Substack: handle, date, caption, engagement, whether it tagged or named the brand, the creator it files under, and paid or gifted flags.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_creative_reads
The weekly creative read on each ad on Meta, Google (search ads, display, video, Performance Max asset groups) and TikTok: what the creative shows and says, its verdict and label, its platform, delivery status and the numbers behind it. Covers ads active within the period.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_creative_brief
The current creative brief per platform (one each for Meta, Google and TikTok, as an array): what wins, what loses, three concepts for the next pieces, and budget moves, from the latest creative reads on that platform.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
palaz_organic_posts
The brand's own Instagram and TikTok posts in the period with likes, comments, and reach, saves and shares where insights are available.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
period | string | Time period: 'last_7_days', 'last_14_days', 'last_30_days', 'last_90_days', 'mtd', or 'YYYY-MM-DD:YYYY-MM-DD'. |
palaz_instagram_account
The connected Instagram account: followers, media count, 30-day reach, profile views and accounts engaged, the daily reach series, and the last 30 days of posts with their insights.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
palaz_feed_cards
Cards the agents have posted into this client's Palaz feed, in any status (draft, approved, dismissed), with each card's topic, the updates other agents have added to it, its check and its score (hit, miss, too_early) once scored; plus client_notes, what the brand has told its strategist through the Concierge. Read this at the start of a run: score last week's calls, take the client's notes into account, and reuse an open card's topic instead of posting the same move again.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
days | number |
palaz_post_feed_card
Post one finding or recommendation into this client's Palaz feed. It lands as a DRAFT that only the operator sees; it reaches the client only after the operator approves it in Palaz. Use it for the items in a daily vitals post or a weekly optimization queue that the operator should act on or the client should see. One card per item; keep the title to one plain sentence a founder reads first. Re-posting the same external_id updates that card (and returns it to draft), so give each item a stable id, e.g. 'jw-weekly-2026-10-12#3'. Add a check whenever the call can be proven right or wrong by a nu…
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client ID from palaz_list_clients. |
external_id * | string | Your stable id for this item. Re-posting it updates the card. |
title * | string | One sentence, the thing to know or do. No jargon. |
channel | string | |
check | object | How to tell later whether this call was right. |
confidence | string | |
dollar_impact | number | Dollars per month at stake, protected or unlocked. Omit rather than guess. |
evidence | array | One to four short paragraphs: the numbers that force the conclusion, with their baselines. Say which numbers are platform claims and which are the store's. |
kind | string | detection: something changed. verdict: a past move scored (posted as its own card, without a check). suggestion: something to do. |
lag | string | 'clear' if the conversion window has elapsed; otherwise what must elapse first, e.g. 'needs 14 days; finalize Nov 2'. |
next_step | string | The one action, stated plainly. |
platform | string | When the card is about one ad platform. |
priority | string | |
reverses | boolean | true only when this call undoes or contradicts the open card on the same topic. |
route | string | Who acts: the operator, the client, or a specialist agent. |
source | string | Which agent is posting, e.g. 'JW weekly optimization queue' or 'JW daily vitals'. |
topic | string | A short label for the move this card is about, e.g. 'google-brand-budget' or 'ryder-product-page-details'. Reuse an open card's topic exactly when it's the same move. |