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

ad-revenue-reports-mcp

by OrhanArslan

AdMob Network report

admob_network_report
Read-onlyIdempotent

Generate custom AdMob Network reports by selecting metrics such as earnings, impressions, clicks, eCPM, and match/show rate with dimensions like date, app, country, format, and ad unit.

Instructions

Custom AdMob Network report: pick metrics (earnings, impressions, clicks, eCPM = IMPRESSION_RPM, match/show rate) and dimensions (date, app, ad unit, country, format, platform...). Money values are in the account currency. Use 'period' (e.g. 'last_30_days') or start_date + end_date.

Examples:

  • 'Earnings per day last week' -> period='last_7_days', dimensions=['DATE'], metrics=['ESTIMATED_EARNINGS']

  • 'eCPM by country for banners' -> period='last_30_days', dimensions=['COUNTRY'], metrics=['IMPRESSION_RPM','IMPRESSIONS'], filters=[{dimension:'FORMAT',values:['banner']}] Note: AD_TYPE dimension cannot be combined with AD_REQUESTS, MATCH_RATE or IMPRESSION_RPM. For a quick overview use admob_revenue_summary; for per-ad-source data use admob_mediation_report.

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_network_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/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds useful domain behavior beyond annotations: money values are in account currency, eCPM corresponds to IMPRESSION_RPM, and AD_TYPE cannot be combined with AD_REQUESTS, MATCH_RATE, or IMPRESSION_RPM.

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?

The description is front-loaded with purpose, then gives examples and a constraint note, which is a clear structure. Most content earns its place, though the examples and note could be tightened slightly without losing meaning.

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 report tool with no output schema, the description covers purpose, date modes, metrics, dimensions, currency, alternatives, and a key dimension/metric compatibility constraint. It does not describe the returned row structure in detail, but the schema and response_format parameter cover much of that.

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 description coverage is high at 92%, so the schema already carries most parameter documentation. The description still adds meaningful semantics through concrete examples, the eCPM-to-IMPRESSION_RPM alias, period examples, and filter usage such as FORMAT='banner'.

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 and resource: "Custom AdMob Network report," and then enumerates metrics and dimensions. It also names sibling tools for quick overview and mediation data, so an agent can distinguish this custom-report tool from admob_revenue_summary and admob_mediation_report.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly routes quick overview requests to admob_revenue_summary and per-ad-source requests to admob_mediation_report. It also explains the two date-selection modes, 'period' versus start_date + end_date, and provides examples mapping natural-language requests to parameters.

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