Skip to main content
Glama

Get Ad Account Insights

meta_get_account_insights
Read-only

Retrieve performance insights for a Meta ad account, including impressions, clicks, spend, cost, conversions, and video metrics. Use breakdowns and custom date ranges to analyze ad effectiveness.

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
sinceNoStart date YYYY-MM-DD
untilNoEnd date YYYY-MM-DD
breakdownsNoBreakdown dimensions for segmented data
date_presetNoDate range presetlast_30d
ad_account_idYes
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 declare readOnlyHint=true and destructiveHint=false. The description adds substantial behavioral detail by enumerating the full set of returned metrics (performance, cost, engagement, conversions, video, quality), which goes beyond the bare read-only annotation. It does not contradict any annotation, and it gives the agent concrete expectations about the output contents.

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 organized into Args and Returns sections, which is helpful, but it is quite verbose – the Returns section lists over 30 metric names, many of which are self-explanatory and could be summarized. It duplicates some parameter info already fully covered by the schema. It is not front-loaded beyond the first sentence, and the length may reduce skimmability.

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?

Given the tool's complexity (multiple filtering options and a rich set of return metrics), the description covers the arguments and return metrics thoroughly. It omits mention of the response_format parameter, but that is fully described in the schema with a default of 'markdown'. It also does not discuss rate limits or required permissions, but for a read-only tool with annotations confirming safety, this is acceptable. The description provides enough for an agent to call it correctly.

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?

Schema coverage is high (83%), so the schema already documents parameters. The description adds value by providing an example for ad_account_id (act_123456789) and explicitly stating that 'since' overrides 'date_preset' – a behavioral nuance not present in the schema. It also lists example breakdown dimensions, though the schema already enumerates them. This exceeds the baseline for high-coverage schemas.

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 clearly states 'Gets performance insights for a Meta ad account' – a specific verb, resource, and scope. It distinguishes itself from sibling insight tools (e.g., meta_get_campaign_insights, meta_get_ad_insights) by explicitly naming 'ad account', though it does not name alternatives directly.

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 instead of the many insight-related siblings (campaign, adset, ad, Instagram account). It does not mention any exclusions or conditions. The agent must infer usage from the resource type alone.

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/open-work-org/open-mcp-servers'

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