Skip to main content
Glama

ROAZ Meta and Google Ads Analytics

Creative performance

getCreativesPerformance
Read-onlyIdempotent

Top and bottom performing creatives for an account over a date range, with ad copy, headline, call to action, image/video URLs and video hook & hold rates (last 90 days, null for non-video creatives). Use this for 'which creative is winning / is anything fatiguing' questions.

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": {
      "adAccountId": "<adAccountId>"
    },
    "name": "getCreativesPerformance"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows to return (default 25, hard cap 100).
sortByNoRanking metric. Cost metrics (cpa, cpc, cpm) rank cheapest first; all others rank highest first. Rows where the metric is undefined (null, e.g. a CPA with no conversions) rank last.
endDateNoEnd date, YYYY-MM-DD (inclusive). Defaults to yesterday in the ad account's time zone.
networkNoAd network. Default "meta". "google" reads the Google Ads accounts (ids look like google:<n> in listAdAccounts).
minSpendNoIgnore creatives that spent less than this in the window. Strongly recommended for bottom rankings — a creative with almost no spend has a meaningless ROAS.
directionNoReturn best, worst, or both ends of the ranking. Default "top".
startDateNoStart date, YYYY-MM-DD. Give both dates or neither (default: the last 7 complete days). Max 400 days.
adAccountIdYesWhich account to query: the numeric ROAZ ad account id, a Meta act_ id, or a client name (fuzzy-matched). Required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds real value beyond them by disclosing return content — notably that video hook and hold rates are a last-90-day metric and are null for non-video creatives — plus a windowing constraint carried in the schema. It does not discuss response size or latency, but that is minor for a read-only tool.

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 sentences, front-loaded with what is returned and closed with the use case. The first sentence is heavily packed with a field list, but every clause is informative and nothing is wasted.

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 must carry the return-shape burden and does so by listing the concrete fields returned. For an 8-parameter read tool with fully documented schema, the remaining gaps (result ordering details, aggregation) are small.

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 parameter descriptions are unusually rich, including the minSpend caveat about meaningless bottom-ranking ROAS and the sortBy null-ranking rule. The description itself adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

The description states a specific resource (creatives) and operation (rank top/bottom performers for an account over a date range) and enumerates the returned fields (ad copy, headline, CTA, media URLs, video hook/hold rates). It is clear what the tool does, but it never names a sibling such as getAds or getInsights to sharpen the boundary between listing ads and ranking creatives.

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 closing sentence gives a concrete use case ("which creative is winning / is anything fatiguing"), which sets a clear context for selection. There are no explicit exclusions or named alternatives, so an agent must still infer when getAds or getAccountReport is the better pick.

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