Skip to main content
Glama
AdMob Workflows MCP

AdMob Workflows MCP

app_ads_txt

Read-onlyIdempotent

Generates the app-ads.txt line for an AdMob publisher and returns the hosting location. Use it to set up authorized ad sellers correctly.

Instructions

The app-ads.txt line for an AdMob publisher and where to host it.

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": "app_ads_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
publisherIdNopub-… ; omit when the Google account has one AdMob account

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is fully covered by structured data. The description adds only that output concerns an ads.txt line and a hosting location. It does not say whether the output is static per publisher, whether it changes over time, or what happens when publisherId is omitted and multiple AdMob accounts exist.

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?

A single short sentence with no filler, and the key concept (app-ads.txt line, hosting location) is front-loaded. It is efficient but borders on under-specification rather than maximal economy of expression.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one optional parameter and no output schema, the description must carry more weight about return values; it only hints at 'the line' and 'where to host it' without saying what shape the response takes (raw line text, a filename, a URL). It is minimally sufficient to attempt a call but leaves the return surface ambiguous.

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

Parameters3/5

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

Schema description coverage is 100% and the single parameter already documents the pub-… pattern and the omit-when-one-account rule. The description adds only the coupling to 'an AdMob publisher', so the schema does the heavy lifting and the baseline of 3 applies.

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

Purpose3/5

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

The description names a specific artifact (the app-ads.txt line) and its hosting location, which distinguishes it from siblings like app_create or apps_list. However, it is a noun phrase with no verb: an agent cannot tell whether the tool returns an existing line, generates one for a publisher, validates a hosted file, or produces instructions. Purpose is inferable but not stated.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives such as integration_guide or store_checklist, and no preconditions (e.g., needing an AdMob account or a published app). The agent must guess the trigger condition.

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