Skip to main content
Glama
Google Analytics MCP Plus

Google Analytics MCP Plus

by marcvrn

get_metadata

Read-only

List dimensions and metrics, including custom ones, for a specified GA4 property to discover fields usable in reports.

Instructions

List dimensions and metrics, including custom ones, usable in reports.

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": {
      "property_id": "<property_id>"
    },
    "name": "get_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
property_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so safety is covered. The description adds that custom as well as standard dimensions/metrics are included, which is genuine behavioral context, but it says nothing about result size, pagination, or whether the returned names are API-ready identifiers.

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?

A single compact sentence with the core scope front-loaded and no wasted wording. It is efficient, though brevity comes at the cost of the missing property_id detail.

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

Completeness3/5

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

For a simple one-parameter read tool with no output schema, the description covers what is returned at a high level and that custom fields are included. It is still incomplete on the identity and format of the required property_id, which is the one thing an agent must supply to call it successfully.

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

Parameters2/5

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

There is one required parameter, property_id, with 0% schema description coverage, and the description never mentions it. An agent must guess that it is the analytics property identifier and what format it takes, so the description fails to compensate for the schema gap.

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?

"List dimensions and metrics, including custom ones, usable in reports" gives a specific verb (list) and a specific resource (dimensions and metrics) plus the scope of custom fields. It is clear enough for an agent to distinguish it from run_report or admin_read, but it never names a sibling or states the boundary 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?

The phrase "usable in reports" implies this should be called while constructing a report, which is a useful hint. However, there is no explicit when-to-use, no statement of prerequisites, and no routing to run_report or get_request_schema, so guidance is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.