Skip to main content
Glama

SearchCon

GA4 field names

ga4_fields
Read-only

Use this to find valid GA4 dimension and metric names for ga4_report, including the property's custom dimensions and metrics.

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

Input Schema

NameRequiredDescriptionDefault
limitNoPer list. Default 100.
searchNoOnly names, labels or categories containing this text, e.g. 'revenue' or 'source'.
property_idYesNumeric GA4 property id from list_ga4_properties (e.g. '123456789').

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered by structured data. The description adds that results are scoped to the specified property and include that property's custom dimensions and metrics, which is genuine context an agent would not get from the annotations. It does not discuss pagination, the 500-per-list ceiling, or result shape (though an output schema exists), so it is a moderate contribution.

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 front-loaded sentence with no redundant clauses; every element (lookup purpose, valid names, ga4_report linkage, custom fields) carries information. The 'Use this to' opener is slightly formulaic but not wasteful.

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?

All three parameters are documented in the schema, annotations cover the safety profile, and an output schema means return values need not be described. The description supplies the key missing behavioral fact (property-specific custom fields) and the downstream consumer, leaving little an agent needs that is absent.

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%, including the limit default, the search example terms, and the property_id format reference to list_ga4_properties. The description adds no parameter-level detail beyond implying property scoping, so the schema does the heavy lifting and the baseline 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 uses a specific verb (find) and resource (valid GA4 dimension and metric names), and names the consumer tool ga4_report, clarifying that this is a discovery/lookup tool rather than a reporting tool. It also notes that custom dimensions and metrics for the given property are included, which further narrows the scope. It stops short of explicitly stating how it differs from any sibling, so it falls just short of a 5.

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?

The description gives a clear usage context: use this to obtain valid names before calling ga4_report, which is exactly the workflow an agent needs. It does not state any negative conditions or name alternative sources for field names, so the guidance is clear but not exhaustive.

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