ga_get_metadata
Retrieve the full list of available dimensions and metrics metadata for a GA4 property to identify valid fields for report queries.
Instructions
Get available dimensions and metrics metadata for your GA4 property.
⚠️ TOKEN OPTIMIZATION: This returns ALL available dimensions and metrics. Response can be large (~500+ items). Use sparingly and cache results when possible.
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": "ga_get_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| propertyId | No | GA4 property ID to query (overrides the default GA_PROPERTY_ID). Accepts "123456789" or "properties/123456789". Use ga_get_account_summaries to discover IDs. |