# meta_validate_query

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

[Documentation](https://www.getmcpads.com/docs) / [Sources](https://www.getmcpads.com/docs/sources) / [Meta Ads](https://www.getmcpads.com/docs/sources/meta-ads)

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

|  |  |
| --- | --- |
| Source | [Meta Ads](https://www.getmcpads.com/docs/sources/meta-ads) |
| Kind | Read |
| Discovery | Reachable through `search_tools` and `run_tool` |
| Account parameter | `adAccountId` |
| Endpoint | https://mcp.getmcpads.com/meta-ads/mcp |

## Parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `metrics` | array | Required | Metric keys to validate. |
| `breakdowns` | array | Optional | Breakdown keys to validate. |
| `level` | string | Optional | Aggregation level. One of: `account`, `campaign`, `adset`, `ad`. |

## Calling it

Through run_tool, since it is not announced

```json
{
  "name": "run_tool",
  "arguments": {
    "name": "meta_validate_query",
    "args": {
      "metrics": "<array>"
    }
  }
}
```

- [Meta Ads metrics](https://www.getmcpads.com/docs/sources/meta-ads/metrics): What you can ask for.
- [Meta Ads dimensions](https://www.getmcpads.com/docs/sources/meta-ads/dimensions): How you can break it down.

---

This page as HTML: https://www.getmcpads.com/docs/sources/meta-ads/tools/meta_validate_query
Every page under /docs is available as Markdown: append `.md`, or send `Accept: text/markdown`.
