Skip to main content
Glama

Google Analytics status

ga4_status
Read-onlyIdempotent

Whether Google Analytics 4 is connected for the project and which property. Call before other ga4_* tools.

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

Input Schema

NameRequiredDescriptionDefault
project_idNoProject id or slug. Optional when the account has one project or the connector URL names it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/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 the safety profile is covered. The description adds the precondition role and that a property identifier is returned, but does not say whether a missing project_id is resolved from the connector URL or what the response looks like when GA4 is absent.

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?

Two short sentences with zero filler; the return meaning comes first and the sequencing constraint second. Every clause carries actionable information.

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 one-parameter, read-only status tool with no output schema, the description supplies what matters: what is checked, that a property is reported, and that it should be run first. Nothing an agent needs to call 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% and the single project_id parameter is documented in the schema, including the optional fallback when the connector URL names the project. The description adds nothing beyond that, so the baseline of 3 applies.

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 the exact resource and the information returned: GA4 connection state for the project plus the connected property. It is clearly a status/precondition tool and is implicitly distinguished from data-returning siblings like ga4_traffic or ga4_pages, though it never uses an explicit verb like 'check'.

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?

Gives direct sequencing guidance: 'Call before other ga4_* tools', which is precisely the when-to-use rule an agent needs for a precondition check. It stops short of saying what to do when the result is 'not connected' (e.g., an auth/setup tool to call instead).

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.