Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GA4_PROPERTY_IDNoDefault GA4 property ID (can also be specified when running tools)
GOOGLE_APPLICATION_CREDENTIALSNoPath to the service account JSON key file (not required when using gcloud CLI authentication)

Tools

Functions exposed to the LLM to take actions

NameDescription
list_accounts

GA4のアカウントとプロパティの一覧を取得します。どのプロパティIDを使うべきか確認する際に便利です。

get_property_details

指定したGA4プロパティの詳細情報(名前、タイムゾーン、通貨など)を取得します。

run_report

GA4の汎用レポートを実行します。任意のディメンションとメトリクスを指定して柔軟にデータを取得できます。

run_realtime_report

リアルタイムレポートを実行し、現在のアクティブユーザー数などを取得します。

get_metadata

利用可能なディメンションとメトリクスの一覧を取得します。run_reportで使える項目を確認できます。

get_traffic_summary

指定期間のトラフィック概要(PV数、ユーザー数、セッション数、直帰率など)を取得します。ダッシュボード的な使い方に最適です。

get_top_pages

人気ページのランキングを取得します。PV数、滞在時間、直帰率などを確認できます。

get_traffic_sources

流入元(チャネル、ソース、メディアなど)の分析結果を取得します。

get_device_breakdown

デバイス別(PC/モバイル/タブレット)のアクセス内訳を取得します。OS別、ブラウザ別の情報も含まれます。

get_geo_breakdown

地域別(国または市区町村)のアクセス分析結果を取得します。

compare_periods

2つの期間を比較します。前週比、前月比、前年同期比などの分析が可能です。

get_landing_pages

ランディングページ(ユーザーが最初にアクセスしたページ)の分析結果を取得します。

get_exit_pages

離脱ページ(ユーザーが最後に見たページ)の分析結果を取得します。

get_user_journey

特定ページの前後に閲覧されるページを分析します。ユーザーの回遊パターンの把握に便利です。

get_conversion_funnel

コンバージョンファネルの分析を行います。各ステップの通過率や離脱率を確認できます。

get_hourly_traffic

時間帯別のアクセス状況を分析します。投稿やキャンペーンのタイミング最適化に活用できます。

get_daily_trend

日別のトレンドデータを取得します。グラフ作成やトレンド分析に使用できます。

get_new_vs_returning

新規ユーザーとリピーターの比較分析を行います。それぞれのセッション数や滞在時間を確認できます。

get_engagement_metrics

エンゲージメント関連の詳細指標(エンゲージメント率、平均エンゲージメント時間など)を取得します。

get_search_terms

サイト内検索キーワードを分析します。GA4でサイト内検索が設定されている場合のみ有効です。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Shin-sibainu/ga4-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server