Skip to main content
Glama

Get Ad Account Insights

meta_get_account_insights
Read-only

Retrieve performance, cost, engagement, conversions, and video metrics for a Meta ad account. Analyze results by age, gender, country, or platform over a custom date range.

Instructions

Gets performance insights for a Meta ad account.

Args:

  • ad_account_id (string): Ad account ID (e.g., act_123456789)

  • date_preset (string): Date range preset (default: last_30d)

  • since (string, optional): Custom start date YYYY-MM-DD (overrides date_preset)

  • until (string, optional): Custom end date YYYY-MM-DD

  • breakdowns (string[], optional): Segment by age, gender, country, device_platform, placement, etc.

Returns comprehensive metrics including: Performance: impressions, reach, clicks, spend, frequency, unique_clicks, unique_impressions Cost: cpm, cpc, cpp, ctr, cost_per_action_type, cost_per_conversion, cost_per_inline_link_click, cost_per_outbound_click, cost_per_thruplay Engagement: actions, inline_link_clicks, inline_link_click_ctr, inline_post_engagement, outbound_clicks, outbound_clicks_ctr, social_spend Conversions: conversions, conversion_values, purchase_roas Video: video_play_actions, video_avg_time_watched_actions, video_thruplay_watched_actions, video_p25/p50/p75/p95/p100_watched_actions Quality: quality_ranking, engagement_rate_ranking, conversion_rate_ranking

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_account_idYes
date_presetNoDate range presetlast_30d
sinceNoStart date YYYY-MM-DD
untilNoEnd date YYYY-MM-DD
breakdownsNoBreakdown dimensions for segmented data
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown
Behavior4/5

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

Annotations already indicate read-only and non-destructive behavior. The description adds significant value by enumerating the exact metrics returned (performance, cost, engagement, conversions, video, quality), which goes beyond the schema and annotations. It does not disclose any side effects or permission requirements, but the read-only annotation covers the main behavioral trait.

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?

The description is well-structured: a one-line purpose, a clear parameter list with explanations, and a bulleted list of return metric categories. While it is relatively long, the structure and front-loading of purpose make it easy to parse. Every section serves a purpose.

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?

Given the tool's complexity (6 parameters, no output schema, many sibling tools), the description thoroughly covers all parameters and provides an exhaustive list of return metrics by category. It compensates for the lack of output schema by detailing response content. The description is complete for an agent to understand inputs, outputs, and scope.

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

Parameters4/5

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

The description adds meaning beyond the input schema for ad_account_id (provides example format) and breakdowns (lists available options). For date_preset, schema already provides full enum. With schema coverage at 83%, the description compensates for the missing schema description on ad_account_id and enriches understanding of breakdowns.

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 explicitly states it 'Gets performance insights for a Meta ad account,' which is a clear and specific verb–resource pair. The tool name itself differentiates it from similar tools like meta_get_ad_insights and meta_get_campaign_insights, and the description reinforces this by detailing the scope.

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 like meta_get_ad_insights or meta_get_campaign_insights. It does not mention prerequisites, context, or exclusions. The usage is implied but not explicitly stated.

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/oliverames/meta-mcp-server'

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