Skip to main content
Glama

Get Insights Breakdown

adsap_get_insights_breakdown

Live Meta API call: get spend and performance metrics sliced by demographic or placement dimensions (age, gender, platform, country). Not cached.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoDefault 50, max 200
date_toNoYYYY-MM-DD. Required if no date_preset.
metricsNoAny of: spend, impressions, clicks, link_clicks, outbound_clicks, conversions, purchase_conversions, lead_conversions, add_to_cart_conversions, conversion_value, purchase_value, video_views (=75% completion), video_thruplay, video_p25, video_p50, video_p75, video_p95, video_p100, lpv (landing page views), post_engagement, video_3s (3-sec plays), contact, checkout, registration, app_install, app_activation, subscribe, start_trial, view_content, add_payment_info, submit_application, add_to_wishlist, search, schedule, donate, find_location, customize_product, app_purchase, app_add_to_cart, app_initiate_checkout, app_add_payment_info, app_complete_registration, app_content_view, app_search, app_add_to_wishlist, app_level_achieved, app_achievement_unlocked, app_tutorial_completion, app_spent_credits, app_rate, subscribe_value (conversion value), start_trial_value (conversion value), ctr (link CTR), ctr_all, cpc (cost/link click), cpc_all, cpm, cost_per_conversion, purchase_roas, aov, conversion_rate, hook_rate, hold_rate, lpv_rate, cost_per_lpv, cost_per_lead, cost_per_atc, cost_per_thruplay, cost_per_post_engagement, cost_per_purchase, cost_per_subscribe, cost_per_start_trial, cost_per_view_content, cost_per_add_payment_info, cost_per_submit_application, cost_per_add_to_wishlist, cost_per_search, cost_per_schedule, cost_per_donate, cost_per_find_location, cost_per_customize_product, outbound_ctr. Defaults to spend, impressions, link_clicks, ctr, cpc, cpm, results, cost_per_result, purchase_roas.
sort_byNo
group_byNoSecondary grouping by entity level
sort_dirNo
date_fromNoYYYY-MM-DD. Required if no date_preset.
entity_idsNoFilter to specific IDs
date_presetNoRequired if no date_from/date_to
entity_typeYes
ad_account_idYesMust include act_ prefix
breakdown_dimensionsYesOne or more dimensions to slice results by. Options: age (13-17, 18-24, 25-34, 35-44, 45-54, 55-64, 65+), gender (male/female/unknown), country (ISO codes), region, publisher_platform (facebook/instagram/messenger/audience_network), platform_position (feed/story/reels/etc), device_platform (mobile/desktop), impression_device. Max 2 dimensions recommended — Meta rejects some combinations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are present, so the description carries the full burden. It provides useful behavioral context by stating 'Live Meta API call' and 'Not cached', which informs the agent that results are fresh but may be slow or subject to API failures. However, it does not disclose other significant behaviors like rate limits, pagination, or potential large result sizes.

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?

A single, well-structured sentence that front-loads the purpose and scope. Every word earns its place without repetition or fluff. The 'Not cached' warning is a useful, distinct addition.

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?

The description gives enough to understand the core function, but with 12 parameters and no output schema, more guidance would help—such as what the response looks like, pagination expectations, or a note about common breakdown combinations (e.g., max 2 dimensions). The schema covers parameter definitions but not the overall call context.

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

Parameters3/5

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

Schema coverage is 75%, so the schema already documents most parameters in detail. The description adds no extra meaning beyond the schema; it just mentions 'spend and performance metrics' and example dimension values, which are already listed in the parameter descriptions. It does not compensate for the remaining undocumented parameters.

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 a specific action ('get spend and performance metrics'), a resource ('Meta API call'), and the key distinguishing feature ('sliced by demographic or placement dimensions'). It immediately differentiates this tool from the sibling adsap_get_insights without requiring schema inspection.

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 phrase 'sliced by demographic or placement dimensions' implies when to use this tool (when breakdowns are needed), but it never explicitly names the alternative or states any exclusion condition. The agent must infer the choice based on the name and sibling list rather than being explicitly guided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources