Skip to main content
Glama
thenavidm

ScrapeCreators MCP Server

by thenavidm

Ad Details

google_ad_library_ad_details

Retrieve detailed transparency info for a Google ad URL: advertiser, creative, format, show dates, impressions, spend, targeting, regions, and text variations.

Instructions

Retrieves detailed information about a specific Google ad including advertiserId, creativeId, format, firstShown, lastShown, and overallImpressions. When Google publishes political-ad transparency data, spend contains the currency and amount bounds, while targeting contains included and excluded age, gender, and location criteria. Targeted locations include their Google criterion ID, display name, full name, and country codes. Optional fields are null when Google does not publish them. Returns creativeRegions, regionStats with per-region impression data, and variations with destinationUrl, headline, description, and imageUrl. Text extraction uses OCR, so accuracy may vary. Potentially consumes paid API credits; requires confirm=true. Read-like POST requests do not publish to social platforms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe url of the ad
accountNoNamed private ScrapeCreators account; selects credentials, not a remote account ID.
confirmNoMust be true for the specific approved credit-consuming research call.
cache_max_ageNoIf we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true) by disclosing credit consumption, the mandatory confirm=true, cache-vs-live behavior, that optional fields are null when unpublished, and that text extraction uses OCR so accuracy varies. The read-like POST/no-social-publish clarification reconciles the non-read-only annotation with the actual effect.

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 the core purpose, then layers conditional details (political-ad spend/targeting, nullability, return structure, OCR caveat) in an orderly sequence. Slightly dense and field-list-heavy, but nearly every clause carries information an agent needs.

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?

With no output schema available, the description compensates by describing the return shape in detail: spend currency/amount bounds, targeting criteria with Google criterion IDs, creativeRegions, regionStats per-region impressions, and variations (destinationUrl, headline, description, imageUrl). That is sufficient for a 4-parameter tool.

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 url, account, confirm, and cache_max_age. The description reinforces confirm=true and credit cost but adds no syntax or format detail beyond the schema, so the 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 (retrieves) and resource (detailed information about a specific Google ad), then enumerates the concrete fields returned (advertiserId, creativeId, format, firstShown, lastShown, overallImpressions). An agent can distinguish this from google_ad_library_company_ads, which lists a company's ads rather than one ad's details.

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

Usage Guidelines3/5

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

Provides prerequisites rather than routing guidance: it warns that the call consumes paid credits, requires confirm=true, and notes cache_max_age behavior. However it never states when to use this over sibling advertiser/company/transcript tools or what to do if the ad URL is unknown, so selection guidance is only implied.

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

Deploy Server

Other Tools