Skip to main content
Glama

Get Attribution Report

get_attribution_report
Read-only

Generate an attribution report showing how channels contribute to conversions.

Models: • first_touch - All credit to first interaction • last_touch - All credit to last interaction • linear - Equal credit across all touchpoints • time_decay - More credit to recent touchpoints • position_based - 40% first, 40% last, 20% middle • data_driven - ML-based attribution

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesAttribution model
endDateYes
startDateYes
conversionTypeNoFilter by conversion type (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, which the description doesn't contradict. The description adds model semantics but no behavior beyond generating a report, such as return format or data aggregation details.

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?

One sentence plus a bulleted list of models. Efficient and front-loaded, though the model definitions could be considered redundant with the enum, but they add meaning.

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

Completeness3/5

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

The tool is simple and read-only, but the description omits what the report contains, date range semantics, and any caveats about data-driven attribution. With no output schema, a little more detail on return value would help.

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?

Schema covers model and conversionType with brief descriptions, leaving startDate/endDate undescribed. The description adds definitions for each attribution model, which is highly useful and goes beyond the schema's placeholder 'Attribution model'.

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 clearly states the tool generates an attribution report showing channel contribution to conversions. The term 'attribution' distinguishes it from general analytics tools like get_analytics, though it doesn't explicitly name alternatives.

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

Usage Guidelines2/5

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

No guidance on when to choose this over get_analytics, get_unified_analytics, or get_benchmark_comparison. The model list is relevant but doesn't provide selection criteria or exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.