Skip to main content
Glama

Google Ads & Meta Ads

Google Analytics: Get Account Summaries

ga4_get_account_summaries
Read-onlyIdempotent

List the Google Analytics accounts and GA4 properties the user's connected Google Analytics login can read, with each property's id (properties/), display name and type. Call this first: every other ga4_* tool takes one of these property ids. Read-only; reads only the user's own Analytics access.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ga4_get_account_summaries"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
accountsYesOne entry per Analytics account.
accountCountYesAnalytics accounts reached.
propertyCountYesGA4 properties reached, all accounts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered structurally. The description adds genuine context beyond them: the call is scoped to the user's own Analytics access, making permission-boundary behavior explicit. It still does not mention what happens when no Google Analytics login is connected or how large account lists are returned, so it falls just short of full disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, each doing distinct work: what is listed and with what fields, then the prerequisite ordering, then the read-only access scope. The most actionable instruction ('Call this first') is placed where it will be read before the agent commits to a plan.

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 an output schema present, the description need not document return values, yet it still names the key identifying field, which is the piece an agent must carry into every later ga4_* call. The only remaining gap is failure behavior when the login is missing or unauthorized, a minor omission given rich annotations and zero parameters.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4 and there is no per-parameter meaning to add. The description appropriately spends its words on the returned identifiers rather than inventing parameter guidance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (list Analytics accounts and GA4 properties readable by the connected login) and spells out exactly what each entry carries: property id in properties/<number> form, display name, and type. That return-shape detail distinguishes it from report-running siblings like ga4_run_report or ga4_get_property_details without the agent needing to open either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states the ordering constraint: 'Call this first: every other ga4_* tool takes one of these property ids.' That tells the agent both when to use it and why alternatives are not appropriate yet, which is the strongest form of routing guidance for a discovery tool.

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