Skip to main content
Glama
google-ad-manager-mcp

google-ad-manager-mcp

by Jakob-Peters

gam_ads_txt_diagnostics

Read-onlyIdempotent

Diagnose ads.txt and app-ads.txt authorization issues across child-publisher domains, showing sellers.json status, inventory authorization, and overall status for supply-chain audits.

Instructions

MODE: read-only. UI: Admin → Ads.txt management. MCM supply-chain diagnostics: for every child-publisher domain, its ads.txt/app-ads.txt authorization state — sellers.json status both ways, parent and child inventory authorization, and the OVERALL status. The report is fetched and parsed server-side and returned as rows. OUTPUT: summary (counts by overall status across ALL domains, never truncated), items (domain rows, filterable), and downloadUrl for the raw CSV. WHEN TO USE: 'which child sites have ads.txt problems', supply-chain revenue-loss audits, onboarding checks. Filter with status=… (e.g. the non-AUTHORIZED values in summary) or search=.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gam_ads_txt_diagnostics"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRow cap (default 100). `summary` always covers every row.
searchNoSubstring match on the domain.
statusNoOnly rows whose OVERALL authorization status equals this (see `summary` for the values present).
network_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world, so the safety bar is met here; the description goes further by disclosing that the report is fetched and parsed server-side and that `summary` counts are never truncated by `limit` — an important non-obvious behavior. It does not mention latency, permission requirements, or failure modes when the ads.txt file is unreachable.

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

Conciseness4/5

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

The text is front-loaded with MODE/UI/OUTPUT/WHEN TO USE labels, so an agent can scan to the relevant block quickly. It is dense and slightly over-formatted with bold markers and backticks, but no sentence is pure filler.

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?

With no output schema, the description compensates by naming all three return fields (summary, items, downloadUrl) and explaining how they relate to `limit`. Combined with the explicit use cases and server-side parsing note, an agent has enough to call this correctly; only network_code's role and auth requirements are left open.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%, and the description adds the key relational detail that status values should come from the non-AUTHORIZED entries in `summary`, plus reassurance that `limit` caps rows while `summary` always covers every domain. The fourth parameter, network_code, is unexplained in both schema and description, which is the only real gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource — 'MCM supply-chain diagnostics' over 'ads.txt/app-ads.txt authorization state' for 'every child-publisher domain' — and enumerates the exact facets checked (sellers.json both directions, parent/child inventory authorization, OVERALL status). That is far more specific than any sibling in the list, which are GAM ad-serving reads rather than supply-chain compliance checks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

An explicit 'WHEN TO USE' block gives three concrete scenarios (ads.txt problems, revenue-loss audits, onboarding checks) plus the recommended narrowing via status= or search=. It does not name a sibling as the alternative or state when not to use this tool, so it stops short of full routing guidance.

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