Skip to main content
Glama

meta_ads_analysis_performance

Compare current and prior-period Meta Ads metrics with delta percent and ranked callouts to narrow focus before an audit.

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', 'this_month', 'last_month') or explicit 'YYYY-MM-DD..YYYY-MM-DD' (both endpoints inclusive). Longer windows cost more Graph API quota.
Behavior4/5

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

Declares the tool as read-only, which is critical for transparency. Describes the output structure (current/prior metrics, delta %, callouts). However, with no annotations, it could additionally mention authentication requirements or rate limit impacts, but the core behavior is well covered.

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?

Two clear sentences for the main description, with well-organized parameter details. No redundant information; every sentence adds value. Front-loaded with purpose and outputs.

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

Completeness5/5

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

Despite no output schema, the description effectively communicates return values. It covers intent, usage context, parameters, and output format. For a tool with 3 parameters and no output schema, this is comprehensive and leaves no major gaps.

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

Parameters5/5

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

Schema coverage is 100%, and the description adds extra context: required format for account_id (act_ prefix), fallback to environment variable, and period parameter with explicit predefined ranges, format, and cost warning. This adds significant value beyond the schema.

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 it produces a performance review with period-over-period comparison, specifying outputs like current/prior metrics, delta %, and ranked callouts. It distinguishes itself from the sibling tool meta_ads_insights_report by positioning itself as an audit starting point.

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

Usage Guidelines5/5

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

Explicitly advises use at the start of an audit to narrow attention before pulling raw insights via meta_ads_insights_report. Also mentions read-only nature, guiding appropriate usage.

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