Skip to main content
Glama

Meta get adsets insights

meta_get_adsets_insights
Read-only

Meta ad sets with nested insights. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": {
      "ad_account_id": "<ad_account_id>"
    },
    "name": "meta_get_adsets_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
date_toNo
user_idNo
client_idNo
date_fromNo
user_emailNo
date_presetNo
ad_account_idYes
effective_statusNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. Beyond that, the description adds only that client_id defaults to the active brand; it says nothing about default date ranges, how effective_status filtering behaves, pagination, or volume of returned ad sets for a potentially large account.

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?

Two short sentences, front-loaded with the resource and followed by parameter hints; nothing is padded. It is efficient, though its brevity is partly the source of the coverage gaps rather than a virtue in itself.

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

Completeness2/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 no explanation, but for a 9-parameter insight-retrieval tool with zero schema descriptions the definition is thin. The date-filtering surface and the required account identifier are the main things an agent needs to call this correctly, and neither is addressed.

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 9 parameters, so the description must compensate and it largely does not: it explains only client_id (default to active brand) and extra (escape hatch for arbitrary fields). The required ad_account_id and the date_from/date_to/date_preset/effective_status filters are left entirely undocumented, leaving an agent to guess accepted date formats and preset values.

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

Purpose3/5

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

"Meta ad sets with nested insights" identifies the resource and hints that performance insights are attached, but it uses a vague noun phrase rather than a verb+object and never distinguishes it from siblings like meta_list_adsets or meta_get_campaigns_insights. An agent can guess it retrieves ad-set-level insight data, but must infer the distinction.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this tool over the many sibling insight tools, nor any prerequisite or exclusion stated. The only actionable context is the client_id default, which is parameter behavior rather than usage guidance.

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.