Skip to main content
Glama

Get LinkedIn Ads account totals

get_ads_performance
Read-onlyIdempotent

Fetch account-level LinkedIn Ads performance (spend, impressions, clicks, CTR, leads, demographics), so paid reach and cost can be set against what the team's personal profiles delivered organically. For per-ad detail use get_ad_performance_breakdown.

Input Schema

NameRequiredDescriptionDefault
profileYesProfile name or sessionId from list_profiles (the ads connection).
end_dateNoYYYY-MM-DD, defaults to today.
start_dateNoYYYY-MM-DD, defaults to 30 days ago.
campaign_idsNoOptional campaign ids from list_ad_campaigns to scope the totals.
ad_account_idNoAd account id or name (partial name ok) from list_ad_accounts. Omit to use the first ad account on the connection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ad_account_id / description
      Previous value: -"LinkedIn ad account id. Omit to use the first ad account on the connection."New value: +"Ad account id or name (partial name ok) from list_ad_accounts. Omit to use the first ad account on the connection."
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and idempotentHint=true, so the safety profile is covered. The description adds the aggregation level and the metric set, which is useful, but says nothing about auth needs, rate limits, or result size/pagination for an open-world fetch.

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 sentences, zero filler, with the scope and metric list front-loaded and the sibling routing deferred to the end where it belongs. Every clause earns its place.

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 read-only aggregation call with no output schema, enumerating the returned metrics plus the per-ad alternative gives the agent nearly everything needed to select and invoke it. The remaining gap is result granularity/pagination behavior, which is minor against fully-documented parameters and safety annotations.

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 the schema already documents profile, date range, campaign_ids scoping, and ad_account_id fallback behavior ('omit to use the first ad account'). The description adds only the word 'account-level', which does not go meaningfully beyond the schema, so baseline 3 applies.

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?

Names a specific verb (Fetch) and resource (account-level LinkedIn Ads performance) and enumerates the metrics returned (spend, impressions, clicks, CTR, leads, demographics). It also explicitly demarcates itself from get_ad_performance_breakdown by scope (account totals vs per-ad detail), so an agent can distinguish the two without opening either schema.

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?

States a clear use case (setting paid reach/cost against organic profile output) and routes to the alternative tool for per-ad granularity. It stops short of stating preconditions or exclusions (e.g. that a LinkedIn Ads connection must exist), but the alternative and scope are explicit.

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