Skip to main content
Glama
climent-meta-ads-mcp

climent-meta-ads-mcp

by Manucliment

Meta campaigns with performance

meta_campaigns
Read-onlyIdempotent

Retrieve campaigns for a Meta ad account with status, objective, budget, and performance for a date range, sorted by spend, to compare results and guide budget decisions.

Instructions

Campaigns of one Meta ad account with status, objective, budget and performance for a date range, sorted by spend. Money in the account currency.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account_id": "<account_id>"
    },
    "name": "meta_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoStart date, YYYY-MM-DD, inclusive.
untilNoEnd date, YYYY-MM-DD, inclusive.
presetNoDate preset in the ad account time zone (default last_30d; last_N excludes today). Use either preset or since+until.
statusNoenabled = only items Meta reports as ACTIVE; not_removed (default) = Meta's default listing, which leaves out deleted items.
max_rowsNoMaximum rows to return (default 50, max 500).
account_idYesMeta ad account ID, e.g. act_1234567890 (the act_ prefix is optional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior. The description adds useful context beyond annotations: results are sorted by spend and monetary values are in the account currency, though it does not discuss pagination or rate limits.

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 compact sentences front-load the resource and scope, then add sort and currency details without filler. Every phrase is relevant to selecting or interpreting the tool.

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 six-parameter read-only tool with full schema coverage and strong annotations, the description covers the returned fields, sorting, and currency. The main remaining gap is that "performance" is not defined and there is no output schema clarifying which metrics are returned.

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 all six parameters are already documented, including date preset behavior, status enum meaning, and max_rows limits. The description restates date-range and currency context but adds no parameter-level semantics 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 the resource (campaigns of one Meta ad account) and returned attributes (status, objective, budget, performance), plus sort order and currency. The resource distinction from siblings like meta_ad_sets and meta_ads is clear, though no sibling is named explicitly.

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?

Provides no explicit when-to-use or when-not-to-use guidance and names no alternative tool. The account-scoped campaign retrieval with a date range implies the use case, but an agent must infer when to choose it over meta_insights_breakdown or meta_ad_sets.

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