Skip to main content
Glama
admob-mcp

admob-mcp

by oleksandrtry

Earnings summary

get_earnings_summary
Read-onlyIdempotent

Get a one-call AdMob performance overview: KPI totals, daily or weekly trend, and top contributors by app, ad unit, country, format, or platform for the selected date range.

Instructions

One-call overview of AdMob Network performance for a period: KPI totals (earnings, impressions, eCPM, requests, match rate, show rate, CTR), a daily (or weekly, for ranges over 35 days) trend, and the top contributors by app, ad unit, country, format or platform. Best starting point for 'how are we doing?' questions.

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

Input Schema

NameRequiredDescriptionDefault
top_nNo
group_byNoBreakdown for the top-contributors table.APP
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.

Output Schema

NameRequiredDescriptionDefault
topYes
trendYes
othersYes
totalsYes
currencyYes
end_dateYes
warningsYes
account_idYes
start_dateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive, open-world query. The description adds useful behavior beyond those hints by specifying what is aggregated and that trend granularity switches to weekly for date ranges over 35 days.

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 a single front-loaded sentence that leads with the core operation and then lists the returned sections and the primary use case. There is no filler or redundant restatement of the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that an output schema exists and the annotations already cover safety semantics, the description is complete enough to invoke the tool correctly. It explains the summary contents, adaptive trend behavior, breakdown dimensions, and intended use without needing to re-document every schema field.

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 already 75%, so much parameter meaning is documented structurally. The description adds useful context by explaining the available contributor dimensions and the date-range-dependent daily/weekly trend behavior, though it says nothing extra about top_n or account_id.

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 states a specific operation and resource: a one-call AdMob Network performance overview for a period. It enumerates the output categories—KPI totals, trend, and top contributors—so an agent can immediately distinguish this summary tool from list or specialized report tools.

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?

It explicitly frames the tool as the best starting point for 'how are we doing?' questions, giving clear usage context. It does not name when-not-to-use cases or explicit alternatives such as compare_periods or detect_anomalies, so it falls 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.