Skip to main content
Glama

google_ad_library_company_ads

Google publishes spend and impression ranges only for election ads; commercial advertisers omit both. isActive is true when lastShown is within 7 UTC days. Costs 2 credits. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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": {
      "advertiser": "<advertiser>"
    },
    "name": "google_ad_library_company_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoClient-side sort: last_shown (recent activity first) or first_shown. Default is ATC order.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax items to return (default 20, max 200). Flat 2 credits when results are returned; 0 credits when totalReturned is 0.
topicNoOnly "all" is supported (commercial ATC). Google publishes spend and impression ranges only for election ads; commercial advertisers omit both. isActive is true when lastShown is within 7 UTC days.
cursorNoPagination cursor from nextCursor.
fieldsNoOptional comma-separated keys to keep on each result row (or on the object for single-item tools), e.g. id,url,publishedAt,engagement. Pagination keys are always kept. Does not change the price.
regionNoAlias for country.
compactNoDefault true here: drop signed media URLs (video, image, avatar links and their expiry stamps) to keep the response small. Ids, permalinks, dates, text and metrics stay. On Threads, Facebook, Meta Ad Library and TikTok Shop tools request timings are dropped too. Pass false for the full body.
countryNoTwo-letter ISO country / region code (soft filter). Default US. Alias: region. Non-ISO codes are a definitive 400 INVALID_COUNTRY.
end_dateNoYYYY-MM-DD — keep creatives whose shown window overlaps this end.
advertiserYesAdvertiser name, domain (e.g. nike.com), or Google advertiser ID (AR…). Prefer AR… from advertiser-search.
start_dateNoYYYY-MM-DD — keep creatives whose shown window overlaps this start.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / compact / description
      Previous value: -"Default true here: drop signed media URLs (video, image, avatar links and their expiry stamps) to keep the response small. Ids, permalinks, dates, text and metrics stay. Pass false for the full body."New value: +"Default true here: drop signed media URLs (video, image, avatar links and their expiry stamps) to keep the response small. Ids, permalinks, dates, text and metrics stay. On Threads, Facebook, Meta Ad Library and TikTok Shop tools request timings are dropped too. Pass false for the full body."
  2. Changed2 schema fields changed
    • addedInput schema / properties / compact
      Added value: +{
      +  "default": true,
      +  "description": "Default true here: drop signed media URLs (video, image, avatar links and their expiry stamps) to keep the response small. Ids, permalinks, dates, text and metrics stay. Pass false for the full body.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "Optional comma-separated keys to keep on each result row (or on the object for single-item tools), e.g. id,url,publishedAt,engagement. Pagination keys are always kept. Does not change the price.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / country / description
      Previous value: -"Two-letter ISO country / region code (soft filter). Default US. Alias: region."New value: +"Two-letter ISO country / region code (soft filter). Default US. Alias: region. Non-ISO codes are a definitive 400 INVALID_COUNTRY."
  4. Changed1 schema field changed
    • changedInput schema / properties / cache / description
      Previous value: -"Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. Envelope includes cached + cachedAt on hits."New value: +"Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh."
  5. Changed8 schema fields changed
    • changedInput schema / properties / advertiser / description
      Previous value: -"Advertiser name, domain (e.g. nike.com), or AR id."New value: +"Advertiser name, domain (e.g. nike.com), or Google advertiser ID (AR…). Prefer AR… from advertiser-search."
    • changedInput schema / properties / cache / description
      Previous value: -"Serve from 24h cache when available."New value: +"Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. Envelope includes cached + cachedAt on hits."
    • changedInput schema / properties / country / description
      Previous value: -"ISO country / region code. Default US."New value: +"Two-letter ISO country / region code (soft filter). Default US. Alias: region."
    • changedInput schema / properties / end_date / description
      Previous value: -"YYYY-MM-DD overlap filter end."New value: +"YYYY-MM-DD — keep creatives whose shown window overlaps this end."
    • changedInput schema / properties / limit / description
      Previous value: -"Max results per page (default 20, max 200)."New value: +"Max items to return (default 20, max 200). Flat 2 credits when results are returned; 0 credits when totalReturned is 0."
    • addedInput schema / properties / sort
      Added value: +{
      +  "description": "Client-side sort: last_shown (recent activity first) or first_shown. Default is ATC order.",
      +  "type": "string"
      +}
    • changedInput schema / properties / start_date / description
      Previous value: -"YYYY-MM-DD overlap filter start."New value: +"YYYY-MM-DD — keep creatives whose shown window overlaps this start."
    • addedInput schema / properties / topic
      Added value: +{
      +  "description": "Only \"all\" is supported (commercial ATC). Google publishes spend and impression ranges only for election ads; commercial advertisers omit both. isActive is true when lastShown is within 7 UTC days.",
      +  "type": "string"
      +}
  6. Changed8 schema fields changed
    • changedInput schema / properties / advertiser / description
      Previous value: -"Advertiser name, domain, or Google advertiser ID."New value: +"Advertiser name, domain (e.g. nike.com), or AR id."
    • changedInput schema / properties / cache / description
      Previous value: -"Set true to serve from the 24h response cache. Default false — always fetch fresh data."New value: +"Serve from 24h cache when available."
    • changedInput schema / properties / country / description
      Previous value: -"ISO country code. Default US."New value: +"ISO country / region code. Default US."
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Pagination cursor from nextCursor.",
      +  "type": "string"
      +}
    • addedInput schema / properties / end_date
      Added value: +{
      +  "description": "YYYY-MM-DD overlap filter end.",
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Max items to return. Default 20, max 200. Billed per result."New value: +"Max results per page (default 20, max 200)."
    • addedInput schema / properties / region
      Added value: +{
      +  "description": "Alias for country.",
      +  "type": "string"
      +}
    • addedInput schema / properties / start_date
      Added value: +{
      +  "description": "YYYY-MM-DD overlap filter start.",
      +  "type": "string"
      +}
  7. Changed1 schema field changed
    • changedInput schema / properties / cache / description
      Previous value: -"Responses are cached for 24 hours by default. Set false to bypass the cache and always fetch fresh data (default true)."New value: +"Set true to serve from the 24h response cache. Default false — always fetch fresh data."
  8. Changed1 schema field changed
    • addedInput schema / properties / cache
      Added value: +{
      +  "description": "Responses are cached for 24 hours by default. Set false to bypass the cache and always fetch fresh data (default true).",
      +  "type": "boolean"
      +}
  9. Added

TDQS

C2.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does deliver genuinely useful non-structural facts: a 2-credit cost, the guarantee that empty results and failures are never charged, and the definition of isActive as lastShown within 7 UTC days. It also discloses a data-availability constraint (spend/impression ranges exist only for election ads). It stops short of describing what a result row contains or pagination behavior beyond the schema's cursor field.

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

Conciseness3/5

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

Sentences are terse and fact-dense, but the ordering is wrong: it leads with a niche caveat about election-ad ranges rather than the tool's function, and two of the five sentences restate schema parameter descriptions verbatim. Space spent duplicating structured fields is space not spent on purpose.

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

Completeness3/5

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

For a 12-parameter, no-annotation, no-output-schema tool, billing and cache behavior are well covered, and the schema fully documents inputs. What is missing is exactly what an agent cannot get elsewhere: what the response looks like (creatives, dates, metrics, nextCursor) and how this tool relates to the advertiser-search and ad-details siblings it depends on.

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 the schema already documents all 12 parameters in detail, including caching, compact, fields, and country semantics. The description adds no parameter meaning beyond that — its cache and topic sentences are near-verbatim repeats of the schema text. Baseline 3 applies when the schema does the heavy lifting.

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

Purpose2/5

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

The description never states what the tool does or returns — no verb, no resource statement such as 'returns ads a company is running in the Google Ads Transparency Center.' The first sentence launches straight into an edge-case caveat about election-ad spend ranges. Any sense of purpose must be inferred from the tool name alone, and no sibling (e.g., google_ad_library_advertiser_search, google_ad_library_ad_details) is distinguished.

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

Usage Guidelines2/5

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

The only usage steering is 'Pass cache=true for a free 24h cache hit,' which duplicates the cache parameter's schema text. There is no guidance on when to pick this tool over google_ad_library_advertiser_search (to resolve an advertiser) or google_ad_library_ad_details (to drill into one creative), and no prerequisite advice in the description itself.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.