Skip to main content
Glama
climent-meta-ads-mcp

climent-meta-ads-mcp

by Manucliment

Meta insights by age, gender, country, platform or placement

meta_insights_breakdown
Read-onlyIdempotent

Split Meta ad account performance by age, gender, country, platform, placement, or region for a date range at account, campaign, ad set, or ad level, sorted by spend.

Instructions

Performance of one Meta ad account split by a breakdown (age, gender, age_gender, country, region, platform, placement) for a date range, at account, campaign, ad set or ad level, sorted by spend.

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": {
      "account_id": "<account_id>",
      "breakdown": "<breakdown>"
    },
    "name": "meta_insights_breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoAggregation level (default account).
sinceNoStart date, YYYY-MM-DD, inclusive.
untilNoEnd date, YYYY-MM-DD, inclusive.
presetNoDate preset in the ad account time zone (default last_30d; last_N excludes today). Use either preset or since+until.
max_rowsNoMaximum rows to return (default 50, max 500).
ad_set_idNoOptional ad set ID to filter by.
breakdownYesHow to split the results. placement = publisher_platform + platform_position.
account_idYesMeta ad account ID, e.g. act_1234567890 (the act_ prefix is optional).
campaign_idNoOptional campaign ID to filter by.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.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 the safety profile is covered. The description adds one genuinely new behavioral fact — results are sorted by spend — but says nothing about truncation behavior when max_rows limits the split, or about empty/low-volume breakdown rows.

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?

A single dense sentence that is front-loaded with the resource and immediately enumerates the supported breakdowns. No filler, though the long parenthetical list makes it slightly harder to scan.

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?

With 9 parameters and no output schema, the description should say more about what comes back — which metrics accompany each breakdown row and how rows are grouped. 'Performance' and 'sorted by spend' only partially answer that, leaving the agent to guess the return shape.

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 every parameter including the breakdown enum and date preset is already documented in structured form; baseline 3 applies. The description adds no syntax or interaction detail beyond the schema, such as how level interacts with campaign_id/ad_set_id filters.

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 resource (one Meta ad account's performance) plus the exact split options (age, gender, age_gender, country, region, platform, placement) and levels. That is enough to tell it apart from siblings like meta_account_summary or meta_campaigns, but it never names or contrasts those alternatives explicitly, so it falls short of a 5.

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 / when-not-to-use guidance and no mention of alternatives such as meta_account_summary for unbroken-down totals. The agent must infer from the purpose statement that this is the tool for dimension-split reporting.

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