agentleFS
davidmosiahdavidmosiah/google-ads-mcp-unofficial/AGENTS.md

google-ads-mcp-unofficial

AGENTS.md4 starsChanged 6 months agoMITView on GitHub

This document tells AI agents how to operate the Google Ads MCP safely. Google Ads spend is real money. The MCP defends against accidental waste with three layers: If a write tool errors with "Write tools are disabled...", do not retry. Surface the message to the user and let them decide whether to enable mutations. The Hermes profile pin (io.github.davidmosiah/google-ads-mcp@<version>) gives you these direct tools: Use them directly. Do not shell out to npx google-ads-mcp-server doctor from within Hermes —…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Mutations are off by default: Before suggesting the user enable GOOGLE_ADS_ALLOW_MUTATIONS, explicitly ask.

    line 24
  2. Distinctive:

    One change at a time: When mutations are enabled, do not batch pauses or bid changes across many keywords without explicit confirmation per …

    line 25
  3. Very specific:

    Customer ids leak account scale: Default to structured privacy mode (partial-redacted).

    line 28
  4. Very specific:

    If a write tool errors with "Write tools are disabled...", do not retry.

    line 39
  5. Very specific:

    Use them directly. Do not shell out to npx google-ads-mcp-server doctor from within Hermes — the gateway will call the MCP for you.

    line 90

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Agent-facing usage — google-ads-mcp-unofficial

This document tells AI agents how to operate the Google Ads MCP safely.

Tool count: 22

  • 5 meta/diagnostic — always safe, no API calls
  • 3 shared profile — read/write ~/.delx-wellness/profile.json
  • 3 auth — OAuth lifecycle
  • 8 reads — GAQL queries against Google Ads REST
  • 2 workflow — synthesized reports/audits, always read-only
  • 6 mutations — GATED by GOOGLE_ADS_ALLOW_MUTATIONS

Agent first-call ladder

  1. google_ads_connection_status — verify env + token are ready
  2. google_ads_data_inventory — see categories + tool roster
  3. google_ads_list_accounts — discover the customer_id to operate on
  4. google_ads_daily_report({ customer_id }) — fast performance pulse
  5. google_ads_find_waste({ customer_id }) — identify cleanup candidates (read-only)

Hard rules (do not violate)

  1. Mutations are off by default. Before suggesting the user enable GOOGLE_ADS_ALLOW_MUTATIONS, explicitly ask. Do not silently set it.
  2. One change at a time. When mutations are enabled, do not batch pauses or bid changes across many keywords without explicit confirmation per change.
  3. explicit_user_intent: true is required on every mutation call. Even after env-level enable.
  4. Frame outputs as marketing operations, not financial advice.
  5. Customer ids leak account scale. Default to structured privacy mode (partial-redacted). Use raw only when the user needs the full id.
  6. Daily report is read-only. It synthesizes 3 windows of metrics — never propose actions in the same call.

Money safety

Google Ads spend is real money. The MCP defends against accidental waste with three layers:

  • Env-level gate (GOOGLE_ADS_ALLOW_MUTATIONS)
  • Per-call gate (explicit_user_intent)
  • Audit log (every mutation written to stderr with resource_name + payload)

If a write tool errors with "Write tools are disabled...", do not retry. Surface the message to the user and let them decide whether to enable mutations.

Tool call shapes (key tools)

// Discover accounts
{ "name": "google_ads_list_accounts", "arguments": { "response_format": "json" } }

// Daily report with CPC alert
{
  "name": "google_ads_daily_report",
  "arguments": {
    "customer_id": "1234567890",
    "cpc_alert_threshold": 0.15,
    "response_format": "markdown"
  }
}

// Find waste
{
  "name": "google_ads_find_waste",
  "arguments": {
    "customer_id": "1234567890",
    "date_range": "LAST_30_DAYS",
    "min_clicks": 5,
    "min_cost_micros": 200000,
    "zero_conversions_only": true
  }
}

// Pause a keyword (gated)
{
  "name": "google_ads_pause_keyword",
  "arguments": {
    "customer_id": "1234567890",
    "ad_group_id": "999",
    "criterion_id": "111222333",
    "explicit_user_intent": true
  }
}

Hermes operator pattern

The Hermes profile pin (io.github.davidmosiah/google-ads-mcp@<version>) gives you these direct tools:

  • mcp_google_ads_google_ads_connection_status
  • mcp_google_ads_google_ads_list_accounts
  • mcp_google_ads_google_ads_daily_report
  • mcp_google_ads_google_ads_find_waste

Use them directly. Do not shell out to npx google-ads-mcp-server doctor from within Hermes — the gateway will call the MCP for you. Reload with /reload-mcp or hermes mcp test google-ads.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.