Skip to content
Get MCP AdsGet MCP Ads, home
Start free

meta_validate_query

Validate a metric/breakdown combination BEFORE executing. One of 39 Meta Ads tools on the Get MCP Ads MCP gateway.

Validate a metric/breakdown combination BEFORE executing. Returns errors and warnings. Use this to check if your query will work.

Source
Meta Ads
Kind
Read
Discovery
Reachable through search_tools and run_tool
Account parameter
adAccountId
Endpoint
https://mcp.getmcpads.com/meta-ads/mcp

ParametersLink to this section

NameTypeRequiredNotes
metricsarrayRequiredMetric keys to validate.
breakdownsarrayOptionalBreakdown keys to validate.
levelstringOptionalAggregation level. One of: account, campaign, adset, ad.

Calling itLink to this section

jsonThrough run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "meta_validate_query",
    "args": {
      "metrics": "<array>"
    }
  }
}
Esc

Type to search