Skip to main content
Glama
Meta Ads MCP

Meta Ads MCP

Get ads

get_ads

List ads with their associated creative, filtered by ad set, campaign, or entire ad account. Filter by status and set result limits to review or manage Facebook and Instagram ad performance.

Instructions

Lists ads with their associated creative. Scope to a single ad set (adset_id), campaign (campaign_id), or list all ads in an ad account.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax ads to return (default 25).
statusNoFilter to only these ad statuses.
adset_idNoRestrict results to ads under this ad set.
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.
campaign_idNoRestrict results to ads under this campaign.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry behavioral disclosure. 'Lists' implies a read-only operation and it notes that ads are returned with associated creative, but it omits permissions/auth requirements, pagination or ordering behavior, and rate-limit/timeout considerations.

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?

Two sentences, front-loaded with purpose and then scoping choices; no redundant or filler language. The parentheses around parameter names keep it compact.

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 listing tool with fully described parameters, the description gives enough to understand purpose and primary scoping. Because there is no output schema, it could say more about response shape/pagination, but associated creative is the key return element.

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 100%, so all six parameters are already documented. The description reinforces the adset_id and campaign_id scoping and the account-wide default, but adds no syntax, constraints, or default values beyond the schema.

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?

States a specific verb and resource ('Lists ads') and adds that results include associated creatives. It clearly separates ad-scoped listing from ad set/campaign scoping, though it does not explicitly name alternative sibling tools.

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

Usage Guidelines3/5

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

The second sentence explains the three scoping modes: adset_id, campaign_id, or all ads in the account, which is useful when selecting filters. It does not state when to prefer this tool over get_adsets, get_campaigns, get_creatives, or get_insights, nor any exclusions.

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