Skip to main content
Glama

Adbloop Meta Ads

get_segment_insights

Read-only

Break performance down by segment — placement, device, age, gender, region, or hour-of-day — to find wasted spend or a fatiguing audience. Read-only. Pro.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "breakdowns": "<breakdowns>"
    },
    "name": "get_segment_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoGranularity; defaults to account.
limitNo
sinceNo
untilNo
breakdownsYesOne or more segments. NOTE: country, region, and hourly must EACH be requested on their own — Meta won't combine them with other breakdowns.
date_presetNoe.g. last_7d, last_30d, maximum.
meta_account_idNoAd account (defaults to your primary).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered; 'Read-only' merely repeats it. The one piece of genuinely new behavioral context is 'Pro', flagging a plan/tier requirement. Nothing is said about volume of rows returned, rate limits, or how large segment combinations affect the response.

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?

Two dense sentences plus two short tags, all front-loaded: purpose and segments first, then the analytical payoff, then safety and tier. No sentence is filler.

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?

For a 7-parameter read tool with no output schema, the definition covers purpose, segment families and tier, but leaves date-range defaults, limit behavior, and any hint of what a row of output looks like unexplained. Adequate to select the tool, thin on how to call it well.

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 57%, and the description adds plain-language meaning for the required `breakdowns` parameter by naming the segment families (placement, device, age, gender, region, hour-of-day). It says nothing about `level`, `limit`, `since`/`until`, `date_preset`, or `meta_account_id`, so roughly half the parameters get no help beyond the schema. A 3 is the right baseline here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('break performance down') and resource ('by segment'), and enumerates the concrete segment types (placement, device, age, gender, region, hour-of-day). It is clearly a breakdown/segmentation tool as opposed to an aggregate one, though it never names the sibling (get_insights) it contrasts with.

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 an explicit analytical motivation — 'to find wasted spend or a fatiguing audience' — which tells an agent the scenario that selects this tool. It stops short of stating when NOT to use it or naming the alternative aggregate tool for simple totals.

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