Skip to main content
Glama
ad-revenue-reports-mcp

ad-revenue-reports-mcp

by OrhanArslan

AdMob Mediation report

admob_mediation_report
Read-onlyIdempotent

Compare ad networks by earnings, observed eCPM, and ad load latency per ad source, mediation group, or ad unit over a chosen date period or custom range.

Instructions

AdMob Mediation report: earnings and observed eCPM per ad source / ad source instance / mediation group, plus ad load latency. Use it to compare ad networks. Money values are in the account currency. Use 'period' or start_date + end_date.

Example: 'Which ad source earns the most this month?' -> period='this_month', dimensions=['AD_SOURCE'], metrics=['ESTIMATED_EARNINGS','OBSERVED_ECPM'], sort_by='ESTIMATED_EARNINGS'.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "metrics": "<metrics>"
    },
    "name": "admob_mediation_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoPreset period in the account's time zone: today, yesterday, last_7_days (the 7 complete days before today), last_30_days (30 complete days before today), this_month (1st of the month until today), last_month (the previous calendar month).
accountNoAdMob account, e.g. 'accounts/pub-1234567890123456'. Optional: omitted = your only account (an error lists the options if you have several).
filtersNoOptional dimension filters (all must match)
metricsYesMetrics to return, e.g. ['ESTIMATED_EARNINGS','IMPRESSIONS']
sort_byNoDimension or metric to sort by
end_dateNoEnd date YYYY-MM-DD (inclusive). Use with start_date instead of 'period'.
max_rowsNoMaximum rows requested from AdMob (1-100000). Output is also capped to stay readable.
dimensionsNoDimensions to group by. At most one of DATE/WEEK/MONTH. Empty = one total row. Money metrics are returned in the account currency (e.g. USD), not micros.
sort_orderNoDESCENDING
start_dateNoStart date YYYY-MM-DD. Use with end_date instead of 'period'.
currency_codeNoISO 4217 currency, e.g. 'USD'. Defaults to the account currency.
response_formatNo'markdown' for readable text, 'json' for structured datamarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds meaningful context beyond that: money values are in the account currency (with a matching currency_code param), and a worked example shows a realistic call shape. It omits any mention of error behavior, row caps, or partial-failure handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with a one-sentence summary of contents, followed by usage constraints and a compact worked example. Every sentence carries information; the example earns its space because it demonstrates the intent-to-parameters mapping that 12 parameters make non-obvious.

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?

For a 12-parameter read tool with no output schema, the description covers purpose, time-window selection, currency semantics and a usage example. Remaining gaps are minor and largely handled by the rich schema: output format (markdown vs json) and the row-cap behavior are only documented inside the schema.

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 92%, so the baseline is 3; the description still adds value by spelling out the mutual exclusivity of 'period' versus start_date + end_date and by mapping an intent ('which ad source earns the most this month') onto concrete values for period, dimensions, metrics and sort_by. Parameter count is high (12) but the description covers the key ones rather than all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource (AdMob Mediation report) and enumerates what it returns: earnings, observed eCPM per ad source / ad source instance / mediation group, and ad load latency. That is clearly distinct from listing tools, though it does not name a sibling such as admob_network_report, which could otherwise be confused with the 'compare ad networks' framing.

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?

Gives a clear use case ('Use it to compare ad networks') and a concrete selection rule for the time parameters ('Use period or start_date + end_date'). It does not state when NOT to use it or point to an alternative report tool, so it stops short of full routing guidance.

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