Skip to main content
Glama

Get Ad Set Insights

meta_get_adset_insights
Read-only

Retrieve performance metrics for Facebook ad sets by account, campaign, or specific ad set. Filter by date range and breakdowns like age, gender, or country.

Instructions

Gets performance insights for ad sets.

Args:

  • ad_account_id (string): Ad account ID (use for all ad sets)

  • adset_id (string, optional): Specific ad set ID

  • campaign_id (string, optional): All ad sets in a campaign

  • 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 ad_account_id or campaign_id or adset_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_account_idNo
adset_idNo
campaign_idNo
date_presetNoDate range presetlast_30d
sinceNo
untilNo
breakdownsNoBreakdown dimensions for segmented data
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?

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds behavioral context through parameter usage instructions, but does not disclose side effects, rate limits, or data freshness beyond the annotations. The added value is minimal, resulting in a score of 3.

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 and well-structured, with a clear heading followed by a bulleted parameter list. It is front-loaded with the main purpose and contains no extraneous information. Every sentence serves a purpose.

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?

Without an output schema, the description should clarify return format or data structure. It mentions response_format in the schema (markdown/json) but not in the description. It also lacks details on pagination, result limits, or error handling, leaving gaps for a complex 8-parameter tool.

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 description coverage is low (38%). The description compensates by explaining the purpose of each parameter (e.g., 'Ad account ID (use for all ad sets)', 'Custom date range YYYY-MM-DD') and clarifying that breakdowns include dimensions like age, gender, country. This adds significant meaning beyond the schema's property names and enums.

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 'Gets performance insights for ad sets' with a specific verb and resource. It distinguishes from sibling tools like meta_get_ad_insights and meta_get_campaign_insights by focusing on ad sets. The parameter guidance further clarifies the tool's scope.

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

Usage Guidelines3/5

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

The description advises to provide ad_account_id or campaign_id or adset_id, offering basic usage guidance. However, it fails to explicitly differentiate when to use this tool over other insight tools like meta_get_ad_insights or meta_get_account_insights, lacking exclusion criteria or alternative recommendations.

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