Skip to main content
Glama

Google Ads & Meta Ads

LinkedIn Ads: List Campaigns

linkedin_list_campaigns
Read-onlyIdempotent

List the campaigns of one LinkedIn ad account — status, whether each is serving right now and why not, campaign type and format, objective, cost type, optimisation target, daily and total budget, bid, schedule and audience expansion — and, unless include_groups is false, the campaign groups they sit in with their status, total budget and schedule. Defaults to ACTIVE and PAUSED campaigns; pass status to widen or narrow. Use the ids here with linkedin_get_insights and linkedin_analyze_demographics. Reads only; changes nothing.

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

Input Schema

NameRequiredDescriptionDefault
statusNoCampaign statuses to include. Default ACTIVE and PAUSED.
ad_account_idNoLinkedIn ad account to read: numeric account id or account name (from linkedin_list_ad_accounts). Pass it whenever the conversation is about a particular account; omitted, the only account or the stored default is used.
include_groupsNoAlso list the account's campaign groups. Default true.

Output Schema

NameRequiredDescriptionDefault
currencyYesISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then.
campaignsYesCampaigns matching the status filter.
adAccountIdYesNumeric ad account id that was read.
campaignGroupsNoCampaign groups of the account. Written only when include_groups is true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so "Reads only; changes nothing" largely restates them. The description does add genuine behavioral value beyond annotations: default status filtering, the conditional inclusion of campaign groups, and the fact that serving state is reported with the reason it is not serving.

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?

Front-loaded with the verb and resource, then the field inventory, then the default-scope rule, then the cross-references. The long middle enumeration is dense but every clause maps to a returned field; only the terminal "Reads only; changes nothing" is close to redundant given the annotations.

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 three-parameter read tool with full schema coverage, an output schema, and safety annotations, nothing an agent needs in order to call it correctly is missing: it knows the default filter, how to widen it, how to target an account, what include_groups toggles, and which tools consume the ids.

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 coverage is 100%, so the baseline is 3; the description still earns above that by explaining the consequence of include_groups — it controls whether campaign groups with their status, total budget and schedule appear in the result — information the boolean's schema text ("Also list the account's campaign groups") does not fully convey. The status default is also restated with the widen/narrow framing.

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?

Opens with a specific verb and resource ("List the campaigns of one LinkedIn ad account") and then enumerates exactly what is returned — status, serving state, type/format, objective, budgets, bid, schedule, audience expansion — plus the optional campaign-group payload. This is precise enough to separate it from the platform siblings (gads_list_campaigns, meta_list_campaigns) without reading 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 Guidelines5/5

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

States the default scope explicitly ("Defaults to ACTIVE and PAUSED campaigns; pass status to widen or narrow"), which is the main usage decision an agent faces, and names the downstream consumers by exact tool name (linkedin_get_insights, linkedin_analyze_demographics). It also hints at account selection via linkedin_list_ad_accounts, so the follow-on workflow is inferable.

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