Skip to main content
Glama
adeshsarwan

google-ads-function-gateway

by adeshsarwan

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GOOGLE_ADS_MCP_HOSTNoStreamable HTTP bind host.127.0.0.1
GOOGLE_ADS_MCP_PORTNoStreamable HTTP bind port.8000
GOOGLE_ADS_CLIENT_IDYesOAuth client ID for Google Ads API.
GOOGLE_ADS_API_VERSIONNoOptional Google Ads API version; when omitted, the gateway uses the highest version packaged by google-ads-python.
GOOGLE_ADS_CLIENT_SECRETYesOAuth client secret for Google Ads API.
GOOGLE_ADS_REFRESH_TOKENYesOAuth refresh token for Google Ads API.
GOOGLE_ADS_MCP_AUTH_TOKENNoOptional bearer token required for Streamable HTTP MCP requests.
GOOGLE_ADS_RETRY_ATTEMPTSNoNumber of retry attempts for API calls.3
GOOGLE_ADS_RUN_LIVE_TESTSNoSet to '1' only when intentionally running live read-only tests.0
GOOGLE_ADS_DEVELOPER_TOKENYesYour Google Ads API developer token.
GOOGLE_ADS_LOGIN_CUSTOMER_IDYesManager/MCC account ID used as the discovery root.
GOOGLE_ADS_ALLOWED_CUSTOMER_IDSYesComma-separated list of customer IDs explicitly authorized for reporting.

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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_accountsA

Discover accessible Google Ads accounts using the configured MCC context.

get_account_detailsA

Return details for one explicitly allow-listed Google Ads customer.

list_campaignsA

List campaigns for one explicitly allow-listed Google Ads customer.

get_campaign_detailsB

Return details for one campaign in an explicitly allow-listed customer.

get_campaign_costA

Return daily campaign cost rows for an explicitly allow-listed customer.

get_campaign_performanceC

Return campaign performance rows for one or more explicitly allow-listed customers.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 6 tools

Disambiguation4/5

Tools are mostly distinct: list vs details pairs for accounts and campaigns are clear, and cost vs performance have separate purposes. There is minor potential confusion between get_campaign_cost and get_campaign_performance since cost could be considered part of performance, but the descriptions clarify the difference.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case, such as list_accounts, get_account_details, and list_campaigns. The naming is predictable and makes the tool's purpose clear.

Tool Count5/5

Six tools is a well-scoped set for a Google Ads read-only gateway. Each tool covers a meaningful access or reporting need without unnecessary redundancy.

Completeness4/5

The tool surface covers core account discovery, campaign listing, details, cost, and performance reporting. It lacks deeper campaign management or ad-level reporting, but for a read-only function gateway the major workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessNo issues