Skip to main content
Glama

Google Ads & Meta Ads

Meta: List Campaigns

meta_list_campaigns
Read-onlyIdempotent

List campaigns for a Meta ad account, including each campaign's status and daily budget. Optionally includes ad sets, and with include_targeting each ad set's locations, age range and gender — read that before changing anything with meta_update_adset_targeting. For individual ads, use meta_list_ads.

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
ad_account_idNoMeta ad account to read: act_ id or account name (from meta_list_ad_accounts). Pass it whenever the conversation is about a particular account; omitted, the only account or the stored default is used.
include_adsetsNoInclude ad sets. Default true.
include_targetingNoInclude each ad set's targeting — countries, regions, cities, age range, gender, and for city and region targeting whether Meta also reaches people interested in those places. Default false, because it roughly triples the size of the answer.

Output Schema

NameRequiredDescriptionDefault
currencyNoISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then.
campaignsYesCampaigns in the ad account.
adAccountIdYesAd account the campaigns belong to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the safety profile is covered. The description adds genuine context beyond them: include_adsets defaults to true and include_targeting roughly triples the answer size, which is a real cost signal for an agent deciding whether to request it. It stops short of describing result shape or pagination, but the output schema carries that.

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?

Three sentences, front-loaded with purpose before the branches. Every clause is doing work — scope, optional payload, default cost warning, and sibling routing — with no filler or restatement of the title.

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?

For a read-only list tool with full schema coverage, an output schema, and annotation-covered safety, the description covers what an agent needs to call it correctly. It omits any pagination or result-limit note, which is the only remaining gap, and the output schema largely absorbs that.

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

Parameters4/5

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

Schema coverage is 100%, so baseline would be 3, but the description adds meaning on top: it enumerates what include_targeting returns (locations, age range, gender) and frames it as a prerequisite read before a targeted mutation. That is usage semantics the schema's own text does not fully convey.

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?

Opens with a specific verb+resource ("List campaigns for a Meta ad account") and names the returned fields (status, daily budget). It also explicitly separates itself from meta_list_ads ("For individual ads, use meta_list_ads"), so an agent can route 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 Guidelines5/5

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

Gives an explicit alternative and the condition that selects it (individual ads -> meta_list_ads), plus a workflow precondition: read targeting with include_targeting before changing anything via meta_update_adset_targeting. There is no ambiguity about when this tool is the right pick.

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