Skip to main content
Glama

Google Ads & Meta Ads

LinkedIn Ads: Audit Wasted Spend

linkedin_audit_wasted_spend
Read-onlyIdempotent

Find wasted spend in your LinkedIn ad accounts over the last 30 days and rank it by money lost: campaigns spending above the waste threshold with no leads and no conversions, campaigns spending for 7 or more consecutive days with nothing to show, creatives whose CTR is under half of their campaign's median, a job title, seniority, industry or company size taking a quarter or more of the spend without a result (directional — LinkedIn's demographic figures are approximate), spend that jumped or fell more than 50% versus the previous 30 days while results per unit of spend worsened, and spend in campaigns whose group is not active. Defaults to every connected account, up to 5; pass ad_account_ids to choose. It issues several LinkedIn reporting reads per account (campaign groups, campaigns, campaign, daily, creative and demographic analytics) and reports accounts it could not read in skipped. Use linkedin_get_insights or linkedin_analyze_demographics to drill into a finding. 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_audit_wasted_spend"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many findings to return. Default 10, maximum 50.
ad_account_idsNoAccounts to audit (numeric ids or names from linkedin_list_ad_accounts). Defaults to every account this connection reaches, up to 5.
waste_thresholdNoSpend with no leads or conversions above which a campaign counts as waste. Defaults to the threshold set on the dashboard, or 20 in the account's currency. Amount in the account currency (see the currency field), e.g. 800.00 with currency UAH means 800 UAH — never a minor-unit integer.

Output Schema

NameRequiredDescriptionDefault
notesYesCaveats about how the findings were computed.
skippedYesAccounts not audited, and why.
findingsYesProblems found, worst first.
dateRangeYesCalendar dates (UTC) every account was audited over.
truncatedYesTrue when limit cut the findings short.
totalFindingsYesFindings before limit.
accountsAuditedYesAccounts successfully read and shown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it discloses the request fan-out per account (campaign groups, campaigns, campaign, daily, creative, demographic analytics), how partial failures surface (accounts it could not read appear in skipped), and a data-quality caveat that demographic figures are approximate and directional.

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, timeframe and ranking are front-loaded, and each listed waste rule is load-bearing rather than filler. However, it is delivered as one very long run-on sentence enumerating seven rules, which costs readability for both a human and an agent scanning it.

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 covers return values, so the description needn't restate them, and it still explains request scope, failure reporting (skipped), and the approximate nature of demographic findings. Nothing an agent needs in order to invoke this audit correctly 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 coverage is 100%, and the schema already states the limit range, the 5-account default, and the currency/threshold semantics. The description adds only the connection between waste_threshold and the 'no leads and no conversions' rule, which is marginal value on top of what structured fields already carry.

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 ('Find wasted spend in your LinkedIn ad accounts') plus a scope ('last 30 days') and an output ordering ('rank it by money lost'). The enumerated waste categories make the tool's exact lens unmistakable and distinguish it from the drill-down siblings it names.

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?

Explicitly routes the agent: defaults to every connected account up to 5, pass ad_account_ids to choose, and 'Use linkedin_get_insights or linkedin_analyze_demographics to drill into a finding' names the alternatives and the condition that selects them.

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