Reference
X Ads tools: every read and write tool the agent and MCP can call
TL;DR
10 read and 9 write tools. Read and write support for the operations listed.
Support and limitations
- Read and write support for the operations listed.
- Permissions: the connected login's role and the permissions it granted decide what each tool can read or change. A tool the login cannot use answers with what is missing; it never works around it.
- Approvals: in the app, changes wait for approval unless the task runs with auto-approve. Over MCP and REST they follow the credential's setting (an API key applies ordinary changes at once unless it is set to require approval; a third-party OAuth connection waits). Forbidden Rules can block any of them.
- X has no campaign or line-item delete, and a campaign or line item is turned on only through its status tool.
- Operations the platform's API does not offer, and operations not in the catalog, are not available through these tools.
Read tools (10)
| Tool | What it does |
|---|---|
x_ads__list_accounts | The X Ads accounts the connected X login reaches (Ads MCP list_ads_accounts): id, name, business, time zone, approval status, currency. |
x_ads__get_account | The selected X Ads account's details with its funding instruments. |
x_ads__list_funding_instruments | Funding instruments of the account: id, name, currency, type, credit limit / funded / remaining, able_to_fund + reasons, status. |
x_ads__list_campaigns | Campaigns of the account: id, name, status, servable + reasons, funding instrument, budget optimization (always LINE_ITEM — budgets live on line items), dates. |
x_ads__list_line_items | Line items (ad groups) of the account or of named campaigns: id, name, campaign_id, objective, product type, placements, bid + strategy, goal, status, daily… |
x_ads__list_promoted_tweets | Promoted posts of the account or of named line items: id, line_item_id, tweet_id, approval status. |
x_ads__list_targeting_criteria | Targeting criteria of named line items: id, line_item_id, name, targeting_type, targeting_value, operator (EQ include / NE exclude). |
x_ads__stats | Performance per campaign, line item, promoted post or the whole account (Ads MCP get_account_stats), by day, hour or in total. |
x_ads__get_account_health | Account health: approval status (when X lists the account), whether a funding instrument can pay, promoted posts rejected / under review, campaigns and line… |
x_ads__get | Call ANY READ tool of X's Ads MCP by name on the selected account. |
Write tools (9)
A write marked “Person approves” waits for a person on every lane; the others follow the approval setting of the app or the credential.
| Tool | Approval | What it does |
|---|---|---|
x_ads__set_campaign_status | Approval setting | Pause / activate ONE campaign. |
x_ads__set_line_item_status | Approval setting | Pause / activate ONE line item. |
x_ads__update_campaign | Approval setting | Change a campaign's name, fundingInstrumentId, purchaseOrderNumber or standardDelivery. |
x_ads__update_line_item | Approval setting | Change a line item's name, bid, bidStrategy (AUTO / MAX / TARGET), dailyBudget, totalBudget, startTime, endTime, goal, placements, payBy, audienceExpansion… |
x_ads__create_campaign | Approval setting | Create a campaign PAUSED (X forces it). |
x_ads__create_line_item | Approval setting | Create a line item (ad group) PAUSED under one of the account's campaigns. |
x_ads__add_targeting_criterion | Approval setting | Add ONE targeting criterion to a line item (one call per criterion). |
x_ads__mutate | Approval setting | Any OTHER write tool of X's Ads MCP by name on the selected account (a promoted post goes through create_promoted_post): create_ad_post (a promoted-only… |
x_ads__create_promoted_post | Approval setting | Make a line item an ad in one call: write a promoted-only post (create_ad_post, nullcast) and attach it (promote_post), then read the promoted post back. |
Authorized raw requests
x_ads__raw_request takes a request in X Ads's own format and routes it through the family's own gateway tool, so the same account binding, approvals and refusals apply. It needs the tools:raw scope (and tools:write for a change) and is found through search_tools or the REST tool list. Reads run at once; a change follows the gateway's approval setting.
Related pages
Frequently asked questions
- How many X Ads tools are there?
- 19: 10 read and 9 write. The list on this page is the complete catalog for X Ads.
- Can an agent call the X Ads API directly?
- x_ads__raw_request takes a request in X Ads's own format and routes it through the family's own gateway tool, so the same account binding, approvals and refusals apply. It needs the tools:raw scope (and tools:write for a change) and is found through search_tools or the REST tool list. Reads run at once; a change follows the gateway's approval setting.