Skip to main content
Glama

AdsAgent — Meta Ads MCP

insights_pull_product_breakdowns

Fetch country, placement, age, gender, OS, or hourly Meta metrics for selected products and dates. Uses stored coverage or queues a bounded pull and returns task_ref; poll tasks_get_status, then read each dimension with insights_read_breakdowns. New pulls consume the existing daily quota without changing ad delivery

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelYes
ad_idsNo
date_toYes
date_fromYes
breakdownsNo
product_idsNo
product_refsNo
product_namesNo
conversion_eventNo
connection_contextNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / else / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / else / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / user_visible
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / conversion_event
      Added value: +{
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / ad_ids
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "minItems": 1,
      +  "type": "array"
      +}
  5. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the pull is bounded, that it may run from stored coverage or queue asynchronously, that it consumes the existing daily quota (a rate-limit constraint), and that it does not change ad delivery. The readOnlyHint=false is corroborated by the queueing/quota language, and the no-delivery-impact note is exactly the side-effect context an agent needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences with no filler, and the core purpose (what metrics, for what scope) is front-loaded before the workflow and quota notes. Sentence two packs several distinct facts but each earns its place.

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

Completeness4/5

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

An output schema exists, so return values need not be explained, and the async task_ref workflow plus quota and delivery-safety notes cover the behavioral essentials for a pull tool. The main remaining gap is the undocumented non-breakdown parameters, which matters given 10 params at 0% schema coverage.

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

Parameters2/5

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

Schema description coverage is 0% across 10 parameters, so the description carries the burden. It maps only the breakdowns enum values and vaguely references products and dates; it says nothing about level, ad_ids, conversion_event, connection_context, or the distinction between product_ids, product_refs, and product_names.

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?

States a specific verb and resource: fetch named breakdown dimensions (country, placement, age, gender, OS, hourly) for selected products and dates. It also distinguishes itself from the sibling it hands off to (insights_read_breakdowns), so an agent can separate the pull stage from the read stage without opening either schema.

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

Usage Guidelines4/5

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

Gives a clear operational flow: pull returns task_ref, poll tasks_get_status, then read each dimension with insights_read_breakdowns, and notes stored coverage may be used instead of queuing a new pull. It does not say when to prefer this over the sibling insights_pull_insights, so it stops short of a full when/when-not routing rule.

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