Get Analytics Metadata
get_metadataRetrieve available dimensions and metrics for a Google Analytics property. Specify property ID and optionally filter by type for metadata discovery.
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 |
|---|---|---|---|
| propertyId | Yes | Google Analytics property ID (e.g., 123456789). Required for all queries. | |
| type | No | Type of metadata to retrieve | both |