Skip to main content
Glama

meta_get_insights

Fetch Meta Ads performance data—spend, reach, clicks, cost, and actions—by account, campaign, ad set, or ad, with date ranges and breakdowns for reporting.

Instructions

Return Meta Ads Insights with spend, reach, click, cost, and action metrics at a chosen reporting level.

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": "meta_get_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoOptional Meta cursor returned as next_after
levelNoAggregation level: account, campaign, adset, or adcampaign
scopeNoReporting scope: account, campaign, adset, or ad; object scopes require scope_idaccount
sinceNoOptional custom start date in YYYY-MM-DD format
untilNoOptional custom end date in YYYY-MM-DD format
scope_idNoCampaign, ad-set, or ad ID for a non-account scope
account_idNoMeta ad account ID. Uses the active account or META_AD_ACCOUNT_ID when omitted.
breakdownsNoUp to three dimensions such as publisher_platform, platform_position, or age
date_presetNoMeta date preset such as last_7d or last_30d; ignored when since/until are suppliedlast_30d
max_resultsNoMaximum rows to return across cursor pages
time_incrementNoall_days, monthly, or a day interval from 1 to 90all_days

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about pagination (the 'after' cursor and max_results cap), account defaulting behavior, or the fact that date_preset is overridden by since/until. These are meaningful runtime behaviors left for the agent to discover from field names only.

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 front-loaded sentence with no filler or redundancy. It is efficiently written, though the economy comes partly from omitting useful context rather than from precision.

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 11 optional parameters, no annotations, and an output schema present, the description need not explain return values, but it should at least signal the pagination model and the account-scope defaults for a reporting tool of this complexity. It is minimally viable rather than adequate.

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 the schema already documents all 11 parameters in detail, including level/scope interplay and date handling; the description's only nod to parameters is the vague 'chosen reporting level'. Per high-coverage baseline this scores a 3, but the description adds essentially nothing on top of the schema.

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 uses a specific verb ('Return') and resource ('Meta Ads Insights') and lists the exact metric families returned (spend, reach, click, cost, action metrics), which tells an agent what kind of data comes back. It does not name or contrast any sibling, so an agent choosing between this and get_campaign_performance or get_auction_insights must infer the distinction.

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 or when-not-to-use guidance; the phrase 'at a chosen reporting level' hints at the level parameter but never says when this tool is preferred over the sibling performance/insights tools. The agent must derive selection criteria from the name and schema alone.

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

Deploy Server

Other Tools