Skip to main content
Glama

wafle_ads_breakdown_by_creative

Read-onlyIdempotent

Break down ad performance by creative to spot winning creatives and wasteful spend. Shows spend, impressions, clicks, conversions, ROAS, and CPA per creative using server-side CAPI data.

Instructions

Per-creative performance breakdown for a campaign (or whole account if campaign_id omitted). Returns spend, impressions, clicks, conversions, ROAS and CPA for every creative_id active in the window. Cross-tabbed against wafle CAPI orders, so ROAS reflects server-side truth, not Meta's pixel.

Use when you need to find the one creative carrying a campaign vs the ones bleeding spend. Sort defaults to spend desc; a winner flag tags creatives whose ROAS is in the top quartile AND spend is above the per-creative significance floor (default 5,000 cents).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesWafle store slug, e.g. 'gamerland' or 'lensitive'.
sortNospend_desc
rangeNoLookback shortcut. Aligned with the merchant's tz, ending today.7d
campaign_idNoOptional Meta campaign id; omit for account-wide.
min_spend_centsNoHide creatives with cumulative spend below this — avoids LLM noise on pre-launch creatives.
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint), the description powerfully discloses behavioral details: the ROAS is derived from CAPI server-side truth rather than Meta pixel, the `winner` flag logic (top quartile ROAS AND spend above floor), and the default significance floor of 5,000 cents. This enriches the agent's understanding of how results are computed and interpreted, far exceeding the annotation safety hints.

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 compact yet thorough: the first sentence captures the core purpose and return metrics; the second adds the unique data-source qualification; the second paragraph gives the use case, default sort, and winner-flag algorithm. Every sentence earns its place with no filler or repetition.

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?

There is no output schema, so the description must explain what the tool returns and key behaviors—it does both thoroughly, covering metrics, ROAS source, winner flag, and significance threshold. For a read-only breakdown tool with 5 parameters, this fully equips an agent to understand the tool's purpose, output, and parameter implications.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already covers most parameters (80% description coverage). The description adds meaning by explaining the significance floor (min_spend_cents default) and the default sort behavior, while the winner-flag explanation ties parameters to output semantics. This goes beyond the schema's dry descriptions and justifies a score above the baseline 3.

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 opens with a specific verb+resource ('Per-creative performance breakdown') and states exact metrics returned (spend, impressions, clicks, conversions, ROAS, CPA). It also distinguishes itself from siblings by clarifying scope (campaign or account-wide) and its unique CAPI cross-tabbing, making it unmistakable from tools like wafle_ads_performance_summary.

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?

It provides an explicit use case: 'Use when you need to find the *one* creative carrying a campaign vs the ones bleeding spend.' While it doesn't name alternative tools or state when-not-to-use, the scenario is clear and the differentiator (CAPI truth, winner flag) guides selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/the33warehouse-tech/wafle-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server