Skip to main content
Glama

affiliate_fraud_clickstream_detector

Read-onlyIdempotent

Analyzes affiliate clickstream data from Common Crawl to flag potential fraud patterns (duplicate IPs, rapid clicks, device spoofing). Designed for CMOs to validate affiliate traffic quality and prevent budget waste. Inputs: affiliate network name and date range. Outputs: fraud probability score, suspicious IP list, and pattern analysis. Keywords: affiliate fraud detection, clickstream analysis, marketing attribution, traffic validation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asyncNoIf true, returns a job_id immediately (<200ms) instead of waiting for the result. Poll the result with job_result(job_id). Use for slow tools to avoid client timeouts.
thresholdNoFraud probability threshold (0.1-0.99)
date_rangeYes
affiliate_networkYesName of the affiliate network to analyze (e.g., 'CJ Affiliate', 'Rakuten')

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
sourcesNo
warningsNo
suspicious_ipsNo
fraud_probabilityNoOverall fraud probability score (0-1)
patterns_detectedNo
total_clicks_analyzedNo

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint. The description adds value by detailing the output structure (fraud probability score, suspicious IP list, pattern analysis) and input requirements (affiliate network, date range). It is consistent with annotations and does not contradict them.

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?

The description is three sentences plus a keywords tag, each serving a purpose: purpose, audience/context, inputs/outputs. It is efficient and front-loaded with the core action. However, the keywords tag is redundant and could be omitted for even greater conciseness.

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 4 parameters, nested objects, and an output schema (as per context signals), the description adequately covers purpose, inputs, and outputs. It mentions the data source (Common Crawl) and target audience. It does not discuss edge cases or failure modes, but this is acceptable given the read-only, idempotent nature.

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

Parameters3/5

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

Schema description coverage is 75%, and the input schema already documents all parameters (affiliate_network, date_range, threshold, async). The description merely restates that inputs are 'affiliate network name and date range', adding no new meaning beyond the schema for these or the other parameters. Baseline of 3 is appropriate.

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 uses a specific verb ('Analyzes') and resource ('affiliate clickstream data from Common Crawl') and clearly states the goal ('flag potential fraud patterns'). It lists example fraud types (duplicate IPs, rapid clicks, device spoofing), distinguishing it from generic fraud detectors. The target audience (CMOs) and business value (prevent budget waste) are also provided.

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?

The description implies usage context ('Designed for CMOs to validate affiliate traffic quality') but does not explicitly state when not to use the tool or compare it to sibling tools like 'fraud_detector' or 'web_search_multilang'. It lacks explicit exclusions or alternative recommendations.

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.

TDQS

C2.5/5.0
Disambiguation2/5

With 271 tools, many have overlapping purposes (e.g., multiple competitor intel tools, multiple financial modelers, multiple ESG auditors). Detailed descriptions help slightly, but the sheer volume creates confusion. Agents would struggle to select the right tool among many similar options.

Naming Consistency1/5

Tool names are wildly inconsistent: mix of English and French, snake_case and short phrases, some very generic (process, run, execute equivalents). No discernible naming convention (e.g., abm_architect vs. boundary_control vs. bp_narratif). This makes it hard to predict tool names.

Tool Count1/5

271 tools is far beyond typical well-scoped servers (3-15). This indicates an unfocused, over-bloated tool surface. Even for a general business intelligence server, this number is excessive and violates the principle of each tool earning its place.

Completeness2/5

Despite the large count, coverage feels scattered. Some domains (e.g., content, competitive intel) have many tools, while others (e.g., supply chain, HR) have gaps. The set lacks a coherent scope; it seems like a dump of many separate tool collections rather than a complete, curated surface.

Resources