Skip to main content
Glama

GA4: run report

ga4_run_report
Read-onlyIdempotent

Run a GA4 Data API report (dimensions x metrics over a date range) for a property (properties/).

Tools revision: d80f65c0.

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": "<property>",
      "metrics": "<metrics>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "ga4_run_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
metricsYes
end_dateYes
propertyYes
dimensionsNo
start_dateYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered and the description only needs to add operational context. It adds the GA4 Data API framing and the property resource format, but says nothing about quotas, throttling, or whether the default limit of 10000 truncates results.

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 front-loaded sentence that defines the operation before any details. The trailing "Tools revision: d80f65c0." is build metadata that adds no selection or invocation value for an agent.

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?

An output schema exists, so return format need not be described, and annotations cover the read-only profile. However, for a 6-parameter analytics query tool with zero schema descriptions, the gaps around date formatting, metric naming and limit behavior leave real ambiguity an agent must resolve by trial and error.

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

Parameters2/5

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

Schema description coverage is 0% across 6 parameters, so the description carries the full burden and only partly meets it. It clarifies the property as "properties/<id>" and explains that dimensions combine with metrics over a date range, but gives no date format (e.g. YYYY-MM-DD vs relative strings), no metric/dimension naming examples, and no semantics for the limit parameter.

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?

States a specific verb and resource ("Run a GA4 Data API report") and scopes it as "dimensions x metrics over a date range," which implicitly separates it from the cohort, funnel and realtime report siblings. It does not explicitly name those siblings, so an agent must still infer that ga4_run_pivot_report is the variant for pivoted output.

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 scope phrase implies this is the general-purpose reporting tool, but there is no explicit when-to-use or when-not-to-use statement and no routing to ga4_run_pivot_report, ga4_run_cohort_report, ga4_run_funnel_report or ga4_run_realtime_report. Usage is inferred from the parenthetical rather than stated.

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