MCP tools
They all work on the token's site. Arguments and responses have the same shape as the API: everything the API does, the MCP does, and the last column says which route each tool maps to. A test fails if a route shows up without a tool.
Each tool needs a permission. The MCP only shows the tools the token can use; see What the agent can do.
| Tool | What it does | Permission | In the API |
|---|---|---|---|
describe_space |
The site: locales and each content type with its fields, plus its agent guidance if it has any | read_published |
GET /api/v1, GET /api/v1/spaces/:space_id, GET /api/v1/spaces/:space_id/content_types, GET /api/v1/spaces/:space_id/content_types/:id |
update_site |
Sets the live and staging URLs, so entries come with their url and preview_url (Staging); the content's language (default_locale, which moves the values, it doesn't translate) and prefix_default_locale (Languages) |
manage_webhooks |
PATCH /api/v1/spaces/:space_id |
get_integrations |
The site's tracking integrations by ID (Google Analytics 4, Google Tag Manager, Meta Pixel, Hotjar, Clarity, Plausible), its site-wide custom code with its status and pending draft, and head / body_end, the HTML the site prints (published code only). See Snippets |
read_published |
GET /api/v1/spaces/:space_id/integrations |
update_integrations |
Turns tracking tools on or off by ID (Pluma writes their snippet), and saves site-wide custom code (head, body_end) as a draft: code also needs manage_code, and only a person publishes it, in the dashboard. Answers with warnings: the domains the code loads and red flags. dry_run: true saves nothing. See Snippets |
manage_webhooks (+ manage_code for code) |
PATCH /api/v1/spaces/:space_id/integrations |
add_locale |
Adds a language for translations: code, name, fallback_code |
manage_model |
POST /api/v1/spaces/:space_id/locales |
update_locale |
Renames a language or changes its fallback | manage_model |
PATCH /api/v1/spaces/:space_id/locales/:code |
remove_locale |
Removes a language; with values in it, only with delete_values: true, which deletes them |
manage_model |
DELETE /api/v1/spaces/:space_id/locales/:code |
search_docs |
Searches the Pluma docs and returns the matching pages | — | GET /api/v1/spaces/:space_id/llms.txt |
export_space |
The whole site in one JSON: types, entries (latest and published) and files | write |
GET /api/v1/spaces/:space_id/export |
create_content_type |
Creates a type with its fields (each with help, group, options, accept), and optionally kind, subtitle_field, image_field, position, entry_order. With dry_run: true it saves nothing |
manage_model |
POST /api/v1/spaces/:space_id/content_types |
update_content_type |
Changes name, description, title field, guidance, previews, or how it shows in Content: kind, subtitle_field, image_field, position, entry_order (How content is organized). The api_id doesn't change. dry_run: true saves nothing |
manage_model |
PATCH /api/v1/spaces/:space_id/content_types/:id |
add_field |
Adds a field to an existing type, with help, group, options (select types) and accept (file types). dry_run: true saves nothing |
manage_model |
POST /api/v1/spaces/:space_id/content_types/:content_type_id/fields |
update_field |
Edits a field: name, type (between text types, if every value fits), help, group, options, accept; hidden: true hides it without deleting data. dry_run: true saves nothing |
manage_model |
PATCH /api/v1/spaces/:space_id/content_types/:content_type_id/fields/:id |
set_order |
Orders the Content menu (content_types, groups; needs manage_model) or, with content_type + entries, that type's entries by hand (it then sorts by sys.position). dry_run: true saves nothing. See Order |
write |
POST /api/v1/spaces/:space_id/content_types/order, POST /api/v1/spaces/:space_id/content_types/:content_type_id/entries/order |
set_quick_access |
Sets the shortcuts at the top of the dashboard's Content menu, in order: items like [{"entry": "12"}, {"content_type": "faq", "label": "Questions"}], up to 8; [] removes them. Without items it answers with the current list. dry_run: true saves nothing. See Quick access |
manage_model |
GET /api/v1/spaces/:space_id/quick_access, PUT /api/v1/spaces/:space_id/quick_access |
find_content |
Finds where something is before you change it: free text ("el sabor de compartir") or a key (tagline, hero). Every field of every entry, plus field names, help and types. Each result: the entry, its type, the field and its help, the match with «», the status, and appears_on (the pages that show it, the section's place, URLs). Pages first, settings last; a note flags a setting that may only be a fallback. See Find content |
read_published |
GET /api/v1/spaces/:space_id/search |
describe_page |
A page top to bottom as a visitor sees it: its fields, then each section in order with its entry id, type and fields (name, help, value). By id or path; without them, the home page. See Describe a page |
read_published |
GET /api/v1/spaces/:space_id/entries/:id/outline, GET /api/v1/spaces/:space_id/outline |
list_entries |
Entries with filters: content_type, fields (equality), order, limit, skip, rich_text, locale |
read_published |
GET /api/v1/spaces/:space_id/entries |
get_entry |
One entry by id, in a locale if you want (* for all), plus field_help: each field's help, including its markup (*italics*, line breaks) |
read_published |
GET /api/v1/spaces/:space_id/entries/:id |
list_versions |
An entry's versions: who, when, which one is published | read_drafts |
GET /api/v1/spaces/:space_id/entries/:id/versions |
create_entry |
Creates a draft entry: content_type, fields, and locale to write another language |
write |
POST /api/v1/spaces/:space_id/entries |
update_entry |
Changes only the fields you send. version keeps you from overwriting someone else's changes; locale writes another language |
write |
PATCH /api/v1/spaces/:space_id/entries/:id |
publish_entry |
Publishes the latest version (checks required fields, slugs, references, alt). New or changed code in code fields can only be published by a person (Code fields) |
publish |
POST /api/v1/spaces/:space_id/entries/:id/publish |
unpublish_entry |
Takes it off the site; the entry goes back to draft with its versions | publish |
— |
archive_entry |
Archives: it leaves the site and stays saved | publish |
POST /api/v1/spaces/:space_id/entries/:id/archive |
unarchive_entry |
Takes it out of the archive; it comes back as a draft | publish |
POST /api/v1/spaces/:space_id/entries/:id/unarchive |
translate_entry |
Fills a language's missing localized fields from the default one with AI, as a draft version; overwrite: true redoes them all (Translate with AI) |
write |
POST /api/v1/spaces/:space_id/entries/:id/translate |
batch |
Several operations in one call, all or nothing (up to 100). See Batch | write and publish depending on the operation |
POST /api/v1/spaces/:space_id/batch |
list_assets |
The site's files, with URL, type, size and alt | read_published |
GET /api/v1/spaces/:space_id/assets |
get_asset |
One file by id |
read_published |
GET /api/v1/spaces/:space_id/assets/:id |
upload_asset |
Uploads a file in base64 (data, filename) or from a url, with title and alt |
write |
POST /api/v1/spaces/:space_id/assets |
update_asset |
Changes a file's title, alt or description | write |
PATCH /api/v1/spaces/:space_id/assets/:id |
list_api_keys |
The active keys, without the token | manage_keys |
GET /api/v1/spaces/:space_id/api_keys |
create_api_key |
Creates a delivery or preview key and returns its token once |
manage_keys |
POST /api/v1/spaces/:space_id/api_keys |
get_activity |
The site's latest changes: who, what and when | read_drafts |
— |
trigger_deploy |
Rebuilds the site now by calling its deploy hooks, without publishing anything. The tool for "deploy", "redeploy", "rebuild" or "publish the site" (not one entry), for example a site that reads other data when it's built. target: production (the live site, default) or staging (the preview hooks). Calls within 30 s coalesce into one deploy (coalesced: true, same deploy.id). Answers with deploy and next, like a write: poll get_deploy_status. No hook for that target gives deploy_unavailable. See Trigger a deploy |
publish |
POST /api/v1/spaces/:space_id/deploys |
get_deploy_status |
What a change did to the site: the deploy hooks it fired (pending, delivering, delivered, failed, no_hook), what the host answered, seen_on_page_at (the page already shows the change) and live_page_changed_at; drafts_live when the live site shows drafts. Waits up to 40 s for the page to show the change (wait: false to answer right away), and once it does, returns a picture of that part of the page (image + shot_url). id from a write's or trigger_deploy's deploy.id, or latest. See Deploy status |
read_drafts |
GET /api/v1/spaces/:space_id/deploys/:id |
get_site_preview |
A picture of the live home page as an image (MCP image content, JPEG), with when it was taken. If it's older than the last publish, Pluma asks for a new one. See Site preview |
read_published |
— |
list_webhooks |
The deploy hooks, with their last delivery | manage_webhooks |
GET /api/v1/spaces/:space_id/webhooks |
create_webhook |
Creates a deploy hook (netlify, vercel or generic) and returns its secret once |
manage_webhooks |
POST /api/v1/spaces/:space_id/webhooks |
test_webhook |
Sends a test hook and returns what the destination answered | manage_webhooks |
POST /api/v1/spaces/:space_id/webhooks/:id/test |
delete_webhook |
Deletes a deploy hook | manage_webhooks |
DELETE /api/v1/spaces/:space_id/webhooks/:id |
list_inbound_deploy_hooks |
The inbound deploy hooks: secret URLs other systems call to rebuild the site. Name, target, signed, last_used_at; never the full URL |
publish |
GET /api/v1/spaces/:space_id/inbound_deploy_hooks |
create_inbound_deploy_hook |
Makes the site rebuild by itself when something changes elsewhere: a secret URL (https://…/hooks/deploy/<token>, no API key) for the store or catalog in Ali, a CRM or a cron job. target: production (default) or staging; optional signing_secret (Ali's whsec_…) makes every call need a valid X-Ali-Signature. Calls within 30 s are one build. Returns url once. See Rebuild your site when your Ali catalog changes |
publish |
POST /api/v1/spaces/:space_id/inbound_deploy_hooks |
update_inbound_deploy_hook |
Renames it or sets its signing_secret (empty removes it). The URL doesn't change |
publish |
PATCH /api/v1/spaces/:space_id/inbound_deploy_hooks/:id |
rotate_inbound_deploy_hook |
A new URL, returned once; the old one answers 404 right away | publish |
POST /api/v1/spaces/:space_id/inbound_deploy_hooks/:id/rotate |
revoke_inbound_deploy_hook |
Turns it off for good: its URL answers 404 | publish |
DELETE /api/v1/spaces/:space_id/inbound_deploy_hooks/:id |
get_analytics |
The site's visitors for the last N days: from AI assistants, sources, pages, places, UTM campaigns, devices, and AI crawlers | read_drafts |
GET /api/v1/spaces/:space_id/analytics |
get_answers |
What ChatGPT answers to the site's questions: mentioned, cited, position, competitors in the answers, wrong facts | read_drafts |
GET /api/v1/spaces/:space_id/answers, GET /api/v1/spaces/:space_id/questions |
update_questions |
Replaces the questions Pluma asks ChatGPT every week (1 to 30) and, optionally, the country, region and city they're asked from | manage_model |
PATCH /api/v1/spaces/:space_id/questions |
run_answers |
Asks the stored questions now instead of waiting for Monday (once a day at most; costs one call per question and assistant). get_answers shows it under in_progress until it's done |
manage_model |
POST /api/v1/spaces/:space_id/answers/runs, GET /api/v1/spaces/:space_id/answers/runs/:id |
get_market |
Where the customers are (country, region, city) and where that came from (source: manual, or a guess from content, phone, domain, ip, timezone). If a guess doesn't match the site's content, fix it with update_market |
read_drafts |
GET /api/v1/spaces/:space_id/market |
update_market |
Sets only the market (country as 2 letters, optional region and city) and keeps the questions. Pluma's guesses never replace it; an empty country clears it | manage_model |
PATCH /api/v1/spaces/:space_id/market |
get_readiness |
The last AI readiness check of the live site, with what to fix | read_drafts |
GET /api/v1/spaces/:space_id/readiness |
check_readiness |
Reads the live site like an AI crawler and runs the checks again (once a minute at most) | read_drafts |
POST /api/v1/spaces/:space_id/readiness |
get_search_queries |
What people searched on Google and Bing: top queries (with the page each lands on) and pages with clicks, impressions, CTR and position; the daily trend with this week against the last; searches split between pages; countries, devices and search types; whether Google has the site's important pages; and the sitemaps. Empty until an owner connects them | read_drafts |
GET /api/v1/spaces/:space_id/search_queries |
Before you edit, and after you publish
People describe what they see ("the big title on the home"), not entry ids. Before changing anything:
- Find it.
find_contentwith the text the person sees, ordescribe_pagefor the page they mean (no arguments: the home). Edit the result on the page, not a site-wide setting with the same text: a setting liketaglineis often only a fallback the site shows when the page's own field is empty.find_contentsays so innote. - Change and publish that entry. Every write answers with
appears_on(where it shows),deployandnext. - Don't say it's live yet. Right after publishing, a site with a deploy hook is rebuilding. Poll until it's done:
publish_entry { "id": "270" } → deploy: { "id": "8812", "state": "pending", "done": false }
get_deploy_status { "id": "8812" } (every 30-60 s) → state: "delivering" … "delivered"
get_deploy_status { "id": "8812" } → done: true, live: true, live_page_changed_at: "…"
"Redeploy the site." When the person asks to deploy, redeploy or rebuild without changing content (a site that reads other data when it's built), call trigger_deploy (target: "staging" for the staging site), then poll get_deploy_status with its deploy.id the same way. Don't publish an entry or call test_webhook to force a build.
"Rebuild the site when something changes in my store." When the site is built from data that lives somewhere else (the catalog in Ali, a CRM), call create_inbound_deploy_hook and give the person its url to paste in that system's webhook settings. Each call rebuilds the site, and a burst of changes is one build. See Rebuild your site when your Ali catalog changes.
Stop when done is true, or after about 5 minutes. Then tell the person what next says, with the verify_at link. If state is failed, the site did not update: say so. If it's no_hook, Pluma doesn't rebuild the site: ask them to check the link. get_site_preview shows the live home page as a picture.
What the agent can do
The same as the person who connected it, based on their role on the site, and never more. The MCP only shows it the tools it can use; a tool it can't see gives Tool not found. In a batch, an operation the role doesn't allow gives key_cannot and nothing is saved.
| Person's role | Agent's permissions | What it does |
|---|---|---|
| Owner, Admin | all | Everything: content, publishing, model, keys, deploy hooks |
| Editor | read_published, read_drafts, write, publish |
Creates, edits and publishes content and files, and rebuilds the site (trigger_deploy, inbound deploy hooks). Doesn't touch the model, keys or deploy hooks |
| Author | read_published, read_drafts, write |
Creates and edits content and files, as drafts. Doesn't publish |
| Viewer | read_published, read_drafts |
Read only |
- It's the role today: if it changes, the agent changes right away, without reconnecting.
- If an owner limited the person to some content types or entries, the agent gets the same limit: it only changes those, and elsewhere it only sees what's published.
- Keys (
delivery,preview,management) have no person: their permissions are those of their kind (see API). - Code (
manage_code) is never part of a role: an owner gives it to a person, and then someone with it turns it on for one agent. With it, the agent saves raw HTML (site-wide code,codefields) as drafts; only a person publishes code. See Who can change code.
What clients confirm
Each tool tells the client what it does to the world, with the standard MCP annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint, title). ChatGPT and Claude use them to decide when to ask you before running a tool: reading goes straight through, publishing or deleting asks first.
| Kind | What it means | Key annotation | Tools |
|---|---|---|---|
| read | Only reads. Clients run it without asking | readOnlyHint: true |
describe_space, get_integrations, search_docs, export_space, find_content, describe_page, get_deploy_status, get_site_preview, list_entries, get_entry, list_versions, list_assets, get_asset, list_api_keys, get_activity, list_webhooks, list_inbound_deploy_hooks, get_readiness, get_analytics, get_answers, get_market, get_search_queries |
| change | Changes drafts, files or settings inside Pluma. Nothing reaches the live site | readOnlyHint: false |
create_content_type, update_content_type, add_field, set_order, set_quick_access, create_entry, update_entry, archive_entry, unarchive_entry, upload_asset, update_asset, create_api_key, create_webhook, create_inbound_deploy_hook, update_inbound_deploy_hook, update_site, update_questions, update_market, add_locale, update_locale, translate_entry |
| public | Changes what the live site shows | openWorldHint: true |
publish_entry, unpublish_entry, batch, update_integrations |
| destructive | Deletes something, or can lose data | destructiveHint: true |
update_field, delete_webhook, rotate_inbound_deploy_hook, revoke_inbound_deploy_hook, remove_locale |
| external | Calls a URL outside Pluma | openWorldHint: true |
trigger_deploy, test_webhook, check_readiness, run_answers |
Examples
Create and publish, in a conversation:
You: "Create an event Science fair on November 5 at 2:00 PM, and publish it."
The agent calls
describe_spaceto see the fields ofevent, thencreate_entrywith{ "content_type": "event", "fields": { "title": "Science fair", "slug": "science-fair", "startsAt": "2026-11-05T14:00:00-06:00" } }, andpublish_entrywith theidit got back.
Read with filters:
{ "name": "list_entries", "arguments": { "content_type": "event", "order": "fields.startsAt", "limit": 5 } }
Upload an image:
{ "name": "upload_asset", "arguments": { "filename": "playground.jpg", "data": "<base64>", "title": "Playground", "alt": "Recess in the playground" } }
Or with "url": "https://…" instead of data and filename. Same rules as the API: JPG, PNG, WebP, GIF, SVG or PDF up to 20 MB; MP4 or WebM up to 50 MB.
Migrate lots of things at once:
{ "name": "batch", "arguments": { "operations": [
{ "op": "create_asset", "ref": "playground", "url": "https://…/playground.jpg", "alt": "Recess in the playground" },
{ "op": "create_entry", "ref": "post", "content_type": "post", "fields": { "title": "Hello", "cover": "$playground" } },
{ "op": "publish_entry", "id": "$post" }
] } }
If one operation fails, none are saved, and the error says which one in details.operation.
Translate an entry into a language the site has, then read it before publishing:
{ "name": "add_locale", "arguments": { "code": "en" } }
{ "name": "translate_entry", "arguments": { "id": "12", "to": "en" } }
{ "name": "get_entry", "arguments": { "id": "12", "locale": "en" } }