Skip to main content
Glama
admob-mcp

admob-mcp

by oleksandrtry

List ad units

list_ad_units
Read-onlyIdempotent

Lists AdMob ad units with their app and format, returning IDs you can use as AD_UNIT filters in reports.

Instructions

Lists ad units (ca-app-pub-…/…) with their app and format. Ad unit IDs can be used as AD_UNIT filter values in reports.

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

Input Schema

NameRequiredDescriptionDefault
app_idNoOnly ad units of this app (ca-app-pub-…~…).
formatNoOnly this ad format, e.g. BANNER, INTERSTITIAL, REWARDED, REWARDED_INTERSTITIAL, NATIVE, APP_OPEN.
account_idNoAdMob publisher ID, e.g. pub-1234567890123456. Optional: defaults to ADMOB_ACCOUNT_ID or the only account.

Output Schema

NameRequiredDescriptionDefault
ad_unitsYes
account_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered. The description adds only the returned ID format and the report-filter cross-reference; it says nothing about pagination, result limits, or how the optional account default resolves (that is left to the schema).

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

Conciseness5/5

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

Two short sentences, front-loaded with the resource and ID format, with the downstream usage note last. No filler or repetition of structured fields.

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?

For a read-only listing tool with an output schema and full parameter documentation, the description covers what it returns and how the IDs are consumed. It stops short of noting result size or pagination behavior, but that is largely carried by the output schema.

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 each of the three optional filters is already documented in the schema, including the account default. The description adds no filter syntax or semantics beyond the AD_UNIT cross-reference, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('Lists ad units') and adds the ID shape (ca-app-pub-…/…) plus what each entry carries (app and format). The resource is distinct from the sibling listers (list_ad_sources, list_apps), though the description never explicitly contrasts itself with them.

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

Usage Guidelines3/5

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

It explains what the returned IDs are for downstream ('can be used as AD_UNIT filter values in reports'), which is useful context, but gives no explicit guidance on when to pick this tool over the sibling listing tools or any prerequisite/exclusion.

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