Skip to main content
Glama

Get Google Analytics measurement health

get_google_analytics_measurement_health
Read-onlyIdempotent

Diagnose the connected property's data streams, web measurement IDs, enhanced-measurement settings, key events, and custom definitions. Reads only the GA4 property already connected to a NameIO project the caller is authorized to access. The server selects the Google account and property from that project's saved connection. Read-only and uses no NameIO 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_measurement_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesRequired. The NameIO project ID to scope this call to. Get one from list_projects.

Output Schema

NameRequiredDescriptionDefault
errorNo
issuesNo
sourceNo
statusYes
summaryNo
keyEventsNo
webStreamsNo
otherStreamsNo
customDefinitionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety bar is covered. The description adds genuinely new behavior: the server resolves the Google account and property from the project's saved connection, only the already-connected property is read, authorization is required, and no NameIO credits are consumed. That credit and connection-resolution detail is not recoverable from annotations.

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 sentences, each carrying distinct information: what is diagnosed, what is read and how it is resolved, and the cost/safety profile. The scope and resource list are front-loaded with no redundant restatement of the title.

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 single-parameter, read-only diagnostic with an output schema and full annotation coverage, the description supplies everything an agent needs: the inspected objects, the implicit property resolution, the authorization precondition, and the credit cost. Return values need not be described because an output schema exists.

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?

Schema coverage is 100% and the single projectId is fully documented in the schema, so the baseline would be 3. The description earns an extra point by explaining that projectId is the only selector and that the actual Google account and property are derived from that project's saved connection, clarifying why no property parameter exists.

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 uses a specific verb ('Diagnose') and enumerates the exact resources inspected: data streams, web measurement IDs, enhanced-measurement settings, key events, and custom definitions. This clearly separates it from the report-style siblings (audience breakdown, ecommerce performance, organic overview), though it never names an alternative explicitly.

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?

Usage is implied by 'Diagnose ... measurement health,' which tells an agent this is a configuration-inspection call rather than a metrics pull. However, there is no explicit statement of when to prefer this over the reporting siblings or when it is unnecessary, so the guidance stays implicit.

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