Skip to main content
Glama
meta-ads-mcp

meta-ads-mcp

by 1nc0gn30

meta_list_campaigns

Read-only

List campaigns in an ad account, filter by effective status, and paginate results to review or audit ad performance.

Instructions

List campaigns in an ad account with optional effective_status filter and pagination.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "meta_list_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
max_pagesNo
ad_account_idNo
effective_statusNoFilter campaigns by effective_status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds only the existence of filtering and pagination; it does not disclose permission requirements, rate limits, or whether results are truncated, which are the behaviors an agent would still wonder about.

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?

A single front-loaded sentence with zero filler; the scope comes before the optional modifiers.

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 read-only listing tool with no output schema, the definition covers the essentials but not result shape, ordering, or how max_pages bounds the fetch — gaps that matter for an agent building a pagination loop.

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 description coverage is only 25% — only effective_status is documented in the schema — yet the description mentions filtering and pagination without explaining limit defaults (50), max_pages (default 3, max 10), or why ad_account_id is optional despite the 'in an ad account' framing. It partially compensates but leaves real ambiguity.

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?

Names a specific verb and resource ('List campaigns') plus the scope ('in an ad account') and the key modifiers (effective_status filter, pagination). It is clearly separable from meta_get_campaign or meta_create_campaign by verb, though it never names a sibling explicitly.

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?

The description implies the usage context (browsing campaigns within one ad account) but gives no when-to-use guidance, no exclusions, and no pointer to alternatives such as meta_get_campaign for a single campaign or meta_get_insights for performance data.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.