All docs
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)

ToolWhat it does
x_ads__list_accountsThe X Ads accounts the connected X login reaches (Ads MCP list_ads_accounts): id, name, business, time zone, approval status, currency.
x_ads__get_accountThe selected X Ads account's details with its funding instruments.
x_ads__list_funding_instrumentsFunding instruments of the account: id, name, currency, type, credit limit / funded / remaining, able_to_fund + reasons, status.
x_ads__list_campaignsCampaigns 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_itemsLine 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_tweetsPromoted posts of the account or of named line items: id, line_item_id, tweet_id, approval status.
x_ads__list_targeting_criteriaTargeting criteria of named line items: id, line_item_id, name, targeting_type, targeting_value, operator (EQ include / NE exclude).
x_ads__statsPerformance 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_healthAccount health: approval status (when X lists the account), whether a funding instrument can pay, promoted posts rejected / under review, campaigns and line…
x_ads__getCall 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.

ToolApprovalWhat it does
x_ads__set_campaign_statusApproval settingPause / activate ONE campaign.
x_ads__set_line_item_statusApproval settingPause / activate ONE line item.
x_ads__update_campaignApproval settingChange a campaign's name, fundingInstrumentId, purchaseOrderNumber or standardDelivery.
x_ads__update_line_itemApproval settingChange a line item's name, bid, bidStrategy (AUTO / MAX / TARGET), dailyBudget, totalBudget, startTime, endTime, goal, placements, payBy, audienceExpansion…
x_ads__create_campaignApproval settingCreate a campaign PAUSED (X forces it).
x_ads__create_line_itemApproval settingCreate a line item (ad group) PAUSED under one of the account's campaigns.
x_ads__add_targeting_criterionApproval settingAdd ONE targeting criterion to a line item (one call per criterion).
x_ads__mutateApproval settingAny 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_postApproval settingMake 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.

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.
Use the X Ads tools

Run them through the in-app agent, or call them from Claude, ChatGPT, Codex or Cursor over the hosted MCP server.