Reference
WordPress tools: every read and write tool the agent and MCP can call
TL;DR
16 read and 16 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). 3 writes are marked “Person approves”: they wait for a person on every lane — only the workspace's own OAuth app and an API key an admin set to apply changes you can't take back skip that wait. Forbidden Rules can block any of them.
- Operations the platform's API does not offer, and operations not in the catalog, are not available through these tools.
Read tools (16)
| Tool | What it does |
|---|---|
wordpress__list_sites | The WordPress sites connected in this workspace (WordPress.com and self-hosted), with the connection method and the WordPress user each acts as. |
wordpress__get_site | One site's name, address, time zone and what its REST API offers. |
wordpress__get_settings | The site's general settings (title, tagline, time zone, date format, posts per page, default category) — needs an administrator's connection. |
wordpress__get_stats | Get stats |
wordpress__list_posts | Posts with title, status, date, link, excerpt, categories and tags. |
wordpress__get_post | One post with its full content (as stored), status, dates, categories, tags and featured image. |
wordpress__list_pages | Pages with title, status, date, link and parent. |
wordpress__get_page | One page with its full content. |
wordpress__list_drafts | Draft and pending posts and pages waiting to be published. |
wordpress__search | Search the site's content (posts, pages, terms). |
wordpress__list_media | Media library items: title, type, MIME type, file URL, alt text, date. |
wordpress__list_categories | Categories with id, name, slug, parent and post count. |
wordpress__list_tags | Tags with id, name, slug and post count. |
wordpress__list_comments | Comments for moderation: status (approved / hold / spam), post, author display name and text — e-mail addresses and IPs are removed. |
wordpress__list_users | The site's authors: id, display name and slug (no e-mail addresses). |
wordpress__get | Any other READ of the site's REST API by route, in WordPress's own format. |
Write tools (16)
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 |
|---|---|---|
wordpress__create_post | Approval setting | Create a post — a DRAFT unless status says otherwise (publish / future make it public and wait for a person). |
wordpress__update_post | Approval setting | Change a post's title, content, excerpt, categories, tags or status (publish / future wait for a person). |
wordpress__create_page | Approval setting | Create a page — a DRAFT unless status says otherwise (publish / future wait for a person). |
wordpress__update_page | Approval setting | Change a page (publish / future wait for a person). |
wordpress__upload_media | Approval setting | Upload a file to the media library from an Asset Library file or an https URL (≤ 25 MB). |
wordpress__update_media | Approval setting | Change a media item's title, alt text or caption. |
wordpress__create_category | Approval setting | Create a category. |
wordpress__update_category | Approval setting | Rename or describe a category. |
wordpress__create_tag | Approval setting | Create a tag. |
wordpress__update_tag | Approval setting | Rename or describe a tag. |
wordpress__moderate_comment | Approval setting | Approve or hold a comment (spam / trash wait for a person). |
wordpress__reply_comment | Approval setting | Reply to a comment as the connected WordPress user (approved at once when that user may moderate). |
wordpress__delete_post | Person approves | Move a post to the trash (restorable in wp-admin for 30 days). |
wordpress__delete_page | Person approves | Move a page to the trash. |
wordpress__delete_media | Person approves | Delete a media file — PERMANENT (WordPress has no media trash). |
wordpress__mutate | Approval setting | Any other WRITE to the site's REST API in WordPress's own format. |
Authorized raw requests
wordpress__raw_request takes a request in WordPress'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 WordPress tools are there?
- 32: 16 read and 16 write, of which 3 always wait for a person. The list on this page is the complete catalog for WordPress.
- Can an agent call the WordPress API directly?
- wordpress__raw_request takes a request in WordPress'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.