ads-mcp-readonly
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ADS_PROVIDER | No | The ad provider to use. The default `demo` provider serves invented data and requires no credentials. Set to `google-ads` to use the experimental Google Ads provider. | demo |
| GOOGLE_ADS_CLIENT_ID | No | Google Ads OAuth client ID. Required when using the Google Ads provider. | |
| GOOGLE_ADS_ACCOUNT_IDS | No | Comma-separated list of Google Ads account IDs the server is allowed to read. Required when using the Google Ads provider. | |
| GOOGLE_ADS_API_VERSION | No | Google Ads API version to use when using the Google Ads provider. Set to a version currently supported by Google, e.g. `v21`. | |
| GOOGLE_ADS_CLIENT_SECRET | No | Google Ads OAuth client secret. Required when using the Google Ads provider. | |
| GOOGLE_ADS_REFRESH_TOKEN | No | Google Ads OAuth refresh token. Required when using the Google Ads provider. For extra safety, use a token for a Google Ads user with read-only access. | |
| GOOGLE_ADS_DEVELOPER_TOKEN | No | Google Ads developer token. Required when using the Google Ads provider. | |
| GOOGLE_ADS_LOGIN_CUSTOMER_ID | No | Google Ads login customer ID. Required when using the Google Ads provider. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_accountsA | Lists the ad accounts this server may read. Read-only. |
| get_campaign_performanceB | Spend, clicks, calls, conversions or leads per campaign for a date range. Read-only. |
| get_account_summaryC | Totals across all campaigns of one account for a date range. Read-only. |
| run_readonly_queryA | Runs a Google Ads Query Language SELECT on an allow-listed resource. Anything that could change the account is refused before it leaves the server. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Three tools target clearly distinct things (account list, per-campaign metrics, account-level totals), and the read-only restriction is explicit in every description. The main overlap is run_readonly_query, a generic escape hatch that can reproduce the results of the three specialized tools, which could tempt an agent to pick it when a purpose-built tool fits better.
All four names follow a consistent snake_case verb_noun pattern (list_accounts, get_campaign_performance, get_account_summary, run_readonly_query). Verb choice (list vs get vs run) tracks the semantics sensibly, and the read-only nature is reinforced in descriptions rather than being inconsistently baked into names.
Four tools is a tightly scoped surface for a read-only reporting server, and each one maps to a distinct reporting need (discover accounts, per-campaign metrics, account rollups, ad-hoc queries). Nothing feels padded or redundant.
Account discovery, campaign-level performance, account totals, and an allow-listed GAQL query cover the core read-only lifecycle, and the generic query tool closes most gaps. Minor absences are dedicated tools for enumerating campaigns/ad groups or segment breakdowns, which users must reconstruct via raw GAQL.