Skip to main content
Glama

Get Ad Insights

meta_get_ad_insights
Read-only

Retrieve ad-level performance metrics from Meta Ads Manager with filters for account, campaign, ad set, or ad, and optional date ranges and breakdowns.

Instructions

Gets performance insights at the individual ad level.

Args:

  • ad_account_id (string, optional): All ads in account

  • campaign_id (string, optional): All ads in campaign

  • adset_id (string, optional): All ads in ad set

  • ad_id (string, optional): Specific ad

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

  • since / until (string, optional): Custom date range YYYY-MM-DD

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

Provide one of: ad_id, adset_id, campaign_id, or ad_account_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_idNo
sinceNo
untilNo
adset_idNo
breakdownsNoBreakdown dimensions for segmented data
campaign_idNo
date_presetNoDate range presetlast_30d
ad_account_idNo
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown
Behavior3/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so the read-only nature is covered. The description adds the behavioral constraint that one of the four IDs must be provided, which is useful but not deeply elaborated. No mention of rate limits, pagination, or response format beyond the schema.

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 compact and well-organized, starting with the purpose and following with a clear bulleted list of arguments. There is no redundant wording, and the 'Provide one of' callout is concise and helpful.

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

Completeness3/5

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

For a read-only insights tool, the description covers the main selection logic but leaves gaps: it does not specify what happens if no ID is provided (contradicting the schema's zero required parameters), nor does it describe the output format or pagination. The response_format parameter exists in the schema but is not mentioned in the description, though it is documented there.

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 only 33%, leaving six parameters undocumented. The description compensates by explaining the ID parameters (e.g., 'All ads in campaign') and giving a date format for since/until. It also clarifies the constraint of providing exactly one ID. However, it omits response_format, which is documented only in 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 the tool gets performance insights at the individual ad level, which is a specific verb and resource. The 'ad level' scope differentiates it from siblings like meta_get_campaign_insights and meta_get_adset_insights. It also lists the key parameters, reinforcing its purpose.

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 guidance on parameter selection ('Provide one of: ad_id, adset_id, campaign_id, or ad_account_id') but offers no guidance on when to use this tool versus other insights tools. It does not mention alternatives or conditions that would favor this tool, leaving the agent to infer from the name 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