Skip to main content
Glama
CSOAI-ORG

Marketing Analytics AI MCP

attribution_model

Distribute conversion credit across marketing channels by applying attribution models to touchpoint journeys. Choose from first-touch, last-touch, linear, time-decay, U-shaped, or W-shaped models to analyze channel performance.

Instructions

Apply an attribution model to marketing touchpoints. Distributes conversion credit across channels based on the chosen model.

Args: touchpoints: Journey as [{"channel": "google", "timestamp": "2024-01-01", "cost": 50}, ...] model: Attribution model (first_touch, last_touch, linear, time_decay, u_shaped, w_shaped)

Behavior: This tool is read-only and stateless — it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNolinear
api_keyNo
touchpointsYes
Behavior5/5

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

Despite no annotations, the description provides comprehensive behavioral details: read-only, stateless, idempotent, rate limits (10/day free, unlimited pro), and no auth required. This fully informs the agent about side effects and constraints.

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 well-structured with clear sections (Args, Behavior, When to use/not use) and is concise without extraneous text. Every sentence adds value.

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

Completeness4/5

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

Given the tool has 3 parameters, no output schema, and no annotations, the description covers key aspects: purpose, parameters, behavior, usage boundaries. It lacks explicit mention of output format but the behavior section implies analysis output. Overall, it is nearly complete.

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

Parameters4/5

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

With 0% schema description coverage, the description compensates well for two of three parameters: touchpoints (example format) and model (enum list). However, the api_key parameter is not mentioned at all, missing an opportunity to clarify its optional nature.

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's function: "Apply an attribution model to marketing touchpoints" and "Distributes conversion credit across channels based on the chosen model." It specifies verb (apply), resource (attribution model to touchpoints), and outcome. Siblings like 'ab_test_analyze' and 'campaign_roi' are distinct, so no confusion.

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 includes explicit 'When to use' and 'When NOT to use' sections, advising against real-time production use without review. However, the 'When to use' is generic ('structured analysis or classification') and does not contrast directly with sibling tools, which would improve 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/CSOAI-ORG/marketing-analytics-ai-mcp'

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