Skip to main content
Glama
Green-pep

meta-ads-mcp-patched

by Green-pep

get_campaign_insights

Retrieve performance metrics for a Meta Ads campaign by providing its campaign ID. Optionally drill down into ad sets or ads, filter by date range, and segment via breakdowns.

Instructions

Get performance insights for a specific campaign.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNoAggregation level: campaign, adset, ad
fieldsNoComma-separated insight fieldsimpressions,clicks,spend,reach,frequency,cpc,cpm,ctr,actions,cost_per_action_type
filteringNoJSON string for filtering
breakdownsNoBreakdown dimensions: age,gender,country,region,placement,device_platform
time_rangeNoJSON string {since,until} in YYYY-MM-DD format
campaign_idYesCampaign ID
date_presetNoDate preset: TODAY,YESTERDAY,LAST_7D,LAST_14D,LAST_30D,THIS_MONTH,LAST_MONTH,THIS_QUARTER,LAST_QUARTER,THIS_YEAR,LAST_YEAR
time_incrementNoTime granularity: all_days, 1, 7, monthly
Behavior1/5

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

With no annotations, the description carries the full burden of disclosing behavior. It merely restates the tool's name ('Get performance insights') without adding any contextual details such as return format, permission requirements, or how the tool handles the various optional parameters. This is essentially a tautology and fails to give the agent any behavioral insight.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence with no fluff, but it is under-specified for a tool with 8 parameters and no output schema. It lacks substance and does not convey enough information to justify calling it appropriately sized; it is more minimal than concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (8 parameters, no output schema, no annotations), the description is severely incomplete. It does not explain what insights are returned, how the parameters interact, or what the output looks like. This would leave an AI agent without enough context to correctly invoke the tool.

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 fully documents all 8 parameters. The description adds no parameter-specific meaning beyond the schema, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: getting performance insights for a specific campaign. It uses a specific verb and resource, and the focus on 'campaign' distinguishes it from sibling tools like get_account_insights, get_adset_insights, and get_ad_insights.

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention any use cases, exclusions, or references to sibling tools such as get_ad_insights for ad-level insights.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Green-pep/meta-ads-mcp-patched'

If you have feedback or need assistance with the MCP directory API, please join our Discord server