Skip to main content
Glama
admob-mcp

admob-mcp

by oleksandrtry

AdMob Mediation report

run_mediation_report
Read-onlyIdempotent

Generate AdMob Mediation reports to compare ad source, ad source instance, and mediation group performance across apps, ad units, and countries for waterfall and bidding network analysis.

Instructions

Runs an AdMob Mediation report: performance per ad source (network), ad source instance and mediation group, alongside app / ad unit / country breakdowns. Use to compare networks in your waterfall/bidding setup. OBSERVED_ECPM is the third-party network's estimated eCPM.

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

Input Schema

NameRequiredDescriptionDefault
sortNoSort order; field must be a requested dimension or metric. Default: by time, else first metric desc.
filtersNoKeep only rows whose dimension matches any of the values, e.g. [{dimension: 'COUNTRY', values: ['US','DE']}]. Use IDs for APP / AD_UNIT (see list_apps, list_ad_units).
metricsNoMetrics to return. Default: ESTIMATED_EARNINGS, IMPRESSIONS, OBSERVED_ECPM, AD_REQUESTS, MATCH_RATE.
currencyNoISO 4217 currency for money metrics, e.g. USD. Defaults to the account currency.
max_rowsNoRows to show in the response (totals always cover all rows).
account_idNoAdMob publisher ID, e.g. pub-1234567890123456. Optional: defaults to ADMOB_ACCOUNT_ID or the only account.
date_rangeNoDate range. Defaults to last_7_days.
dimensionsNoRow breakdown. Empty = one total row. At most one of DATE / MONTH / WEEK.
include_idsNoShow IDs next to names (e.g. app and ad unit IDs) in the table.
save_csv_pathNoIf set, also write ALL rows as CSV to this file path (relative to the server's working directory).

Output Schema

NameRequiredDescriptionDefault
rowsYes
reportYes
totalsYes
csv_pathYes
currencyYes
end_dateYes
warningsYes
row_countYes
time_zoneYes
account_idYes
rows_shownYes
start_dateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 covered. The description adds the meaning of OBSERVED_ECPM, which is genuine context, but it says nothing about row limiting, cost of wide dimension sets, or the file-write side effect of save_csv_path.

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?

Three short sentences, front-loaded with purpose, then use case, then a single clarifying metric definition. Nothing is redundant and nothing is buried.

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 an output schema present and full schema coverage, the description needn't explain return values, and the complexity of a 10-parameter reporting tool is largely handled by structured fields. The only substantive gap is that the description omits the CSV export side effect and any guidance on cost or result-size expectations.

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 every parameter carries an inline description, so the baseline is 3. The description contributes only one extra semantic (OBSERVED_ECPM is the third party's estimated eCPM); dimensions, filters, sort and max_rows semantics are left entirely to the schema.

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 opens with a specific verb+resource ('Runs an AdMob Mediation report') and immediately scopes it to mediation-specific breakdowns: ad source, ad source instance, mediation group. That dimension set clearly separates it from a campaign or network report without needing to name a sibling.

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?

'Use to compare networks in your waterfall/bidding setup' gives one positive use case, but there is no guidance on when to prefer run_network_report or run_campaign_report instead, nor any prerequisites or exclusions. Usage is implied rather than directed.

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