Skip to main content
Glama
proxy-intell

LinkedIn Ads Library MCP Server

get_linkedin_ad_details

Read-only

Retrieve full targeting details, per-country impressions, and creative URLs for a specific LinkedIn ad using its ad ID, enabling audience analysis and media extraction.

Instructions

Get detailed information about a specific LinkedIn ad including full targeting (language, location, audience), per-country impression breakdown, creative and destination URL. Use this with an ad id from search_linkedin_ads, or a linkedin.com/ad-library/detail/ URL. Essential for understanding who an advertiser is targeting and extracting media URLs for visual analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_idYes
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses input variations (ad id or full URL) and enumerates the returned data fields (targeting, per-country impressions, creative, destination URL). It also highlights the ability to extract media URLs for visual analysis, adding useful behavioral context.

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?

Two tightly packed sentences with zero fluff. First sentence lists the output details; second sentence states the input source and purpose. Highly concise and well-structured.

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?

For a one-parameter tool with no output schema, the description is remarkably complete. It covers the input source, the returned information categories, and the practical use case (visual analysis and ad targeting understanding). No missing pieces for an agent to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only lists ad_id as a string, but the description explains that it can be an ad id from search_linkedin_ads or a linkedin.com/ad-library/detail/ URL. This thoroughly compensates for the schema's 0% description coverage.

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 clearly states the tool's purpose: get detailed information about a specific LinkedIn ad. It lists specific content (targeting, per-country impressions, creative, URL) and distinguishes from the sibling search_linkedin_ads by focusing on detailed lookup for a single ad.

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

Usage Guidelines5/5

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

Explicitly instructs when to use: with an ad id from search_linkedin_ads or a LinkedIn ad library detail URL. It also states it's essential for understanding targeting and extracting media URLs, providing clear context and alternative guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/proxy-intell/linkedin-ads-library-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server