Skip to main content
Glama
jerry2247

admob-mcp

by jerry2247

Create AdMob ad unit

admob_create_ad_unit
Destructive

Create a new ad unit for a specified app, defining its format, display name, and optional reward settings. Use dryRun to preview without executing.

Instructions

Create a new ad unit under an app (v1beta). This method is allowlisted by Google: a 403 means your account is not yet granted access. Use dryRun to preview the request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesThe public app id the ad unit belongs to, e.g. "ca-app-pub-...~...".
dryRunNoIf true, validate the inputs and return the exact API request that would be sent WITHOUT executing it. Default false: the operation runs after the MCP client asks you to confirm.
adTypesNoAllowed ad media types (RICH_MEDIA, VIDEO).
adFormatYesAd format.
rewardUnitNoFor REWARDED formats: the reward unit type, e.g. "coins".
displayNameYesDisplay name for the ad unit.
publisherIdNoAdMob publisher id or account resource name, e.g. "pub-1234567890123456" or "accounts/pub-1234567890123456". Defaults to ADMOB_PUBLISHER_ID, or the single account on the credentials.
rewardAmountNoFor REWARDED formats: the reward amount.
Behavior4/5

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

Annotations indicate destructiveHint=true and readOnlyHint=false. The description aligns, noting creation is performed unless dryRun is true. It adds the allowlist requirement and preview capability, which are beyond annotation scope. No contradiction.

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 sentences deliver purpose, allowlist note, and dryRun guidance. Every sentence adds unique information with no redundancy.

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?

Despite no output schema, the description covers key aspects: creation, allowlist, dryRun. With 8 parameters fully described in schema and annotations, this is sufficient for a creation tool. Missing return value detail is a minor gap.

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 100%, but the description adds value by explaining dryRun's default behavior ('operation runs after MCP client asks you to confirm') and publisherId defaults. This augments schema descriptions.

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 name and title clearly indicate creating an ad unit. The description specifies 'under an app (v1beta)' and mentions the dryRun option. Among sibling tools, this is the only ad unit creation tool, so it is well-distinguished.

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?

The description states that the method is allowlisted and that a 403 means no access. It also advises using dryRun to preview requests. While it does not explicitly compare to siblings, the context implies it is for creation when access is granted.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jerry2247/admob-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server