Skip to main content
Glama
Meta Ads MCP

Meta Ads MCP

Get campaigns

get_campaigns

Lists campaigns for a Meta ad account, returning status, objective, and budget, with optional status filters and a result limit.

Instructions

Lists campaigns for an ad account, with status, objective and budget.

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": "get_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax campaigns to return (default 25).
statusNoFilter to only these campaign statuses.
client_idNoClient identifier from accounts.config.json. Resolves the ad account and token automatically. Omit to use account_id + the default META_ACCESS_TOKEN instead.
account_idNoAd account id, e.g. "act_1234567890". Required if client_id is omitted or its config entry has no ad_account_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. 'Lists' implies a non-mutating read and the phrase 'with status, objective and budget' usefully signals the return shape given there is no output schema, but it is silent on pagination, default truncation, permissions, and the auth/account resolution requirement.

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?

It is a single front-loaded sentence with no filler or repetition. It earns almost every word, though the returned-field enumeration slightly crowds out more decision-relevant information such as filtering and default limits.

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 simple read tool with four fully documented, all-optional parameters and no output schema, the description is adequate but thin. A mention of the default page size and the client_id/account_id resolution path would round it out, since those determine whether a call succeeds.

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 100%, so the baseline of 3 applies. The description hints that status filtering exists and that results are anchored to an ad account, but it adds no meaning beyond the already-detailed schema for limit, status, client_id, and account_id.

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?

The description states a specific verb and resource ('Lists campaigns') and scopes it to 'an ad account,' plus names the notable returned fields (status, objective, budget). That is enough to distinguish it from write siblings like create_campaign, duplicate_campaign, and update_campaign_status, though it never explicitly contrasts itself with them.

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 gives no when-to-use or when-not-to-use guidance and names no alternative. It doesn't explain the client_id vs account_id resolution choice or point to related tools such as get_adsets or get_insights for drill-down, leaving the agent to infer usage from the schema alone.

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