Skip to main content
Glama

get_meta_insights

Read-only

Kennzahlen aus Meta (Impressionen, Reichweite, Klicks, Link-Klicks, Ausgaben in Kontowaehrung, CTR, CPC, Leads) je Konto/Kampagne/Gruppe/Anzeige; gesamt oder je Tag. Vorgabe last_30d.

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_meta_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoLevel at which the figures are aggregated
end_dateNoEnd date (YYYY-MM-DD)
start_dateNoStart date (YYYY-MM-DD)
date_presetNoPredefined time range; default last_30d
granularityNoTime granularity of the figures
campaign_idsNoList of IDs (campaign)
ad_account_idNoMeta-Werbekonto (act_123… oder Ziffern). Ohne Angabe das hinterlegte.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / campaign_ids / description
      Added value: +"List of IDs (campaign)"
    • addedInput schema / properties / date_preset / description
      Added value: +"Predefined time range; default last_30d"
    • addedInput schema / properties / end_date / description
      Added value: +"End date (YYYY-MM-DD)"
    • addedInput schema / properties / granularity / description
      Added value: +"Time granularity of the figures"
    • addedInput schema / properties / level / description
      Added value: +"Level at which the figures are aggregated"
    • addedInput schema / properties / start_date / description
      Added value: +"Start date (YYYY-MM-DD)"
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds genuinely new behavioral information by listing which metrics come back and that results are either aggregated or per-day. It omits pagination/limits and permission requirements, but with no output schema the metric enumeration carries real weight.

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?

One dense sentence plus a short default clause; the metric list and aggregation levels are front-loaded where they matter. It wastes almost nothing, though the trailing 'Vorgabe last_30d' fragment reads as an afterthought.

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?

Seven optional parameters, no output schema, and the description never states what happens when level or granularity is omitted or how date_preset interacts with explicit start/end dates. The metric list compensates for the missing output schema, but the defaulting behavior an agent needs is still missing.

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% and each parameter already has an enum or format description. The description only echoes level, granularity and the last_30d default that the schema already states, adding no new semantics such as how start_date interacts with date_preset.

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 names the resource (Meta metrics) and enumerates the exact figures returned (impressions, reach, clicks, link clicks, spend, CTR, CPC, leads) plus the four aggregation levels (account/campaign/adset/ad). It is clearly distinct from get_chatgpt_ads_insights by platform, but it never names the sibling 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 Guidelines3/5

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

The only usage guidance is the default time window ('Vorgabe last_30d'). It does not say when to prefer this over get_chatgpt_ads_insights or over the list_meta_* tools, nor when TOTAL vs DAILY granularity is appropriate; the agent must infer that from the enum.

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.