Skip to main content
Glama

analyticsdata.properties.runReport

Run customized Google Analytics event reports and return dimensions and metrics as a table. Apply date ranges, filters, and comparisons to analyze user activity for a property.

Instructions

Returns a customized report of your Google Analytics event data. Reports contain statistics derived from data collected by the Google Analytics tracking code. The data returned from the API is as a table with columns for the requested dimensions and metrics. Metrics are individual measurements of user activity on your property, such as active users or event count. Dimensions break down metrics across some common criteria, such as country or event name. For a guide to constructing requests & understanding responses, see [Creating a Report](https://developers.google.com/analytics/devguides/repor [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON RunReportRequest object accepting cohortSpec, comparisons, currencyCode, dateRanges, dimensionFilter, dimensions, keepEmptyRows, limit and 7 more fields; pass it via params or whole via body_file Siblings over the same resource: batchRunPivotReports, batchRunReports, checkCompatibility, getMetadata, runPivotReport, runRealtimeReport.

Input Schema

NameRequiredDescriptionDefault
queryNoExtra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe.
paramsNoParameter map merged into the request; typed parameters win.
dry_runNoReturn the request that would be sent, without sending it.
propertyYes[URL path segment] A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID]
body_fileNoRead the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON RunReportRequest object.
request_bodyNoRequest body of type RunReportRequest: pass it via `params` (merged into the built body) or whole via `body_file`.

Output Schema

