Skip to main content
Glama

Meta list campaign adsets

meta_list_campaign_adsets
Read-only

Ad sets in one Meta campaign. 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>",
      "campaign_id": "<campaign_id>"
    },
    "name": "meta_list_campaign_adsets"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
user_idNo
client_idNo
user_emailNo
campaign_idYes
ad_account_idYes

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 nothing behavioral: no pagination behavior, no result limits, no note on what happens when a campaign has no adsets, and no mention that it queries a live external Meta API.

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 tight sentences with no filler, and the client_id default is stated up front where an agent will read it. The structure is efficient; the only weakness is that the first sentence is a noun fragment rather than a complete statement of what the call does.

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 six-parameter tool at 0% schema coverage the definition is thin. Four of six parameters, including both required ones, are undocumented anywhere, leaving an agent to guess what ad_account_id must contain relative to campaign_id.

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 six parameters, so the description must carry the load, and it only clarifies two: client_id's default to the active brand and extra as a passthrough for arbitrary fields. The required ad_account_id and campaign_id, plus user_id and user_email, are left entirely undefined.

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?

The phrase "Ad sets in one Meta campaign" identifies the resource but never states the verb, relying on the tool name to imply a list operation. It also does not distinguish this from the sibling meta_list_adsets, which by name covers a broader adset listing, so the agent must infer the scope difference from the parameter names alone.

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 when-to-use or when-not-to-use guidance and no mention of the closely named meta_list_adsets alternative. The only guidance-like statement is the implicit constraint that results are bounded to one campaign, which comes from the schema's required campaign_id rather than the description.

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.