Skip to main content
Glama

Update mediation group

update_mediation_group

Patch an AdMob mediation group by providing the fields to modify and their paths. Adjust targeting or line items without recreating the group.

Instructions

Patches a mediation group. Pass the fields to change in mediationGroup and list their paths in updateMask (e.g. "display_name,targeting.ad_unit_ids"). Requires the admob.monetization scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
updateMaskYesComma-separated field mask, e.g. "display_name,mediation_group_lines"
mediationGroupYesMediationGroup fields to update, following the AdMob API v1beta MediationGroup schema
mediationGroupIdYesMediation group ID from list_mediation_groups
Behavior4/5

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

The description adds the required admob.monetization scope, which is not present in annotations (only readOnlyHint: false). It also communicates partial-update semantics via 'Patches' and the updateMask example, providing useful behavioral context beyond the minimal annotation.

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 two sentences, front-loaded with the core purpose, and every word adds value. The example and scope requirement are included without unnecessary fluff.

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 3 required parameters, a nested object, and a field mask pattern; the description adequately explains the usage pattern and required scope. It does not mention return values, but this is a patch operation where the response is likely the updated resource, and no output schema is provided.

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 the description enhances understanding by explicitly linking mediationGroup and updateMask, clarifying how they work together. The example 'display_name,targeting.ad_unit_ids' adds practical value beyond the 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 description begins with 'Patches a mediation group', which is a specific verb and resource, clearly indicating an update operation. It distinguishes itself from sibling tools like create_mediation_group (create) and list_mediation_groups (read) by focusing on patching existing groups.

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 clearly implies usage for updating existing mediation groups and provides practical instructions (pass fields in mediationGroup, list paths in updateMask). It does not explicitly name alternatives or exclusions, but the context is clear enough.

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