Skip to main content
Glama

Adbloop Meta Ads

get_insights

Read-only

Rate-limit-safe Meta performance metrics (spend, impressions, clicks, CTR, leads, purchases, ROAS, frequency). Read-only. Set time_increment=1 for a day-by-day trend.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoReport granularity: 'overview' = whole-account totals; 'campaign' = per campaign; 'adset' = per ad set; 'ad' = per ad. Defaults to 'campaign'.
limitNoMax number of rows to return.
sinceNoCustom range start, YYYY-MM-DD. Use together with 'until' (both required) instead of date_preset.
untilNoCustom range end, YYYY-MM-DD. Use together with 'since'.
campaign_idNoLimit the report to a single campaign (and its ad sets/ads when level is adset or ad).
date_presetNoDate-range shorthand, e.g. today, yesterday, last_7d, last_14d, last_30d, this_month, last_month, maximum. Ignored when both since and until are supplied.
time_incrementNoDaily trend mode. Set to 1 for a day-by-day series (spend, frequency, ctr, cpm per day). Combine with level 'ad' for per-ad creative-fatigue trends.
meta_account_idNoAd account to report on (defaults to your primary).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / time_increment
      Added value: +{
      +  "description": "Daily trend mode. Set to 1 for a day-by-day series (spend, frequency, ctr, cpm per day). Combine with level 'ad' for per-ad creative-fatigue trends.",
      +  "type": "number"
      +}
  2. Changed7 schema fields changed
    • addedInput schema / properties / campaign_id / description
      Added value: +"Limit the report to a single campaign (and its ad sets/ads when level is adset or ad)."
    • addedInput schema / properties / date_preset / description
      Added value: +"Date-range shorthand, e.g. today, yesterday, last_7d, last_14d, last_30d, this_month, last_month, maximum. Ignored when both since and until are supplied."
    • addedInput schema / properties / level / description
      Added value: +"Report granularity: 'overview' = whole-account totals; 'campaign' = per campaign; 'adset' = per ad set; 'ad' = per ad. Defaults to 'campaign'."
    • addedInput schema / properties / limit / description
      Added value: +"Max number of rows to return."
    • addedInput schema / properties / meta_account_id / description
      Added value: +"Ad account to report on (defaults to your primary)."
    • addedInput schema / properties / since / description
      Added value: +"Custom range start, YYYY-MM-DD. Use together with 'until' (both required) instead of date_preset."
    • addedInput schema / properties / until / description
      Added value: +"Custom range end, YYYY-MM-DD. Use together with 'since'."
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the description merely restates 'Read-only.' The one genuine addition is 'Rate-limit-safe', which tells the agent it can call this without throttling concerns. It says nothing about report size, pagination, or latency for large date ranges.

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?

Three short sentences, front-loaded with the metrics list and the safe-read trait, then the single most actionable parameter tip. No filler and nothing redundant.

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 an 8-param, zero-required read tool with rich annotations and no output schema, the metrics enumeration effectively tells the agent what fields come back. Only return shape and pagination/limit behavior are left implicit, a minor gap given the annotation coverage.

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 coverage is 100%, so the schema already documents all eight parameters including the time_increment daily-series behavior and the since/until pairing rules. The description reinforces the time_increment=1 case but adds no format or constraint detail beyond what the schema supplies, so the baseline 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?

Names a specific verb+resource (get Meta performance metrics) and enumerates the exact metrics returned (spend, impressions, clicks, CTR, leads, purchases, ROAS, frequency). It does not differentiate itself from the close sibling get_segment_insights, so an agent can't tell from this text which one to pick for segmented breakdowns.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives one concrete usage tip ('Set time_increment=1 for a day-by-day trend') and implies the tool is for reporting via the level/date params. It offers no explicit when-not guidance and never names an alternative tool for segmented or non-performance data.

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