Skip to main content
Glama

Per-ad performance breakdown

get_ad_performance_breakdown
Read-onlyIdempotent

Rank individual ads by spend with impressions, clicks, CTR, CPC, engagement, leads, cost per lead and video views, joined with the ad copy. Use to work out which ads are working, and to compare cost per outcome against the organic reach the team's profiles produce for free. Thought Leadership ads are flagged, which is the closest paid equivalent to a personal post.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax ads to return. Defaults to 30.
profileYesProfile name or sessionId from list_profiles.
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 analysis.
creative_idsNoOptional specific ad ids from get_ad_creatives.
ad_account_idNoAd account id from list_ad_accounts. Omit to use the first ad account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is covered. The description adds useful behavioral context beyond those hints: it ranks by spend, joins ad copy, and flags Thought Leadership ads, which tells the agent what returned data will look like without contradicting the annotations.

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?

The description is a compact two-sentence definition that front-loads the core metrics and ranking behavior, then adds a clear use case. Every clause earns its place, including the Thought Leadership clarification, which prevents misinterpretation of a specialized flag. There is no filler or redundancy.

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?

With no output schema, the description compensates by listing the metrics returned corrected, including 'joined with the ad copy' and the Thought Leadership flag behavior. It also clarifies the analytical use case relative to organic reach. It does not specify the sort direction beyond 'rank by spend' or describe response pagination, but most operational details (limits, date defaults) are already encoded in the input schema.

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%, and the schema already documents all seven parameters and defaults clearly (e.g., 'Defaults to 30', 'YYYY-MM-DD'). The description adds no param-specific guidance or contextual meaning beyond the schema, so the baseline of 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?

The description uses a specific verb-resource combination and immediately states a precise behavior: 'Rank individual ads by spend' with a detailed list of metrics (impressions, clicks, CTR, CPC, engagement, leads, cost per lead, video views). It also distinguishes this tool from siblings like get_ads_performance by emphasizing 'per-ad' granularity and 'joined with the ad copy', making the tool's unique scope clear.

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 explicitly says when to use it: 'Use to work out which ads are working' and 'to compare cost per outcome against the organic reach the team's profiles produce for free'. It provides clear application context but does not name alternative tools or state when not to use it, such as when aggregate campaign performance is needed instead of per-ad breakdowns.

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