Skip to main content
Glama

Google Ads & Meta Ads

LinkedIn Ads: Search Targeting Entities

linkedin_search_targeting_entities
Read-onlyIdempotent

Find LinkedIn targeting entities and their URNs within one targeting facet: search locations, titles, employers, skills, industries and similar facets by name, or list every value of a short facet such as seniorities, staffCountRanges or jobFunctions by leaving query out. The URNs are what linkedin_update_campaign_targeting and linkedin_get_audience_count take. Reads LinkedIn's public targeting catalogue only; no ad account is read and nothing is changed.

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": {
      "facet": "<facet>"
    },
    "name": "linkedin_search_targeting_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
facetYesTargeting facet to search: a name such as locations, titles, seniorities, industries, employers, staffCountRanges, skills, jobFunctions, or its urn:li:adTargetingFacet:* URN.
limitNoMost entities to return. Default 25, at most 100.
queryNoText to search for, e.g. "Germany" or "Chief Technology Officer". Omit to list a short facet whole.

Output Schema

NameRequiredDescriptionDefault
facetYesFacet URN searched.
totalYesEntities LinkedIn returned before the limit.
entitiesYesMatching entities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely new scope information: it reads LinkedIn's public targeting catalogue only, no ad account is read, and nothing is changed — clarifying that this is not account-scoped. It does not discuss caching or result volatility for a live external catalogue, which would be the next useful detail.

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?

Two sentences, front-loaded with the action and followed by the safety scope, with no filler. The first sentence is long and packs several clauses, but each carries distinct information.

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

Completeness4/5

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

With an output schema present, return values need no explanation, and all three parameters are fully documented in the schema. The description supplies the workflow context and the read-only scope, leaving only edge-case behavior for non-listable facets unaddressed.

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 explains facet, limit and query, including the "omit to list a short facet whole" semantics. The description restates the same distinction and adds only example facet names, so it neither compensates for a gap nor adds much beyond structured data.

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 opens with a specific verb and resource ("Find LinkedIn targeting entities and their URNs") and scopes it to a single facet, then enumerates example facets. It also names the two sibling tools that consume the output, so an agent can place it in the workflow without opening the schema.

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

Usage Guidelines4/5

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

It states two concrete usage modes: search a named facet with a query, or list a short facet whole by omitting query. It also states the downstream purpose of the returned URNs. What's missing is any explicit exclusion or failure guidance (e.g., what happens for a facet that requires a query).

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