Skip to main content
Glama

Google Ads & Meta Ads

LinkedIn Ads: Pause or Resume Object

linkedin_set_status
DestructiveIdempotent

Pause or resume one LinkedIn campaign, campaign group or creative in the user's own ad account. PAUSED stops delivery; ACTIVE lets it spend again, so a campaign's or group's daily budget must be within the user's daily spend cap, and get the user's explicit approval first. Pausing or resuming a campaign group affects every campaign in it (listed in affectedCampaigns). An archived, completed, cancelled or removed object is refused, as is resuming a campaign whose end date has passed. Supports dry_run.

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": {
      "object_type": "<object_type>",
      "object_id": "<object_id>",
      "status": "<status>"
    },
    "name": "linkedin_set_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYesPAUSED to stop delivery, ACTIVE to resume it.
dry_runNotrue: read the object and report the field-level changes this call would make, changing nothing. Default false. Show the user the proposal and get their approval before calling without dry_run.
object_idYesNumeric id of the object (or its URN): campaigns and campaign groups from linkedin_list_campaigns, creatives from linkedin_list_creatives.
object_typeYesKind of object object_id names.
ad_account_idNoLinkedIn ad account to change: numeric account id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then.

Output Schema

NameRequiredDescriptionDefault
dryRunYesTrue when the call only previewed the change.
changedYesTrue only when this call changed LinkedIn Ads.
changesYesField-level changes: made, or proposed on a dry run.
currencyNoISO 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.
objectIdYesNumeric id of the object.
verifiedNoWhether LinkedIn's read-back holds every requested value; null when nothing was written or the read-back failed.
warningsYesSide effects and limits the user should hear about.
operationYesWhat happened: updated, no_change, or dry_run.
objectNameNoThe object's name, when it has one.
objectTypeYesKind of object addressed.
adAccountIdYesLinkedIn ad account the object is in.
affectedCampaignsNoFor a campaign group: its ACTIVE campaigns, which stop (PAUSED) or may serve again (ACTIVE).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=true, and the description goes well beyond them: pausing a campaign group cascades to every campaign inside it (with affectedCampaigns in the result), ACTIVE requires the budget to be under the user's daily spend cap, and specific object states are refused. That is exactly the side-effect and precondition context an agent needs before a destructive mutation.

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?

The action and its scope are front-loaded, followed by the approval gate and then the edge cases, so an agent can stop reading once it has what it needs. Sentences are dense but each carries operational information; no filler.

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 destructive status mutation with five parameters, an output schema, and full annotation coverage, the description supplies the remaining essentials: cascade behavior, spend-cap precondition, approval requirement, dry_run preview, and refusal states. Nothing needed to call it safely is missing.

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%, including enum values for status and object_type and the ad_account_id default behavior, so the baseline is 3. The description restates the PAUSED/ACTIVE meaning and dry_run support but adds no format or sourcing detail beyond what the schema already documents.

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 opens with a specific verb pair and resource scope: 'Pause or resume one LinkedIn campaign, campaign group or creative in the user's own ad account.' That tells an agent exactly what changes and on which object kinds. It stops short of distinguishing this from the adjacent delivery-mutating sibling (linkedin_update_campaign_delivery), which is a plausible source of mis-selection.

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 clear conditional guidance: get explicit approval before resuming, use dry_run to preview, and it enumerates refusal conditions (archived/completed/cancelled/removed objects, campaigns past their end date). What it lacks is any routing statement telling the agent when to prefer this over a sibling like linkedin_update_campaign_delivery.

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