NameRequiredDescriptionDefault
kindNo
rowsNo
totalsNo
maximumsNo
metadataNo
minimumsNo
rowCountNo
metricHeadersNo
propertyQuotaNo
dimensionHeadersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / body_file / description
      Previous value: -"Read the request body from this file ('-' for stdin) instead of building one from the parameters."New value: +"Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON RunReportRequest object."
    • addedInput schema / properties / request_body
      Added value: +{
      +  "description": "Request body of type RunReportRequest: pass it via `params` (merged into the built body) or whole via `body_file`.",
      +  "properties": {
      +    "cohortSpec": {
      +      "properties": {
      +        "cohortReportSettings": {
      +          "properties": {
      +            "accumulate": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "cohorts": {
      +          "items": {
      +            "properties": {
      +              "dateRange": {
      +                "properties": {
      +                  "endDate": {
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "startDate": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "dimension": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "cohortsRange": {
      +          "properties": {
      +            "endOffset": {
      +              "type": "integer"
      +            },
      +            "granularity": {
      +              "enum": [
      +                "GRANULARITY_UNSPECIFIED",
      +                "DAILY",
      +                "WEEKLY",
      +                "MONTHLY"
      +              ],
      +              "type": "string"
      +            },
      +            "startOffset": {
      +              "type": "integer"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "comparisons": {
      +      "items": {
      +        "properties": {
      +          "comparison": {
      +            "type": "string"
      +          },
      +          "dimensionFilter": {
      +            "properties": {
      +              "andGroup": {
      +                "properties": {
      +                  "expressions": {
      +                    "items": {
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "filter": {
      +                "properties": {
      +                  "betweenFilter": {
      +                    "type": "object"
      +                  },
      +                  "emptyFilter": {
      +                    "type": "object"
      +                  },
      +                  "fieldName": {
      +                    "type": "string"
      +                  },
      +                  "inListFilter": {
      +                    "type": "object"
      +                  },
      +                  "numericFilter": {
      +                    "type": "object"
      +                  },
      +                  "stringFilter": {
      +                    "type": "object"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "notExpression": {
      +                "properties": {
      +                  "andGroup": {
      +                    "type": "object"
      +                  },
      +                  "filter": {
      +                    "type": "object"
      +                  },
      +                  "notExpression": {
      +                    "type": "object"
      +                  },
      +                  "orGroup": {
      +                    "type": "object"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "orGroup": {
      +                "properties": {
      +                  "expressions": {
      +                    "items": {
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "currencyCode": {
      +      "type": "string"
      +    },
      +    "dateRanges": {
      +      "items": {
      +        "properties": {
      +          "endDate": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "startDate": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "dimensionFilter": {
      +      "properties": {
      +        "andGroup": {
      +          "properties": {
      +            "expressions": {
      +              "items": {
      +                "properties": {
      +                  "andGroup": {
      +                    "type": "object"
      +                  },
      +                  "filter": {
      +                    "type": "object"
      +                  },
      +                  "notExpression": {
      +                    "type": "object"
      +                  },
      +                  "orGroup": {
      +                    "type": "object"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "filter": {
      +          "properties": {
      +            "betweenFilter": {
      +              "properties": {
      +                "fromValue": {
      +                  "type": "object"
      +                },
      +                "toValue": {
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "emptyFilter": {
      +              "type": "object"
      +            },
      +            "fieldName": {
      +              "type": "string"
      +            },
      +            "inListFilter": {
      +              "properties": {
      +                "caseSensitive": {
      +                  "type": "boolean"
      +                },
      +                "values": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "numericFilter": {
      +              "properties": {
      +                "operation": {
      +                  "enum": [
      +                    "OPERATION_UNSPECIFIED",
      +                    "EQUAL",
      +                    "LESS_THAN",
      +                    "LESS_THAN_OR_EQUAL",
      +                    "GREATER_THAN",
      +                    "GREATER_THAN_OR_EQUAL"
      +                  ],
      +                  "type": "string"
      +                },
      +                "value": {
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "stringFilter": {
      +              "properties": {
      +                "caseSensitive": {
      +                  "type": "boolean"
      +                },
      +                "matchType": {
      +                  "enum": [
      +                    "MATCH_TYPE_UNSPECIFIED",
      +                    "EXACT",
      +                    "BEGINS_WITH",
      +                    "ENDS_WITH",
      +                    "CONTAINS",
      +                    "FULL_REGEXP",
      +                    "PARTIAL_REGEXP"
      +                  ],
      +                  "type": "string"
      +                },
      +                "value": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "notExpression": {
      +          "properties": {
      +            "andGroup": {
      +              "properties": {
      +                "expressions": {
      +                  "items": {
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "filter": {
      +              "properties": {
      +                "betweenFilter": {
      +                  "type": "object"
      +                },
      +                "emptyFilter": {
      +                  "type": "object"
      +                },
      +                "fieldName": {
      +                  "type": "string"
      +                },
      +                "inListFilter": {
      +                  "type": "object"
      +                },
      +                "numericFilter": {
      +                  "type": "object"
      +                },
      +                "stringFilter": {
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "notExpression": {
      +              "properties": {
      +                "andGroup": {
      +                  "type": "object"
      +                },
      +                "filter": {
      +                  "type": "object"
      +                },
      +                "notExpression": {
      +                  "type": "object"
      +                },
      +                "orGroup": {
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "orGroup": {
      +              "properties": {
      +                "expressions": {
      +                  "items": {
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "orGroup": {
      +          "properties": {
      +            "expressions": {
      +              "items": {
      +                "properties": {
      +                  "andGroup": {
      +                    "type": "object"
      +                  },
      +                  "filter": {
      +                    "type": "object"
      +                  },
      +                  "notExpression": {
      +                    "type": "object"
      +                  },
      +                  "orGroup": {
      +                    "type": "object"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "dimensions": {
      +      "items": {
      +        "properties": {
      +          "dimensionExpression": {
      +            "properties": {
      +              "concatenate": {
      +                "properties": {
      +                  "delimiter": {
      +                    "type": "string"
      +                  },
      +                  "dimensionNames": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "lowerCase": {
      +                "properties": {
      +                  "dimensionName": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "upperCase": {
      +                "properties": {
      +                  "dimensionName": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "keepEmptyRows": {
      +      "type": "boolean"
      +    },
      +    "limit": {
      +      "type": "string"
      +    },
      +    "metricAggregations": {
      +      "items": {
      +        "enum": [
      +          "METRIC_AGGREGATION_UNSPECIFIED",
      +          "TOTAL",
      +          "MINIMUM",
      +          "MAXIMUM",
      +          "COUNT"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "metricFilter": {
      +      "properties": {
      +        "andGroup": {
      +          "properties": {
      +            "expressions": {
      +              "items": {
      +                "properties": {
      +                  "andGroup": {
      +                    "type": "object"
      +                  },
      +                  "filter": {
      +                    "type": "object"
      +                  },
      +                  "notExpression": {
      +                    "type": "object"
      +                  },
      +                  "orGroup": {
      +                    "type": "object"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "filter": {
      +          "properties": {
      +            "betweenFilter": {
      +              "properties": {
      +                "fromValue": {
      +                  "type": "object"
      +                },
      +                "toValue": {
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "emptyFilter": {
      +              "type": "object"
      +            },
      +            "fieldName": {
      +              "type": "string"
      +            },
      +            "inListFilter": {
      +              "properties": {
      +                "caseSensitive": {
      +                  "type": "boolean"
      +                },
      +                "values": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "numericFilter": {
      +              "properties": {
      +                "operation": {
      +                  "enum": [
      +                    "OPERATION_UNSPECIFIED",
      +                    "EQUAL",
      +                    "LESS_THAN",
      +                    "LESS_THAN_OR_EQUAL",
      +                    "GREATER_THAN",
      +                    "GREATER_THAN_OR_EQUAL"
      +                  ],
      +                  "type": "string"
      +                },
      +                "value": {
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "stringFilter": {
      +              "properties": {
      +                "caseSensitive": {
      +                  "type": "boolean"
      +                },
      +                "matchType": {
      +                  "enum": [
      +                    "MATCH_TYPE_UNSPECIFIED",
      +                    "EXACT",
      +                    "BEGINS_WITH",
      +                    "ENDS_WITH",
      +                    "CONTAINS",
      +                    "FULL_REGEXP",
      +                    "PARTIAL_REGEXP"
      +                  ],
      +                  "type": "string"
      +                },
      +                "value": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "notExpression": {
      +          "properties": {
      +            "andGroup": {
      +              "properties": {
      +                "expressions": {
      +                  "items": {
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "filter": {
      +              "properties": {
      +                "betweenFilter": {
      +                  "type": "object"
      +                },
      +                "emptyFilter": {
      +                  "type": "object"
      +                },
      +                "fieldName": {
      +                  "type": "string"
      +                },
      +                "inListFilter": {
      +                  "type": "object"
      +                },
      +                "numericFilter": {
      +                  "type": "object"
      +                },
      +                "stringFilter": {
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "notExpression": {
      +              "properties": {
      +                "andGroup": {
      +                  "type": "object"
      +                },
      +                "filter": {
      +                  "type": "object"
      +                },
      +                "notExpression": {
      +                  "type": "object"
      +                },
      +                "orGroup": {
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "orGroup": {
      +              "properties": {
      +                "expressions": {
      +                  "items": {
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "orGroup": {
      +          "properties": {
      +            "expressions": {
      +              "items": {
      +                "properties": {
      +                  "andGroup": {
      +                    "type": "object"
      +                  },
      +                  "filter": {
      +                    "type": "object"
      +                  },
      +                  "notExpression": {
      +                    "type": "object"
      +                  },
      +                  "orGroup": {
      +                    "type": "object"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "metrics": {
      +      "items": {
      +        "properties": {
      +          "expression": {
      +            "type": "string"
      +          },
      +          "invisible": {
      +            "type": "boolean"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "offset": {
      +      "type": "string"
      +    },
      +    "orderBys": {
      +      "items": {
      +        "properties": {
      +          "desc": {
      +            "type": "boolean"
      +          },
      +          "dimension": {
      +            "properties": {
      +              "dimensionName": {
      +                "type": "string"
      +              },
      +              "orderType": {
      +                "enum": [
      +                  "ORDER_TYPE_UNSPECIFIED",
      +                  "ALPHANUMERIC",
      +                  "CASE_INSENSITIVE_ALPHANUMERIC",
      +                  "NUMERIC"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "metric": {
      +            "properties": {
      +              "metricName": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "pivot": {
      +            "properties": {
      +              "metricName": {
      +                "type": "string"
      +              },
      +              "pivotSelections": {
      +                "items": {
      +                  "properties": {
      +                    "dimensionName": {
      +                      "type": "string"
      +                    },
      +                    "dimensionValue": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "type": "object"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "property": {
      +      "type": "string"
      +    },
      +    "returnPropertyQuota": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed3 schema fields changed
    • changedInput schema / properties / property / description
      Previous value: -"A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID]"New value: +"[URL path segment] A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID]"
    • addedInput schema / properties / property / pattern
      Added value: +"^properties/[^/]+$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "dimensionHeaders": {
      +      "items": {
      +        "properties": {
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "kind": {
      +      "type": "string"
      +    },
      +    "maximums": {
      +      "items": {
      +        "properties": {
      +          "dimensionValues": {
      +            "items": {
      +              "properties": {
      +                "value": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "metricValues": {
      +            "items": {
      +              "properties": {
      +                "value": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "metadata": {
      +      "properties": {
      +        "currencyCode": {
      +          "type": "string"
      +        },
      +        "dataLossFromOtherRow": {
      +          "type": "boolean"
      +        },
      +        "dataTruncationReasons": {
      +          "items": {
      +            "properties": {
      +              "dataTruncationDate": {
      +                "type": "string"
      +              },
      +              "dataTruncationDateRanges": {
      +                "items": {
      +                  "properties": {
      +                    "endDate": {
      +                      "type": "string"
      +                    },
      +                    "startDate": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "dataTruncationMessage": {
      +                "type": "string"
      +              },
      +              "dataTruncationType": {
      +                "enum": [
      +                  "DATA_TRUNCATION_TYPE_UNSPECIFIED",
      +                  "DATA_TRUNCATION_TYPE_RULES_BASED_MODELS",
      +                  "DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION",
      +                  "DATA_TRUNCATION_TYPE_DV360",
      +                  "DATA_TRUNCATION_TYPE_CM360",
      +                  "DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS",
      +                  "DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS",
      +                  "DATA_TRUNCATION_TYPE_DATE_RANGE",
      +                  "DATA_TRUNCATION_TYPE_PROPERTY",
      +                  "DATA_TRUNCATION_TYPE_CONVERSIONS",
      +                  "DATA_TRUNCATION_TYPE_GOOGLE_ADS"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "emptyReason": {
      +          "type": "string"
      +        },
      +        "samplingMetadatas": {
      +          "items": {
      +            "properties": {
      +              "samplesReadCount": {
      +                "type": "string"
      +              },
      +              "samplingSpaceSize": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "schemaRestrictionResponse": {
      +          "properties": {
      +            "activeMetricRestrictions": {
      +              "items": {
      +                "properties": {
      +                  "metricName": {
      +                    "type": "string"
      +                  },
      +                  "restrictedMetricTypes": {
      +                    "items": {
      +                      "enum": [
      +                        "RESTRICTED_METRIC_TYPE_UNSPECIFIED",
      +                        "COST_DATA",
      +                        "REVENUE_DATA"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "subjectToThresholding": {
      +          "type": "boolean"
      +        },
      +        "timeZone": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "metricHeaders": {
      +      "items": {
      +        "properties": {
      +          "name": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "enum": [
      +              "METRIC_TYPE_UNSPECIFIED",
      +              "TYPE_INTEGER",
      +              "TYPE_FLOAT",
      +              "TYPE_SECONDS",
      +              "TYPE_MILLISECONDS",
      +              "TYPE_MINUTES",
      +              "TYPE_HOURS",
      +              "TYPE_STANDARD",
      +              "TYPE_CURRENCY",
      +              "TYPE_FEET",
      +              "TYPE_MILES",
      +              "TYPE_METERS",
      +              "TYPE_KILOMETERS"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "minimums": {
      +      "items": {
      +        "properties": {
      +          "dimensionValues": {
      +            "items": {
      +              "properties": {
      +                "value": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "metricValues": {
      +            "items": {
      +              "properties": {
      +                "value": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "propertyQuota": {
      +      "properties": {
      +        "concurrentRequests": {
      +          "properties": {
      +            "consumed": {
      +              "type": "integer"
      +            },
      +            "remaining": {
      +              "type": "integer"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "potentiallyThresholdedRequestsPerHour": {
      +          "properties": {
      +            "consumed": {
      +              "type": "integer"
      +            },
      +            "remaining": {
      +              "type": "integer"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "serverErrorsPerProjectPerHour": {
      +          "properties": {
      +            "consumed": {
      +              "type": "integer"
      +            },
      +            "remaining": {
      +              "type": "integer"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "tokensPerDay": {
      +          "properties": {
      +            "consumed": {
      +              "type": "integer"
      +            },
      +            "remaining": {
      +              "type": "integer"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "tokensPerHour": {
      +          "properties": {
      +            "consumed": {
      +              "type": "integer"
      +            },
      +            "remaining": {
      +              "type": "integer"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "tokensPerProjectPerHour": {
      +          "properties": {
      +            "consumed": {
      +              "type": "integer"
      +            },
      +            "remaining": {
      +              "type": "integer"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "rowCount": {
      +      "type": "integer"
      +    },
      +    "rows": {
      +      "items": {
      +        "properties": {
      +          "dimensionValues": {
      +            "items": {
      +              "properties": {
      +                "value": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "metricValues": {
      +            "items": {
      +              "properties": {
      +                "value": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "totals": {
      +      "items": {
      +        "properties": {
      +          "dimensionValues": {
      +            "items": {
      +              "properties": {
      +                "value": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "metricValues": {
      +            "items": {
      +              "properties": {
      +                "value": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations, so the description does carry the burden; it does add a genuinely useful trait – '[HTTP POST] ... refused under --readonly safety profiles' – despite this being a data read. It also states the response is the API's JSON resource. However it omits quota/rate-limit behavior (relevant given the returnPropertyQuota field) and auth requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the text contains a truncated documentation link ('...repor') and swaps mid-sentence into bracket boilerplate, hurting structure. It is not bloated but is untidy and part of the sentence is cut off.

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?

Given a full output schema and 100% parameter coverage, the description needn't explain return values, and it covers purpose, body-passing mechanics, and the POST/readonly caveat. Minor gap: no guidance on property ID sourcing or quota behavior, but it is largely sufficient to call the tool correctly.

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%, so baseline is 3. The description adds the mechanics of passing the RunReportRequest via `params` or whole via `body_file` and enumerates some body fields, but this largely restates what the schema already documents.

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?

States a specific verb+resource ('Returns a customized report of your Google Analytics event data') and explains what a report contains (dimensions break down metrics). It lists sibling tools over the same resource but does not explain how this report differs functionally from runPivotReport or batchRunReports, keeping it below 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Renaming the siblings (batchRunPivotReports, batchRunReports, runRealtimeReport, etc.) implies an alternative exists but gives no condition for choosing this one over them. Usage is implied by the report semantics rather than stated as explicit when/when-not guidance.

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

Deploy Server

Other Tools