Skip to main content
Glama

Create mediation group

create_mediation_group

Creates an AdMob mediation group for a given ad format and platform, linking ad units and optionally adding mediation lines for third-party ad sources.

Instructions

Creates a mediation group targeting a format/platform and a set of ad units, with optional mediation lines for third-party ad sources. Requires the admob.monetization scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatYesTargeted ad format
platformYesTargeted platform
adUnitIdsYesAdMob ad unit IDs this mediation group serves
displayNameYesDisplay name of the mediation group
idfaTargetingNoiOS IDFA targeting
excludedRegionCodesNoCLDR region codes to exclude
mediationGroupLinesNoMediation lines (ad sources) in the group
targetedRegionCodesNoCLDR region codes to target (omit for all regions)
Behavior4/5

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

Annotations only provide readOnlyHint=false, so the description carries the burden for behavioral disclosure. It adds the required admob.monetization scope and clarifies the purpose. It doesn't describe failure modes or return value, but for a create tool with a write annotation, it is adequate.

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 with no redundancy. The first sentence is action-oriented and information-rich; the second covers the auth requirement. Well-structured and easy to parse.

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?

The tool has 8 parameters and no output schema, but the schema is rich and the description provides a high-level overview plus auth requirement. It lacks an explicit description of return value or typical use-case boundaries, but is complete enough for an agent to invoke correctly with schema support.

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%, so the schema already documents all parameters. The description adds no significant parameter meaning beyond mentioning 'optional mediation lines,' which maps to mediationGroupLines already described in the schema. Baseline 3 applies.

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 clearly states the action ('Creates'), the resource ('mediation group'), and key attributes (format/platform, ad units, optional mediation lines). It distinguishes from sibling tools like list_mediation_groups and update_mediation_group by explicitly indicating creation.

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 provides clear context on what the tool does and the required scope, but it does not explicitly state when to use it over alternatives or mention exclusions. Since sibling tools include update_mediation_group, the create context is implied but not explicitly contrasted.

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