Skip to main content
Glama

rowfeed/linkedin-ad-library-scraper

rowfeed--linkedin-ad-library-scraper
Destructive

This tool calls the Actor "rowfeed/linkedin-ad-library-scraper" and retrieves its output results. Actor description: Every LinkedIn ad a company ran in the last 12 months, from the public LinkedIn Ad Library: full text, landing page, CTA, format, image or video, who paid, run dates, impressions by country, targeting. No login. $1.49 per 1,000 ads.

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": "rowfeed--linkedin-ad-library-scraper"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateNoUsed with 'Between the dates below'.
onlyNewNoSkip ads this search already delivered in earlier runs; they are not charged. Use with a schedule to get each competitor's new ads.
keywordsNoFind ads that contain a word or phrase, e.g. webinar, CRM, hiring. Combined with each company above, or on its own.
waitSecsNoMax seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget.
countriesNoOnly ads shown in these countries. 2-letter codes or names: US, GB, DE, France. Empty = all countries.
dateRangeNoLinkedIn keeps ads of the last 12 months.
startDateNoUsed with 'Between the dates below'.
startUrlsNoPaste a search address from linkedin.com/ad-library (any filters) or single ad addresses (linkedin.com/ad-library/detail/...), one per line.
advertisersNoOne company per line: its name (HubSpot, Salesforce), its website (hubspot.com), its LinkedIn company id (1035) or its LinkedIn page (linkedin.com/company/1035). Name search also finds advertisers with similar names; each row says which advertiser ran the ad. Example values: ["HubSpot"]
includeDetailsNoOpens each ad's detail page for the full text, landing page, call to action, who paid, first and last shown, impressions by country and targeting. Off = only what the result list shows (shortened text, format, image), faster. Example values: true
maxAdsPerSearchNoEach company (and each word) is one search. Example values: 50

Output Schema

NameRequiredDescriptionDefault
tipNoAdvisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key
runIdYesActor run ID
statsNoRun statistics
statusYesRun status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED
actorIdYesStable Apify Actor ID from the run record
summaryYesPast-tense summary of the run state
exitCodeNoActor process exit code; populated for terminal states (especially FAILED)
nextStepYesOne primary follow-up action with identifiers interpolated
storagesYesDataset and key-value store metadata, keyed by alias. "default" is always the primary entry.
actorNameNo"username/actor-name"
startedAtNoISO timestamp when the run started
finishedAtNoISO timestamp when the run finished (terminal states only)
statusMessageNoPass-through from Apify run.statusMessage
apifyConsoleUrlNoPersonalized Apify Console link to the run; present only for Console sessions

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=true, openWorldHint=true, so the agent knows this is a mutating, open-world call, but the description never explains what makes it destructive or what it touches. The strongest behavioral facts are buried in the parameter schema, not the description: $1.49 per 1,000 ads billing, no login required, and polling behavior via waitSecs and nextStep. The only behavioral detail carried by the description text is 'No login' and the price, which is useful but thin for a write-flagged, paid, open-world scraper.

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?

Two sentences: a boilerplate wrapper sentence followed by a dense, information-rich Actor description that front-loads the data covered, the source, the absence of login requirement, and the price. There is no redundant padding, but the first sentence earns no place and the description never mentions the 11 parameters or how the run is polled, so the structure is efficient but not well organized for an agent.

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?

An output schema exists, so return values need no explanation, and the schema fully documents parameters. What is missing at the description level is the interaction model implied by waitSecs and nextStep (sync-with-cap-plus-polling), the cost model's bearing on parameter choices such as maxAdsPerSearch, and the destructive/how-it-runs aspect flagged by annotations. For an 11-parameter, paid, write-flagged open-world Actor, that leaves real gaps.

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 100% and the descriptions are rich (advertiser name/URL/company id forms, 2-letter country codes, date-range coupling between startDate/endDate and the custom-date-range enum, onlyNew billing exemption). The tool-level description adds little beyond the schema, so on the baseline rule this sits at 3, but the Actor text does add meaning about what the results contain, which helps interpret the filter parameters. It stops short of clarifying how advertisers, keywords, and startUrls combine or conflict.

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

Purpose4/5

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

The description names the Actor and states it retrieves output results, then the Actor description specifies the resource precisely: every LinkedIn ad a company ran in the last 12 months from the public LinkedIn Ad Library, with the fields returned. It is clearly distinguishable from the job-board and marketplace scrapers among the siblings. It loses a point only because the first sentence is generic Actor-wrapper boilerplate rather than a direct statement of what the tool does.

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?

Usage is implied rather than stated: the Actor text plus parameter titles (companies, words in the ad, ad library URLs) convey that this is for competitor ad research. There is no explicit when-to-use guidance, no note on which of the 11 parameters are mutually alternative (advertisers vs keywords vs startUrls), and no routing to any sibling. The only operative hints are inside parameter descriptions.

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.