Get Analytics Metadata
get_metadataRetrieve available dimensions and metrics for a Google Analytics property by providing the property ID. Optionally filter by type: dimensions, metrics, or both.
Instructions
Get available dimensions and metrics for Google Analytics property
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": {
"propertyId": "<propertyId>"
},
"name": "get_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Type of metadata to retrieve | both |
| propertyId | Yes | Google Analytics property ID (e.g., 123456789). Required for all queries. |