Skip to main content
Glama

Meta campaigns

meta_get_campaigns
Read-only

Campaigns in a Meta ad account: objective, status, budget (campaign budget or set per ad set), bid strategy, and whether it's an Advantage+ campaign. Ids here are what meta_update_status / meta_update_budget take.

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_get_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoDefault all (deleted and archived never shown).
adAccountNoAd account name or id ('act_123' or '123'), from meta_list_ad_accounts. Only needed when more than one is shared.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds that budget may live at campaign level or per ad set, which is genuinely useful context beyond the schema, but it says nothing about pagination, result volume, or how the open-world external call behaves.

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?

One dense field-listing sentence followed by a short payoff clause about id reuse; no filler. The colon-list construction is compact, though the second sentence could be fused or trimmed to make it fully tight.

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?

With no output schema, the description compensates by enumerating returned fields (objective, status, budget, bid strategy, Advantage+), which is exactly the gap it needs to fill. Remaining omissions — pagination, result limits, whether the default status filter hides paused campaigns in practice — are minor for a two-parameter read tool.

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% and both parameters carry their own descriptions (status default 'all', deleted/archived never shown; adAccount format 'act_123' or '123' and when it is needed). The description only adds the 'Ids from here' note, which concerns the return value rather than input semantics, so baseline 3 applies.

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 names the resource and its scope precisely ('Campaigns in a Meta ad account') and enumerates the fields returned: objective, status, budget, bid strategy, Advantage+ flag. It implicitly separates itself from platform siblings (msads_/reddit_ get_campaigns) via 'Meta ad account', though it never explicitly contrasts with the bare `get_campaigns` sibling.

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

Usage Guidelines4/5

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

'Ids here are what meta_update_status / meta_update_budget take' gives a concrete workflow: read campaigns first to obtain ids for mutation tools. There are no explicit when-not-to-use conditions and no direct comparison to `get_campaigns`, so the agent must infer the platform split from the name.

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