Skip to main content
Glama

Create ad unit mapping

create_ad_unit_mapping

Create an ad unit mapping to link an AdMob ad unit to a third-party network adapter, using the adapter ID and configuration keys from list_adapters.

Instructions

Creates an ad unit mapping that links an AdMob ad unit to a third-party network placement via an adapter. Get the adapter ID and required configuration keys from list_adapters. Requires the admob.monetization scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adUnitIdYesAdMob ad unit ID to attach the mapping to
adapterIdYesAdapter ID from list_adapters
displayNameNoDisplay name of the mapping
adUnitConfigurationsYesAdapter configuration key/value pairs, keys from the adapter's adUnitConfigurations
Behavior4/5

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

Beyond the readOnlyHint=false annotation, the description discloses a specific authorization requirement ('Requires the admob.monetization scope') and clarifies the adapter-based linkage behavior. It does not detail side effects, but for a create operation the core behavior is adequately covered.

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?

The description is three short, purposeful sentences: the first states the action, the second gives a prerequisite, the third states the required scope. No fluff, front-loaded.

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 four parameters including a nested object, the description covers purpose, prerequisite, and auth. It does not mention return values, but since there is no output schema, that omission is a minor gap for a straightforward create operation.

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% and each parameter has a description. The description adds valuable context by instructing that adapterId and adUnitConfigurations keys come from list_adapters, which helps the agent correctly populate these parameters.

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 states a specific verb (creates), a clear resource (ad unit mapping), and the exact linkage (AdMob ad unit to third-party network placement via adapter). This distinguishes it from siblings like list_ad_unit_mappings and create_app.

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 explicitly tells the agent to get the adapter ID and configuration keys from list_adapters, providing a clear prerequisite and pointing to a complementary tool. However, it does not explicitly state when not to use this tool or mention alternative mapping creation paths.

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/ParkSangGwon/admob-mcp-server'

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