Skip to main content
Glama

Visibility Genies

Read traffic acquisition

get_google_analytics_traffic_acquisition
Read-only

Where sessions come from, by channel group, source and medium, or campaign, across all channels. Read only and free.

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": {
      "projectId": "<projectId>"
    },
    "name": "get_google_analytics_traffic_acquisition"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
deviceNoOnly this device: desktop, mobile or tablet.
mediumNoOnly sessions whose medium contains this text, in any case.
offsetNo
sourceNoOnly sessions whose source contains this text, in any case.
countryNoOnly this country, as its two-letter ISO code, for example DE.
endDateNoInclusive date as YYYY-MM-DD. Give both startDate and endDate, or neither for the last 28 complete property days.
campaignNoOnly sessions whose campaign contains this text, in any case.
keyEventNoCount only this key event (for example purchase) in the key event columns, instead of all key events. Not for the key events report, which lists them by name.
breakdownNoHow to group sessions.channel_group
projectIdYesRequired. The Visibility Genies project this call works in and is billed to. Call list_projects to find one.
startDateNoInclusive date as YYYY-MM-DD. Give both startDate and endDate, or neither for the last 28 complete property days.
channelGroupNoOnly this Google default channel group by its exact name, for example Paid Search, Organic Social or AI Assistant. Pass channel=all where the tool has it, or Organic Search is all that is read.
pageContainsNoOnly pages whose address contains this text, in any case. Not for site search or ecommerce by item.
comparePreviousPeriodNoAlso read the period just before and compare the rows.

Output Schema

NameRequiredDescriptionDefault
rowsNo
errorNo
quotaNo
sourceNo
statusYes
requestNo
pageInfoNo
rowCountNo
warningsNo
comparisonNo
diagnosticsNo
totalRowCountNo
reportMetadataNo
ecommerceActivityNo
diagnosticCoverageNo
siteSearchActivityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so "Read only" merely restates structured data. "Free" is the only genuinely new behavioral fact (no billing cost), and nothing is said about the default 28-day window, pagination behavior, or what the comparison mode returns.

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?

A single compact sentence with the grouping options front-loaded and no wasted clauses. The trailing "Read only and free" is somewhat redundant against the annotations but is short enough not to hurt.

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?

With 15 parameters the description is thin, but the schema is well documented (87% coverage, defaults, enums) and an output schema exists, so the heavy lifting is done structurally. What is still missing is the default 28-day reporting window and any routing hint versus the near-identical traffic_breakdown sibling.

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 87%, so the schema already documents device, medium, source, campaign, country, dates, keyEvent and comparePreviousPeriod in detail. The description only names the three breakdown groupings, which the enum itself already spells out; baseline 3 is appropriate.

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?

"Where sessions come from, by channel group, source and medium, or campaign" states the resource (session acquisition) and the three grouping modes, which map directly to the breakdown enum. It is clear what the tool reports, but it never distinguishes itself from the sibling get_google_analytics_traffic_breakdown, so an agent must guess between the two.

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?

There is no when-to-use guidance, no exclusions, and no mention of alternatives. "Across all channels" hints at scope but does not tell the agent when to pick this over traffic_breakdown, audience_breakdown, or organic_overview.

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.

Resources