Skip to main content
Glama

Google Ads & Meta Ads

LinkedIn Ads: Rename Object

linkedin_rename_object
Idempotent

Rename one LinkedIn campaign, campaign group or creative in the user's own ad account. Only the name changes: status, budget, bidding, targeting and the ad itself stay as they are, and reports keep their history under the same id. 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>",
      "name": "<name>"
    },
    "name": "linkedin_rename_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe new name, up to 255 characters.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by enumerating what is untouched (status, budget, bidding, targeting, the ad itself) and by confirming report history continues under the same id — a real concern for a rename. Annotations already declare idempotentHint=true and destructiveHint=false; the description reinforces that with concrete scope language instead of restating it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tightly written sentences, front-loaded with the verb and resource, then the blast-radius statement. Nothing is padded or repeated.

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?

An output schema exists, so return values need no explanation, and the input schema carries full parameter documentation. What remains an agent needs before calling — object types covered, non-destructiveness, dry_run availability — is all present.

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 every parameter including dry_run and ad_account_id is already documented in the schema. The description only adds that exactly one object is renamed per call and reaffirms the own-account restriction; it contributes no format or constraint details beyond what the schema provides.

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 (rename) and the exact resources (LinkedIn campaign, campaign group, creative), plus the scope restriction 'in the user's own ad account'. This clearly separates it from siblings like linkedin_set_status or linkedin_update_budget, which touch other fields.

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?

The description scopes the tool to name-only changes, which implicitly routes an agent away from this tool when status, budget or targeting need editing. It also flags 'Supports dry_run', though the approval workflow lives in the parameter schema rather than the description, and no sibling is named explicitly.

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