Skip to main content
Glama

Analytics get bigquery channels

analytics_get_bigquery_channels
Read-only

Unsampled GA4 sessions, purchases and revenue by session source/medium or campaign, from the BigQuery export (every event, no thresholds), next to the GA4 API totals for the same days. group_by is source_medium (default), source, medium or campaign. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": {
      "property_id": "<property_id>"
    },
    "name": "analytics_get_bigquery_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
limitNo
date_toNo
user_idNo
group_byNo
client_idNo
date_fromNo
user_emailNo
property_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries real weight here and delivers: it discloses that results come from the BigQuery export with every event and no thresholds, and that two figures (BigQuery and GA4 API) are returned side by side. What it omits is what happens when date_from/date_to are null and whether large ranges are paginated or truncated, but the core behavioral profile is disclosed.

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 tight sentences with the highest-value information (measures, unsampled source, comparison) front-loaded and parameter clarifications trailing. Semi-colon packing makes it dense but nothing is filler or repeated from the title.

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?

An output schema exists, so return shape needn't be explained, and the annotations cover safety. The remaining gap is the date range and property scoping: for a time-series export query, an agent needs to know whether a null date window means all-time, a default period, or an error, and that is absent.

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 0% across 9 parameters, so the description is doing necessary work: it gives group_by's allowed values and default, client_id's default to the active brand, and explains that extra is a pass-through for any other accepted field. However it says nothing about the required property_id, the date_from/date_to window, limit, or the user_id/user_email scoping params, leaving half the surface undocumented.

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 names the concrete measures (sessions, purchases, revenue), the dimension (source/medium or campaign) and the data source (BigQuery export, unsampled, no thresholds), plus the juxtaposition with GA4 API totals. That is far more specific than the title. It stops short of naming a sibling it supersedes, so an agent must infer the BigQuery-vs-GA4-API split from the text rather than being routed explicitly.

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 'next to the GA4 API totals for the same days' framing implies the reconciliation/unsampled-audit use case, and the group_by enumeration tells the agent how to shape the query. But there is no explicit when-to-use statement, no when-not, and no named alternative (e.g. analytics_get_ga4_metrics or analytics_get_traffic_sources) for the sampled/thresholded case.

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.