Skip to main content
Glama

Google Ads & Meta Ads

LinkedIn Ads: Update Campaign Bidding

linkedin_update_bidding
DestructiveIdempotent

Change the bidding of one LinkedIn campaign in the user's own ad account: its optimization target (LinkedIn's optimizationTargetType, e.g. NONE for manual bidding, MAX_CLICK / MAX_IMPRESSION / MAX_LEAD / MAX_CONVERSION for maximum delivery, TARGET_COST_PER_CLICK, CAP_COST_AND_MAXIMIZE_CLICKS), its cost type and its bid (unit_cost). Only the fields passed are changed. A manual, target-cost or cost-cap strategy needs a bid above zero, and a bid cannot exceed the campaign's daily budget. Not every strategy is available for every objective and format; LinkedIn's refusal is returned as is. Bids change what the campaign pays, so get the user's approval first. 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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "linkedin_update_bidding"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
cost_typeNoWhat the campaign is charged for.
unit_costNoNew bid, target cost or cost cap per result. In the ad account's own currency (the currency field of linkedin_list_campaigns), as a major-unit amount such as 80 or 80.50 — not in dollars unless that is the account currency, and not in minor units.
campaign_idYesNumeric campaign id (or its urn:li:sponsoredCampaign URN), from linkedin_list_campaigns.
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.
optimization_target_typeNoLinkedIn optimizationTargetType to switch to, as linkedin_list_campaigns reports it.

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructive=true and openWorld=true, but the description goes well beyond them: partial-update semantics ('only the fields passed are changed'), a validation rule that manual/target-cost/cost-cap strategies need a bid above zero, the bid-cannot-exceed-daily-budget ceiling, and the fact that LinkedIn's own refusal is surfaced verbatim rather than normalized. It also adds the approval workflow and dry_run preview, which is exactly the context an agent needs before a destructive write.

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?

One dense paragraph, front-loaded with the action and its scope, then constraints, then the safety instruction. The enum enumeration is long but earns its place because the schema's optimization_target_type description is only a pointer to linkedin_list_campaigns. Minor cost: the single block mixes purpose, constraints, and approval guidance without separation.

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?

For a destructive, six-parameter mutation with an output schema and full annotation coverage, this covers nearly everything: partial-update behavior, bid validation, error surfacing, dry_run, and approval. The remaining gap is small — no statement about whether changing bid mid-flight affects ongoing delivery or historical reporting, which matters for a pricing change.

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 coverage is 100%, so the schema already documents all six parameters, and much of the description's field detail (currency, id sources) is repeated from those descriptions. The one genuine addition is cross-parameter semantics — which optimization targets require a positive bid and the daily-budget ceiling on unit_cost — which the schema cannot express. Baseline 3 is appropriate given how much the schema already carries.

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?

States a specific verb and resource ('Change the bidding of one LinkedIn campaign') and immediately scopes it to the user's own ad account. It then enumerates the exact fields touched — optimization target with its concrete enum values (NONE, MAX_CLICK, TARGET_COST_PER_CLICK, CAP_COST_AND_MAXIMIZE_CLICKS), cost type, and unit_cost — which cleanly separates it from siblings like linkedin_update_budget or linkedin_update_campaign_delivery without naming them.

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?

Gives real operating context: only passed fields change, not every strategy is valid for every objective/format, and the agent must obtain user approval before calling plus use dry_run first. What it lacks is explicit routing to alternatives — it never says to use linkedin_update_budget for daily budget or linkedin_update_campaign_delivery for pacing, so an agent must infer the boundary from the field list.

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