Skip to main content
Glama

AdAce Google & Search Ads

GA4 report by campaign tags

ga4_report
Read-onlyIdempotent

GA4: performance of the client's UTM tags — spend and platform results versus GA4 sessions, key events and revenue by campaign utm_id; CPA/ROAS by GA4, attribution gap, traffic without a campaign. property_id is optional.

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": {
      "client_id": "<client_id>"
    },
    "name": "ga4_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
date_toNoPeriod end, YYYY-MM-DD, no later than yesterday; up to 31 days. Optional: by default yesterday (the account's time zone when known, otherwise UTC).
client_idYes
date_fromNoPeriod start, YYYY-MM-DD, a completed day. Optional: without dates the last 7 completed days are used (date_from = date_to − 6 days).
property_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral context — it reports an 'attribution gap' and 'traffic without a campaign', which signals that unmatched/uncampaigned data is included rather than silently dropped, and it notes property_id is optional. It does not say how missing GA4 access or an invalid property is handled.

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 dense, front-loaded sentence: the tool identity comes first, then the metric inventory, then the optional-parameter note. It is efficient with no filler, though the em-dash metric list is packed enough to read as a run-on and the closing 'property_id is optional' feels appended.

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?

With no output schema, the description carries the return-value burden and does so by listing the report sections (spend vs. sessions, key events, revenue by utm_id, CPA/ROAS, attribution gap, uncampaigned traffic). Date defaults are fully specified in the schema. The only real gap is the undocumented client_id, which is minor in context.

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 coverage is 50%: date_from/date_to are well documented in the schema itself, but client_id and property_id have no schema descriptions. The description only partially compensates, clarifying that property_id is optional (i.e., the account's default property is used) but saying nothing about what client_id identifies or where to obtain it.

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 a specific resource (GA4 campaign/UTM tag performance) and enumerates the concrete outputs: spend vs. sessions, key events, revenue by utm_id, CPA/ROAS, attribution gap, and uncampaigned traffic. An agent can tell this is the GA4-side reporting tool rather than an ads-platform or Search Console one, though no sibling is named 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?

Usage is implied by the content described (use it when you need GA4-side campaign performance), but there is no explicit when-to-use, no exclusions, and no routing statement such as 'for Search Console data use search_console_report' or 'for ad-platform metrics use get_performance'. The agent must infer the boundary from the sibling list.

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