Skip to main content
Glama

Get Google Analytics page performance

get_google_analytics_page_performance
Read-only

Read page views, users, engagement duration, and key events from the connected GA4 property. Organic Search is the default; set channel to all to include every channel. Read-only and uses no FastestRank credits.

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_page_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
channelNoorganic_search
endDateNoInclusive YYYY-MM-DD date. Provide both startDate and endDate.
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
startDateNoInclusive YYYY-MM-DD date. Provide both startDate and endDate.
includeDateNo

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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false; the description restates read-only and adds the genuinely new fact that the call consumes no FastestRank credits. It does not disclose what happens when the GA4 property is not connected, whether missing data errors or returns empty, or anything about date-range defaults.

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?

Three short sentences, front-loaded with the metrics returned and then the channel behavior and cost note. Slightly redundant repetition of read-only, which the annotations already state, but nothing is wasted at length.

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?

Output schema exists, so return values need not be explained, and safety is covered by annotations. However, for a 7-parameter analytics tool with sub-50% schema coverage, the description leaves includeDate and pagination semantics unexplained and gives no cue for choosing this over sibling GA4 report tools.

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 43% across 7 parameters. The description adds meaning only for channel, clarifying how to broaden beyond the default. It says nothing about limit, offset, or includeDate, the last of which is entirely undocumented in both schema and description, so the compensation for the coverage gap is partial.

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 — 'Read page views, users, engagement duration, and key events from the connected GA4 property' — which tells an agent exactly what data comes back. It does not differentiate itself from nearby siblings such as get_google_analytics_organic_landing_pages or get_google_analytics_organic_overview, so selection between GA4 tools still requires guessing.

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?

Gives one concrete usage lever: Organic Search is the default channel and 'set channel to all to include every channel.' That is real guidance, but there is no statement of when to prefer this over the other GA4 performance tools, nor any prerequisites beyond the passing mention of a 'connected GA4 property.'

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.