Skip to main content
Glama
Dweeb1578

Marketing Analytics MCP Server

by Dweeb1578

demo_report_datapack

Computes a weekly inbound demo report datapack by fetching and enriching deals with attribution signals, enabling LLM to focus on classification and narrative generation.

Instructions

Complete, deterministic data pack for the weekly inbound demo report (READ-ONLY).

Does in Python everything the demo skill used to hand-orchestrate: computes the Mon–Sun target week, runs the exhaustive "Inbound - Organic" unclassified sweep (paginated to the end), fetches in-period demo-outcome deals, and fully enriches every deal (associations, company, contacts, notes, meetings, activity timeline, form submissions) with pre-computed attribution signals. The LLM's only remaining job is classification judgment + narrative.

Returns one JSON object: target/prev weeks, in_period_deals[], stale_unclassified[], converting_urls[], plus complete and warnings so partial pulls are explicit instead of silently improvised.

Args: week_ending: Anchor date YYYY-MM-DD; the target week is the most recent completed Mon–Sun on/before it (default: today). weeks_back: Completed weeks back to target (default: 1 = last week). max_contacts_per_deal: Cap on contacts enriched per deal (default: 3).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
weeks_backNo
week_endingNo
max_contacts_per_dealNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It declares the tool is READ-ONLY and deterministic, describes the paginated sweep and enrichment process, and explicitly mentions that returned fields like 'complete' and 'warnings' make partial pulls explicit. It does not describe rate limits or auth, but the behavioral context is sufficiently disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, with a clear introductory sentence explaining the purpose and process, followed by bullet-point parameter descriptions. It is well-structured and front-loaded, with no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (multiple data sources, enrichment, pagination), an output schema exists (context signal), so the description doesn't need to detail return values fully. However, it still summarizes the returned JSON structure. The three parameters are thoroughly explained, making the definition complete for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, requiring the description to fully explain parameters. It does so: week_ending is 'Anchor date YYYY-MM-DD; the target week is the most recent completed Mon–Sun on/before it (default: today)', weeks_back is 'Completed weeks back to target (default: 1 = last week)', max_contacts_per_deal is 'Cap on contacts enriched per deal (default: 3)'. This adds meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool is a 'Complete, deterministic data pack for the weekly inbound demo report (READ-ONLY)' and details exactly what it does: computing target week, running sweep, fetching deals, enriching them, and returning a JSON object. It distinguishes itself from siblings like demo_report_month_rollup and demo_report_save_week by being the comprehensive data pack.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description says 'The LLM's only remaining job is classification judgment + narrative,' implying it should be used before classification. It also mentions it replaces the hand-orchestrated demo skill. However, it does not explicitly state when not to use it or provide alternatives, though the context of siblings gives some guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dweeb1578/marketing-analytics-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server