Skip to main content
Glama
seocrawl-mcp

seocrawl-mcp

Official

get_ga4_traffic_by_source

Break down GA4 sessions by acquisition source or default channel grouping, sorted by sessions with each source’s share of period total to identify top traffic drivers.

Instructions

Sessions broken down by acquisition source. Pick dimension=source_medium (default) or channel for GA4's default channel grouping — rows come sorted by sessions, each with its share_pct of the period total, capped by limit (default 25, max 100).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_ga4_traffic_by_source"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden and does disclose sorting by sessions, share_pct, and the default/max limit. However, it omits read-only safety, authorization, date-range or property scoping, and what 'period total' refers to, which leaves meaningful gaps for an analytics report tool.

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 compact and front-loaded, first stating the resource, then the dimension choice, then return ordering and limit behavior. Every clause adds operational value, with no filler.

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?

For a simple read-only reporting tool with no annotations or output schema, the description explains the rows, sorting, share metric, and limit well. It is still incomplete about the reporting period, property scoping, and why parameters are described but absent from the schema.

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?

The schema declares zero parameters, so the baseline is 4, and the description adds real meaning by defining dimension values, the default, and limit defaults and bounds. The main weakness is that it references dimension and limit even though they are not declared in the input schema.

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 that it returns sessions broken down by acquisition source, with optional source/medium versus channel grouping. This distinguishes it from sibling reporting tools like summary or top pages, though it does not explicitly name an alternative.

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?

It gives useful guidance on choosing dimension=source_medium versus channel, but does not say when to use this tool instead of sibling GA4 traffic or summary tools. Usage is implied by the purpose rather than explicitly framed as a selection rule.

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