Skip to main content
Glama
adops-tool

LinkedIn Ads MCP Toolkit

by adops-tool

get_campaign_groups

Read-onlyIdempotent

Retrieve all campaign groups for a LinkedIn Ads account, including settings and optional aggregated performance, to organize campaigns and manage budgets at a higher level.

Instructions

Lists all campaign groups for an account with their configuration and optionally aggregated performance. Campaign groups help organize campaigns and control budget at a higher level.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoFilter by status
endDateNoEnd date for performance (if included)
accountIdYesThe LinkedIn Ad Account ID
startDateNoStart date for performance (if included)
includePerformanceNoInclude performance metrics. Default: true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is fully covered structurally. The description adds useful domain context that campaign groups organize campaigns and control budget at a higher level, plus that performance data is optional and aggregated, but says nothing about pagination, result limits, or freshness of the performance metrics.

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?

Two tight sentences with the core action front-loaded and no filler. The second sentence is explanatory rather than operational, but it is short and earns its place by disambiguating campaign groups.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description bears more burden for return values; it does say the response includes configuration and optionally aggregated performance, which is a reasonable sketch. However, it omits pagination, result limits, and how the date parameters interact with includePerformance, leaving gaps for a five-parameter list tool.

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%, so all five parameters are already documented in the schema and the baseline is 3. The description's mention of optional aggregated performance loosely maps to includePerformance, but adds no syntax, date-format, or default details beyond what the schema provides.

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?

States a specific verb and resource ('Lists all campaign groups for an account') and clarifies the returned scope (configuration plus optionally aggregated performance). The second sentence explains what a campaign group is, which helps distinguish it from list_campaigns, though it never names that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of alternatives such as list_campaigns or get_campaign_performance, and no indication of when to enable performance or apply the status filter. The phrase 'optionally aggregated performance' hints at a use case but leaves the choice entirely to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.