Skip to main content
Glama

spy_linkedin_ads

Query LinkedIn Ad Library by company name/domain (e.g. 'stripe', 'hubspot.com') or keyword ('crm'). Extracts ad copy, format, creative image URL, Paid By entity, run dates, and landing URLs.

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": "spy_linkedin_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxAdsNoMax creatives in free MCP preview (1-15)
targetNoCompany domain or LinkedIn advertiser name (e.g. 'stripe', 'hubspot.com')
keywordNoOptional keyword search or copy filter (e.g. 'crm', 'billing')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden on its own. It implicitly frames this as a read-only public-ad-library lookup and discloses the extracted fields (valuable since there is no output schema), but it says nothing about authentication, rate limits, behavior when no ads match, or how the free-preview cap constrains results beyond what the schema already states.

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 sentences, zero filler, and the core capability plus the concrete result payload are front-loaded. Nothing is repeated and nothing needs trimming.

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 three-parameter lookup tool with no output schema, listing the returned fields is genuinely useful, but with no annotations at all the description should say more about failure modes, result limits, and whether advertiser-name matching differs from domain matching. It is adequate rather than complete.

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 defines all three parameters, including the maxAds preview range. The description's examples for company/keyword mirror the schema's own examples and add no new semantics, so the baseline of 3 applies.

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 a specific verb and resource ('Query LinkedIn Ad Library') and enumerates the data returned (ad copy, format, creative URL, Paid By, run dates, landing URLs), so the agent knows exactly what it gets. It never contrasts itself with the sibling tools (e.g. compare_competitor_marketing), which could plausibly overlap on competitor-ad research, so it stops short of full sibling differentiation.

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 examples ('stripe', 'hubspot.com', 'crm') show the two lookup modes (advertiser vs keyword), but there is no explicit 'use this when...' or 'use X instead when...' guidance and no mention of alternatives among the siblings. An agent can infer intent but must guess at the boundary conditions.

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.

Resources