Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

get_campaign_attribution

Read-onlyIdempotent

Compare first-touch and last-touch attribution for campaign conversions to see whether a campaign initiated or closed the conversion journey.

Instructions

Compare first-touch vs last-touch attribution for campaign conversions. Reveals whether this campaign initiated or closed the conversion journey.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "campaign_id": "<campaign_id>"
    },
    "name": "get_campaign_attribution"
  }
}

Input Schema

NameRequiredDescriptionDefault
windowNo
campaign_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds no behavior beyond that: nothing about what time horizon the comparison covers, how the window affects results, or what happens when attribution data is missing.

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

Conciseness4/5

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

Two short sentences, front-loaded with the core action and followed by the interpretive value. The second sentence is arguably a restatement of the first's purpose, but it does help an agent understand what the output means.

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

Completeness2/5

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

There is no output schema, so the description should explain what the comparison returns, but it only gestures at 'initiated or closed the conversion journey'. Combined with the undocumented `window` parameter, an agent lacks enough to call this confidently or interpret results.

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

Parameters2/5

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

Schema description coverage is 0%, so both parameters depend on the description, and the description never mentions either one. In particular, `window` has a default of 7 with no stated unit (days? touches?), which an agent must guess. This is a real gap that the description should have closed.

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

Purpose4/5

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

The description states a specific verb and resource: compare first-touch vs last-touch attribution for campaign conversions. That is clearly distinct from generic siblings like get_campaign or get_campaign_funnel. It stops short of 5 only because it does not explicitly contrast itself with the closest analytical sibling (get_campaign_funnel).

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is for attribution-model comparison, not for raw conversion counts. There is no statement of when to prefer this over get_campaign_funnel or get_ab_results, and no prerequisites or exclusions are given.

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

Deploy Server

Other Tools