Skip to main content
Glama

Get Google Analytics measurement health

get_google_analytics_measurement_health
Read-only

Diagnose the connected property's data streams, web measurement IDs, enhanced-measurement settings, key events, and custom definitions. 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_measurement_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesRequired. The FastestRank 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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: it consumes no FastestRank credits, which affects an agent's cost calculus. It stops short of stating what happens when no property is connected or what a degraded health result looks like.

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, no filler, and the scope of the diagnostic is front-loaded before the read-only/credits caveat. Every clause carries information an agent can act on.

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?

For a single-parameter diagnostic with an output schema, this covers what is inspected and the cost profile, which is most of what an agent needs. The remaining gap is prerequisites and failure modes—nothing says a GA connection must exist or what is returned when a stream or measurement ID 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?

With a single parameter at 100% schema description coverage, the schema already explains projectId and where to obtain it. The description adds only the implicit notion that the GA property is resolved from the project scope rather than passed in. Baseline 3 is appropriate.

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?

"Diagnose" plus an enumerated list of configuration facets (data streams, measurement IDs, enhanced-measurement settings, key events, custom definitions) gives a concrete verb+resource. It reads as a configuration/health audit rather than a metrics report, which separates it from most siblings. Minor ambiguity: "key events" also appears in the sibling get_google_analytics_key_events, and the description does not clarify that here it means definition configuration, not event performance data.

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?

The word "diagnose" implies the usage context—verifying tracking setup rather than pulling performance numbers—and the credit note helps an agent decide when it is cheap to call. However, there is no explicit when-to-use/when-not-to-use statement, no prerequisite (e.g. a connected GA property) and no named alternative for performance reporting.

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.