Skip to main content
Glama

GSCPAP - Google Search Console, GA4, Bing Webmaster Tools & PageSpeed MCP

List GA4 properties

list_ga4_properties
Read-only

List every Google Analytics 4 account + property the user can access.

Always call this first when working with GA4 - the AI needs a property_id to pass to every other ga4_* tool. Returns the full account+property tree in one round-trip:

[
  {"account": "accounts/123",
   "display_name": "My Company",
   "properties": [
     {"property": "properties/302550400",
      "display_name": "Main Site",
      "property_type": "PROPERTY_TYPE_ORDINARY",
      "parent": "accounts/123"}
   ]},
  ...
]

With no GA4 property at all it returns {"accounts": [...], "note"} instead, the note saying why and what the user can do. Retrying will not change the answer: tell the user what the note says.

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": "list_ga4_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentNoOptional: the user's goal in a few words. No site names or URLs.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / result / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / result / items
      Removed value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}
    • removedOutput schema / properties / result / type
      Removed value: -"array"
  2. Changed1 schema field changed
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Optional: the user's goal in a few words. No site names or URLs.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description is not carrying the safety burden. It adds real behavioral context beyond them: the empty-state behavior returns a 'note' explaining why, and 'Retrying will not change the answer' tells the agent not to loop on a failed lookup. The response example is partially redundant with the output schema, which is why this is a 4 rather than a 5.

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?

Purpose and the call-first instruction are front-loaded, and the empty-state caveat is separated clearly. The inline JSON response tree is the longest element and is somewhat redundant given an output schema exists, but it does illustrate the account-to-property nesting efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter discovery tool this covers every gap an agent would hit: the purpose, the ordering constraint, the return shape, the no-property fallback with its 'note' field, and explicit non-retry advice. Nothing needed to invoke it correctly is missing.

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 100% for the single 'intent' parameter, so the schema already carries the meaning. The description never mentions the parameter at all, meaning it adds nothing beyond structured data. Baseline 3 applies.

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 with scope: 'List every Google Analytics 4 account + property the user can access.' It also implicitly separates itself from the ga4_* analytics tools by framing itself as the prerequisite discovery step.

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

Usage Guidelines4/5

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

'Always call this first when working with GA4 - the AI needs a property_id to pass to every other ga4_* tool' gives explicit when-to-use guidance and names the downstream consumers. It lacks a stated when-not-to-use case, but the prerequisite framing is strong enough that no exclusion is really needed.

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.