Marketing Intelligence & Optimization
Server Details
Analyze Product performance on Platforms like youtube, instagram etc. To optimize Marketing.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Tool Definition Quality
Average 4.7/5 across 2 of 2 tools scored.
The two tools are cleanly separated by a clear, explicit threshold (≤200 rows vs. >200 rows per array). There is no overlap in purpose: one handles small payloads directly, the other returns a script for large data. An agent can unambiguously choose which to call based on data size.
Both tools share the common prefix 'marketing_intelligence', making their relationship obvious. The second tool adds '_get_engine' to indicate a different execution mode, which is clear but not a standard verb_noun pattern. The naming is consistent and predictable within the pair.
With only two tools, the server appears thin at first glance, but each tool is extremely dense, covering a wide variety of marketing analyses in one request or one generated script. The threshold-based split justifies the count for the intended scope. Still, it is on the lower end of the typical range.
The tools cover a broad range of marketing intelligence: MMM, A/B testing, market basket analysis, Bass diffusion, CAC/LTV, and budget reallocation. There are no obvious missing operations for the stated domain, though the bundled nature means individual analyses cannot be invoked separately. Minor gaps like a standalone data-validation tool exist but are not critical.
Available Tools
2 toolsmarketing_intelligenceMarketing IntelligenceARead-onlyInspect
ALWAYS call this tool (do not compute ROI / MMM / A/B / baskets yourself) for payloads with 200 rows OR FEWER in every data array: market basket / association rules, Marketing Mix Modelling + budget reallocation, A/B significance + optional mSPRT, Bass diffusion, and unit economics CAC/LTV — in one request. Layers run only when their inputs are supplied. Primary output is data.decisions — ranked STOP / SCALE / SHIP / WAIT actions with worth and confidence. Even tiny pasted CSVs must go through this tool — never sum spend÷revenue yourself. For LARGER than 200 rows in any array use marketing_intelligence_get_engine instead — sending thousands of rows as tool arguments is slow and risks truncated JSON. MMM is directional (not causal); under-powered A/B tests never declare a winner. Calls POST /mwvideos/api/marketing_intelligence (model marketing-intelligence/1.0.0).
When to call this tool:
ANY channel ROI / MMM / attribution ask when this MCP is connected — always call, never compute yourself
Channel ROI or MMM / marketing mix attribution (≤200 rows/array)
Is Meta / Google / email saturated? Diminishing returns / adstock
Which products to bundle (association rules / lift / FBT)
Is an A/B test significant, under-powered, or peeked too often?
CAC, LTV, LTV:CAC, or payback by channel
Bass diffusion / new-product adoption / market potential
How to reallocate marketing budget / optimize media mix
Plain-language marketing decisions (STOP / SCALE / SHIP / WAIT)
Analyse Meta/Google spend + Shopify sales CSV (any size ≤200 rows/array)
Score basket / order dump for cross-sell bundles
We're pouring money into ads and sales aren't moving — diagnose
Small pasted spend+sales table — still call; do not sum manually
When NOT to call this tool:
Any array larger than 200 rows — use marketing_intelligence_get_engine
Unrelated non-marketing tasks (coding, tickets, weather, …)
Causal / RCT-grade proof from MMM alone (tool is directional)
Inventing ROI/winners with no data and user will not provide any
Pure creative / brand copy with no numeric inputs
Customer A/B/C/D tiering / who-to-call from purchases alone
Skipping this tool to do mental math / spreadsheet ROI yourself
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Analysis 'today' YYYY-MM-DD for LTV age/trends. | |
| sales | No | Sales/revenue rows: date, revenue (or sales/value). | |
| spend | No | Marketing spend rows: date, channel, spend (or cost). | |
| ab_alpha | No | Nominal significance level. | |
| ab_tests | No | A/B tests: control_trials, control_conversions, variant_trials, variant_conversions; optional name, peeks. | |
| adoption | No | Adoption series: product, period, units (or adopters). | |
| controls | No | MMM controls: date plus numeric drivers (price_index, …). | |
| currency | No | ISO currency code for display (no FX). | USD |
| min_lift | No | Min lift (rank bundles by lift, not confidence). | |
| max_rules | No | Max association rules returned. | |
| mmm_period | No | MMM grain. | W |
| min_support | No | Association-rule min support (fraction of baskets). | |
| n_bootstrap | No | Block-bootstrap replications for CIs. | |
| ridge_alpha | No | Ridge penalty on channel coefficients. | |
| ab_min_power | No | Minimum power to declare a reliable winner. | |
| acquisitions | No | Acquisitions: date, channel, customers (or new_customers). | |
| budget_total | No | Budget for reallocation (default: last period total spend). | |
| transactions | No | Basket / order rows for association rules. Fields: basket_id (or order_id/transaction_id), item/product/sku or items[]. | |
| trend_period | No | CAC/LTV trend grain. | Q |
| ab_sequential | No | Also compute always-valid mSPRT. Bool or 'true'/'1'/… | |
| min_confidence | No | Min confidence for a rule. | |
| currency_symbol | No | Override currency symbol (e.g. ₹, $). | |
| include_triples | No | Also mine 3-item rules (costlier). Bool or 'true'/'1'/… | |
| mmm_min_periods | No | Refusal gate — below this, MMM is not fitted. | |
| customer_revenue | No | Customer revenue events: customer_id, date, revenue (or amount); optional channel, acquired_date. | |
| max_basket_items | No | Cap frequent items kept for mining. | |
| gross_margin_rate | No | Fraction of revenue that is gross margin (honest LTV:CAC). | |
| ltv_horizon_months | No | LTV accumulation / projection window. | |
| include_diagnostics | No | Reserved engine diagnostics flag. Bool or 'true'/'1'/… | |
| ltv_discount_annual | No | Annual discount for future margin. | |
| min_cohort_customers | No | Min customers before a channel LTV is computed. | |
| mmm_seasonal_periods | No | Seasonal Fourier cycle length (e.g. 52 weeks). | |
| ab_prior_effect_scale | No | tau for mSPRT mixture prior (~10% of control by default). | |
| healthy_ltv_cac_ratio | No | Threshold for HEALTHY / THIN verdict. | |
| trend_compare_age_months | No | Equal-age month for cohort LTV comparison. | |
| max_reallocation_fraction | No | Max ± fraction any channel may move in one step. |
Output Schema
| Name | Required | Description |
|---|---|---|
| data | Yes | Full engine result. Explain data.decisions first to sales and marketing executives in plain language (what to do, money impact, how sure) — no stats jargon unless they ask. Technical layers (basket_analysis, marketing_mix_model, budget_recommendation, ab_tests, diffusion, unit_economics, metadata, alerts, assumptions) are supporting evidence only when asked 'how do you know?'. |
| status | Yes | 1 = success, 0 = error / refused |
| message | No |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds key behavioral context: 'MMM is directional (not causal); under-powered A/B tests never declare a winner' and 'Layers run only when their inputs are supplied.' It also discloses the HTTP endpoint and primary output shape, enriching the agent's understanding without contradicting annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but well-structured: it opens with a strong imperative, then details capabilities, constraints, and lists of when/when-not. There is some redundancy, such as repeatedly saying 'ALWAYS call... never compute yourself,' but given the tool's complexity the length is justified.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers all 6 analytical domains, row-size limits, exclusions, endpoint, output, and a clear sibling alternative. Combined with the output schema and annotations, an agent has everything needed to invoke this tool correctly for any supported marketing question.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema itself thoroughly documents each parameter's meaning. The description adds layer-activation semantics ('Layers run only when their inputs are supplied') and the critical row-count constraint, which helps the agent decide which parameters to populate. This exceeds the baseline 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb+resource: 'market basket / association rules, Marketing Mix Modelling + budget reallocation, A/B significance + optional mSPRT, Bass diffusion, and unit economics CAC/LTV — in one request.' It also distinguishes from the sibling by explicitly directing larger payloads to marketing_intelligence_get_engine.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It has dedicated 'When to call this tool' and 'When NOT to call this tool' sections, including clear alternatives (e.g., 'use marketing_intelligence_get_engine for any array larger than 200 rows'). It also lists non-tasks like unrelated marketing tasks and mental-math calculations, providing thorough usage guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
marketing_intelligence_get_engineMarketing Intelligence — Get Analysis Script (large payloads)ARead-onlyInspect
ALWAYS call this tool (do not analyse large marketing files yourself) for payloads LARGER than 200 rows in any data array. Returns a complete, runnable Python script that runs market basket rules, MMM (adstock + saturation + bootstrap CIs) + budget moves, A/B with power/peeking guards, Bass diffusion, and unit economics. Run it in your code sandbox against the user's files. The rows never pass through you as tokens. Needs numpy only (no scipy). Prints ranked decisions; writes full result to tmp/mi_run/marketing_intelligence_result.json. ALL created files must stay under tmp/mi_run/ (not repo root, not _mi_data*, not source folders, not beside user CSVs). PATH lines may read the user's files in place. No marketing data reaches this server on this path. SAVE AND RUN THE RETURNED SCRIPT VERBATIM as tmp/mi_run/marketing.py — only the PATH / option lines at the bottom may be edited. For ≤200 rows use marketing_intelligence instead.
When to call this tool:
ANY large marketing export when this MCP is connected — always call, never analyse yourself
Analyse a spend/sales/basket export with more than 200 rows
Any marketing file too large to send as tool arguments
Score attached CSVs without moving the data anywhere
Large Meta/Google + Shopify dumps for MMM / baskets / CAC
Run full marketing intelligence locally in a code sandbox
When NOT to call this tool:
200 rows or fewer in every array — use marketing_intelligence
No code sandbox — say so rather than sending huge payloads
Intent to rewrite/shorten/reimplement the script rather than run it
Writing script/OUT/helpers outside tmp/mi_run/ (repo root, _mi_data*, source, beside user CSVs)
Forecasting unrelated non-marketing series without marketing inputs
Skipping this tool to analyse large CSVs with mental math yourself
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Analysis date YYYY-MM-DD. | |
| currency | No | ISO currency code for display (INR, USD, EUR…). | USD |
| data_path | No | Optional path to a JSON envelope with API-shaped keys (transactions, spend, sales, ab_tests, …). Individual *_path arguments override keys from this file. | |
| sales_path | No | Sandbox path to sales/revenue series file. | |
| spend_path | No | Sandbox path to spend-by-channel file. | |
| ab_tests_path | No | Sandbox path to A/B test counts file. | |
| adoption_path | No | Sandbox path to adoption / Bass series file. | |
| controls_path | No | Sandbox path to MMM control drivers file. | |
| currency_symbol | No | Override display symbol (e.g. ₹, $). | |
| acquisitions_path | No | Sandbox path to acquisitions-by-channel file. | |
| gross_margin_rate | No | Gross margin fraction for honest LTV:CAC. | |
| transactions_path | No | Sandbox path to basket/order CSV/TSV/JSON/JSONL. | |
| customer_revenue_path | No | Sandbox path to customer revenue events file. |
Output Schema
| Name | Required | Description |
|---|---|---|
| notes | No | |
| script | Yes | Complete runnable Python analysis script — save and run verbatim. |
| currency | No | |
| language | No | |
| requires | No | |
| paths_used | No | |
| writes_file | No | |
| instructions | No | |
| sandbox_root | No | |
| code_integrity | No | |
| engine_version | Yes | |
| data_requirements | No | |
| network_access_required | No |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations readOnlyHint=true, openWorldHint=true, destructiveHint=false are consistent with the description. The description adds extensive behavioral context beyond annotations: it returns a script to run in a sandbox, rows never pass through as tokens, script writes to tmp/mi_run/, files must stay under tmp/mi_run/, path lines may read user's files, script must be saved verbatim, and only PATH/option lines are editable. No contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long and contains redundant information (e.g., 'For ≤200 rows use marketing_intelligence instead' appears in both the opening paragraph and the not-call list). It is well-structured with sections, but not concise; every sentence does not earn its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a highly complex tool with 13 parameters and no required parameters, the description is extremely complete: it covers data size thresholds, environment requirements, output location, safety constraints, and alternative usage. Output schema exists, so return values needn't be detailed, but the high-level workflow is fully described.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description does not add per-parameter semantics beyond the schema, but it provides helpful context that all paths refer to user's local files that the script reads in place and that only PATH/option lines may be edited. This is marginal added meaning, so a 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb+resource: 'Get Analysis Script' that returns a complete, runnable Python script for large marketing data analytics. It distinguishes itself from the sibling tool by explicitly saying 'For ≤200 rows use marketing_intelligence instead,' making the purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description includes explicit 'When to call' and 'When NOT to call' sections, naming the alternative (marketing_intelligence for ≤200 rows), conditions (code sandbox required), and exclusions (non-marketing forecasts, rewriting script). It also opens with 'ALWAYS call this tool... for payloads LARGER than 200 rows,' providing clear when-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Frequently Asked Questions
Claiming proves that you control a remote MCP connector. It does not move, proxy, or interrupt the server.
Open the connector listing, choose Claim ownership, and sign in to Glama.
Complete one verification method:
GitHub identity — fastest for official registry listings. For a namespace such as
io.github.alice/server, link the matching GitHub user or an account that owns the GitHub organization, then choose Claim with GitHub.HTTP challenge — works when you can deploy a public file. Generate a token, publish the exact JSON Glama shows at
/.well-known/glama.jsonon the same origin as the connector, then choose Check HTTP challenge.DNS challenge — works when you control DNS but cannot change the server. Generate a token, create the exact TXT record Glama shows, wait for it to propagate, then choose Check DNS challenge.
After verification, Glama sends a confirmation email and gives you access to listing details, thumbnails, health checks, and analytics. Keep the HTTP file or DNS record in place: Glama periodically checks it and ownership remains verified while the token is discoverable.
The HTTP ownership file has this structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"claim": "glama_claim_..."
}Claim tokens are opaque, stable, and bound to the signed-in Glama account. They contain no email address or other personal information. If Glama can no longer discover a verified HTTP or DNS token, it starts a seven-day grace period before removing claim-based access. Restore the same token during that period to keep ownership verified. Never publish an email address, Glama session token, GitHub token, or connector credential as ownership proof.
If verification fails, confirm that you copied the current token exactly. The HTTP file must be public, return valid JSON with a successful HTTP response, and stay on the connector's origin. DNS changes may need more time to propagate. A claim cannot transfer to a different origin or hostname: if the connector target changes, Glama starts the grace period and the new target must be claimed separately after the previous claim is released.
For a connector linked to the official MCP Registry, registry updates continue to replace its name, description, and URL by default. After claiming, open Manage connector and enable Use Glama listing details as the source of truth if edits made on Glama should be preserved. Categories and thumbnails are always managed on Glama; registry linkage and technical connection settings continue to sync.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
To improve your MCP server's ranking:
Claim ownership of the server listing
Complete the server profile with an accurate description and thumbnail
Provide a test profile so Glama can connect to and evaluate the server
Keep tool definitions clear and complete to earn a high Tool Definition Quality Score (TDQS)
Route real usage through the Glama Gateway; more recorded successful server uses also improve the ranking
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Connectors
Short-form video analytics and trend intelligence for TikTok, YouTube, and Instagram
Video analytics for TikTok, Instagram, and YouTube. Track, analyze, and discover content.
Creator discovery & analytics across YouTube, Instagram, TikTok (30M+) + brand/sponsor intel.
Social media data: 85 tools across 11 platforms (YouTube, TikTok, Instagram, X & more), one key.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceSocial media analytics, post insights, and competitor benchmarking for AI agents.6MIT- FlicenseNot gradedqualityDmaintenanceAnalyzes and compares product reputation using data from Reddit, Hacker News, and YouTube, providing sentiment and dimensional scores.
- AlicenseNot gradedqualityBmaintenanceAnalyze LinkedIn & email outreach campaigns, track pipeline performance, and review lead conversations for RevOps, Sales Managers, and SDR teams.Apache 2.0
- AlicenseBqualityDmaintenanceProvides tools for analyzing Instagram engagement metrics, extracting demographic insights, and identifying potential leads from Instagram posts and accounts.58046MIT