Skip to main content
Glama

Whathead Ad Operations

LinkedIn Ads

linkedin_native_action
Destructive

Complete LinkedIn Marketing API native gateway generated from the local li-lms-2026-05 documentation snapshot: ads, accounts, creatives, audiences, conversions, lead sync, community management, media, events, experiments, analytics, and REST.li batch/action endpoints. Use action=LIST_ACTIONS or DESCRIBE_ACTION for local discovery, including ad-account user access. Writes are dry-run by default.

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": {
      "action": "<action>"
    },
    "name": "linkedin_native_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoWith LIST_ACTIONS, return at most this many actions. Defaults to 50 to stay inside MCP transport limits.
queryNoExplicit URL query parameters; overrides duplicate keys from params.
actionYesGenerated LinkedIn native action name, LIST_ACTIONS, or DESCRIBE_ACTION. Search adAccountUsers or organizationAcls to discover access-management operations.
offsetNoWith LIST_ACTIONS, continue from this zero-based action offset.
paramsNoLinkedIn REST.li query/finder/action parameters. params and query are always placed in the URL, including for write requests.
searchNoWith LIST_ACTIONS, filter by action name, resource, or endpoint.
compactNoReturn compact projected results while preserving failures and pagination metadata.
dry_runNoWrites default to dry-run. Pass false to execute after reviewing the request preview.
payloadNoJSON request body for POST/PUT/PATCH actions. Accepts an object, a REST.li batch array, or a stringified JSON object/array for cached-client compatibility. Never used as URL query parameters.
categoryNoWith LIST_ACTIONS, filter by documentation category.
confirmedNoRequired with dry_run:false for destructive DELETE actions.
max_itemsNoOptional maximum list items returned after projection.
read_onlyNoWith LIST_ACTIONS, filter read or write operations.
api_versionNoOptional Linkedin-Version override in YYYYMM format.
body_formatNoRequest body encoding. Use form with http_method_override for REST.li query tunneling; defaults to json.
path_paramsNoPath placeholder values. Required values may also be passed top-level.
connection_idNoOptional explicit LinkedIn OAuth connection ID for users with multiple LinkedIn accounts.
restli_methodNoOptional X-RestLi-Method override for REST.li create, finder, action, update, partial-update, and batch semantics.
result_fieldsNoOptional compact result projection. Errors and partial failures are always preserved.
target_actionNoAction to inspect when action=DESCRIBE_ACTION.
http_method_overrideNoOptional X-HTTP-Method-Override for LinkedIn query tunneling.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is partly covered. The description still earns credit by disclosing things annotations cannot: writes are dry-run by default, and the action surface is generated from a specific li-lms-2026-05 documentation snapshot, which tells the agent the operation set is fixed and locally discoverable rather than free-form.

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?

The key facts (discovery via LIST_ACTIONS/DESCRIBE_ACTION, dry-run default) are front-loaded across two sentences with no filler transitions. However, the long resource enumeration ('ads, accounts, creatives, audiences, conversions, lead sync, community management, media, events, experiments, analytics...') occupies roughly half the text and conveys little an agent can act on, since the authoritative list is available through LIST_ACTIONS.

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 21-parameter, open-world, destructive-by-annotation gateway with no output schema, the description covers the essential safety behavior (dry-run default) and the discovery entry point. What it leaves out is the workflow chaining an agent actually needs: that DESCRIBE_ACTION requires target_action, and how discovery output feeds into the action/params/path_params triple. Adequate, but not fully self-sufficient for a tool this complex.

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 all 21 parameters (including dry_run, confirmed, path_params, restli_method, and the LIST_ACTIONS filters) are already documented in the schema. The description adds no format, default, or interaction detail beyond restating the discovery-mode and dry-run behavior. Baseline 3 applies when the schema carries the load.

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 identifies the tool as a LinkedIn Marketing API native gateway and enumerates the resource families it covers (ads, accounts, creatives, audiences, conversions, lead sync, analytics, REST.li batch/action endpoints). That is enough for an agent to distinguish it from google_ads_native_action or meta_native_action, but 'gateway' is a container noun rather than a specific verb, and the resource list is so broad that the tool's actual unit of work (dispatching a named REST.li action) is only implicit.

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 gives a concrete entry procedure: use action=LIST_ACTIONS or DESCRIBE_ACTION for local discovery, and search adAccountUsers/organizationAcls to find access-management operations. That is clear when-to-use context. It stops short of stating when *not* to use this tool or naming a specific alternative, so it lands at clear-context-without-exclusions rather than full routing guidance.

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.