Skip to main content
Glama

meta_ads_analysis_performance

Analyze Meta Ads campaign or account performance with period-over-period comparison. Get current and prior metrics, delta percentages, and ranked callouts to identify key changes before deep-dive analysis.

Instructions

Produces an operator-ready performance review for a Meta Ads campaign (or the whole account) with period-over-period comparison. Returns current-period metrics, prior-period metrics (same length immediately before current), delta %, and a ranked list of callouts (e.g. 'CPA up 32% week-over-week', 'impressions down 45%'). Read-only. Use this at the start of an audit — it narrows attention before pulling raw insights via meta_ads_insights_report.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idNoMeta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required.
campaign_idNoRestrict to a single campaign. Omit to analyse the whole account.
periodNoAnalysis window. Accepts Meta predefined ranges ('today', 'yesterday', 'last_7d', 'last_14d', 'last_30d' (default), 'last_90d') or explicit 'YYYY-MM-DD..YYYY-MM-DD'. Longer windows cost more Graph API quota.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It explicitly states 'Read-only', a key behavioral trait, and describes the output in detail (current/prior metrics, delta %, ranked callouts). It does not mention rate limits or authentication needs but adequately covers safety and functionality.

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?

The description is concise: two main sentences plus a terse 'Read-only' statement. It front-loads the primary purpose, lists return components, and provides usage guidance without unnecessary words. Every sentence adds value.

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?

The tool has moderate complexity (performance review with comparison), no output schema, and 100% parameter coverage. The description explains the output (metrics, delta %, callouts) with examples, and gives usage context. While it could specify which metrics are included, it is sufficiently complete for an agent to understand and invoke the tool correctly.

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?

All three parameters have complete descriptions in the input schema (100% coverage). The tool description adds context about the output behavior (period-over-period comparison) but does not provide additional parameter-level details beyond repeating the schema. According to guidelines, with high schema coverage, a 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 that the tool produces an operator-ready performance review with period-over-period comparison, specifying the resource (campaign or account) and outputs (metrics, delta %, callouts). It distinguishes itself from the sibling meta_ads_insights_report by noting it narrows attention before pulling raw insights.

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

Usage Guidelines4/5

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

The description explicitly advises using this tool at the start of an audit to narrow focus before using meta_ads_insights_report, providing clear context and an alternative. While it does not exhaustively list all alternatives, the guidance is practical and specific.

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/logly/mureo'

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