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

ad-revenue-reports-mcp

by OrhanArslan

List ad unit mappings

admob_list_ad_unit_mappings
Read-onlyIdempotent

Lists an AdMob ad unit's mediation mappings, showing which third-party ad network placement it maps to, so you can verify or audit mediation setup. Get the ad unit ID from the ad unit listing tool.

Instructions

List the mediation ad unit mappings of one ad unit (which third-party ad network placement it is mapped to). Get the ad unit ID from admob_list_ad_units. Uses AdMob API v1beta, which Google may change.

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": {
      "ad_unit_id": "<ad_unit_id>"
    },
    "name": "admob_list_ad_unit_mappings"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNoOptional filter in Google's EBNF filter syntax. Leave empty to list all mappings.
accountNoAdMob account, e.g. 'accounts/pub-1234567890123456'. Optional: omitted = your only account (an error lists the options if you have several).
page_sizeNoItems per page
ad_unit_idYesAd unit ID: the part after 'adUnits/' in an ad unit's name
page_tokenNonextPageToken from the previous call
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.2/5.0
Behavior4/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 genuinely new context the annotations cannot carry: the call is scoped to exactly one ad unit and is backed by AdMob API v1beta, which Google may change — a real stability caveat for an agent planning long-lived automation.

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 the verb and scope, then the prerequisite, then the version caveat. No repetition of schema fields and no filler wording.

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?

There is no output schema, so the agent gets no field list for a mapping record — the description could say what a mapping contains (e.g., ad source, mediation group, targeting) and roughly how many come back. Pagination, filtering and account resolution are otherwise fully covered by the schema, and the safety profile by annotations, so the gap is narrow.

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%, so every parameter including the EBNF filter syntax, page_token provenance and account fallback behavior is already documented in the schema. The description only names the ad_unit_id's origin, adding no semantics beyond what the schema provides; baseline 3 applies.

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?

States a specific verb and resource ('List the mediation ad unit mappings of one ad unit') and then parenthetically defines what a mapping actually is ('which third-party ad network placement it is mapped to'). That gloss distinguishes it from the similarly named sibling admob_list_ad_units, which lists ad units rather than their network mappings.

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 an explicit prerequisite chain: 'Get the ad unit ID from admob_list_ad_units', which tells the agent it must run that tool first and where the required parameter comes from. It does not state when-not to use it or name an alternative for enumerating mappings across all ad units, so it stops short of full when/when-not guidance.

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