Skip to main content
Glama

Get ad performance

meta_insights
Read-onlyIdempotent

Meta Ads insights by account, campaign, ad set or ad. Spend and cost are in currency units. Pass time_range {since,until} or date_preset.

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

Input Schema

NameRequiredDescriptionDefault
sortNo
afterNoCursor from a previous result's after
levelNoaccount
limitNo
fieldsNo
breakdownNo
filteringNoFilters: an array of {field, operator, value} objects (or that exact array as a JSON string). Never prose.
object_idNo
account_idNoe.g. act_1234567890
breakdownsNo
time_rangeNo
date_presetNo
time_incrementNo
action_breakdownsNo
action_report_timeNo
action_attribution_windowsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds genuinely useful context that spend and cost values are in currency units and that a time dimension must be supplied. It omits pagination behavior (the 'after' cursor), default level, and result shape, leaving meaningful gaps.

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?

Three short sentences, front-loaded with the resource and levels, then the units caveat, then the one hard calling requirement. Nothing is padded, though the sentence fragments read telegraphically rather than as structured guidance.

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?

There is no output schema, so the description could reasonably say what an insights response contains, and with 16 low-coverage parameters and pagination the definition is thin for the tool's complexity. It does, however, cover the two highest-risk mistakes (missing time dimension and misreading spend units), which keeps it at a minimum-viable level rather than inadequate.

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

Parameters2/5

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

Schema description coverage is only 19% across 16 parameters, so the description must carry most of the burden, yet it explains only time_range/date_preset and the currency meaning of returned money values. Level, breakdown, breakdowns, action_breakdowns, sort, fields, object_id, account_id and time_increment are left undocumented in both places.

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 specific resource (Meta Ads insights) and enumerates the supported levels (account, campaign, ad set, ad), so an agent knows it retrieves performance metrics rather than raw entity data. It does not explicitly contrast itself with siblings such as meta_get or meta_list, but the verb+resource is clear enough to distinguish them.

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?

'Pass time_range {since,until} or date_preset' gives a calling constraint, but there is no guidance on when to choose this tool over meta_get, meta_get_account, or meta_list, and no stated exclusions. The one hint present concerns parameter format rather than tool selection.

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.