Thematic MCP: Theme Editing feature group
The Theme Editing feature group lets you edit your theme structure by talking to an AI assistant through the Thematic MCP Server. It works alongside the Analysis feature group, which reads your results.
With Theme Editing on, the assistant can read your themes, find problems in them, propose fixes, test a change against your real data, and publish it. You can ask things like "which of our themes overlap?" or "what would happen if I mapped the phrase 'delivery' to Late Delivery?" and the assistant will work through it with you.
Three things are required before Theme Editing will work: your organization must allow theme editing, you must choose to turn it on, and you must have theme editing permissions. All three are explained below.
Before you start
Your organization allows theme editing
Theme Editing is off for every organization until an administrator turns it on. Someone with the manage workspace permission opens Manage workspace > MCP access in the Thematic portal and switches on Allow theme editing. Changes can take up to 5 minutes to reach assistants that are already connected. See Thematic MCP Server for details.
You turn it on for yourself
When you connect the Thematic MCP you choose which feature groups you want enabled. If you didn't choose Theme Editing then, ask your assistant to turn it on. You don't need to reconnect.
You need theme editing permissions
The built-in Dataset Administration role has theme editing permissions for every survey and lens. Without them Thematic refuses every edit. Ask whoever manages your Thematic users for a role that allows editing themes. See Permissions Glossary and Roles for how permissions and roles work.
Draft and live
Every change goes into a draft. A draft changes nothing your dashboards, reports or exports show.
your edits ──► draft ──► apply_themes ──► live themes + full re-tag
▲ │
└────────── reset_draft ◄─────────────┘
- Stack changes until ready. Until
apply_themes, none of it is visible to anyone reading your dashboards. - One draft per source, shared by your organization. It is not private to you. A colleague editing the same survey or lens is working on the same draft.
- Publishing is expensive.
apply_themesstarts a full re-tag of the source's data. It runs in the background, takes a while, and is not easy to undo, so it requires an explicit confirmation.
This is the same draft that the Manage themes area uses, so a draft you build here is visible there and vice versa. Because applying themes changes analysis other people may already have seen, it is worth reading Theme discovery changing themes before your first publish.
The usual sequence
list_playbooks, thenget_playbookfor the one that matches the task: the written procedure, before any tool call.get_draftto see the current themes;get_quality_scoreandget_tagging_statsto find where the problems are.- Run one of the AI checks for suggestions.
preview_phraseon anything uncertain.apply_transform: the change lands in the draft, nothing is live yet.diff_draftto review the whole change.apply_themesto publish;get_apply_statusto follow the re-tag.
The two rules that matter
Preview single words before mapping them. A phrase matches on concept, not sentiment: map "service" and it tags "the service was excellent" and "the service was appalling" alike. That is fine for a theme named by topic ("Staff service") and wrong for one named by direction ("Unhelpful staff"). A bare single word on a directional theme is the usual cause of a theme that grows to cover everything. Ask for preview_phrase and you see the split before you commit.
Review the diff before every publish. diff_draft is the only place an unintended change shows up while it is still cheap to undo. Read the removed themes especially.
Everything in Theme editing best practices applies here too: what makes a good taxonomy, when to merge rather than delete, and why overly generic phrases cause trouble.
Available tools
You don't need to call these directly. Ask for what you want in conversation and the assistant will choose the right tools. The list is here so you know what is possible.
Find the right procedure
| Tool | What it gives you |
|---|---|
list_playbooks |
The playbooks available for theme work, each with its id, title and a one-line summary, together with a page explaining which to use when. |
get_playbook |
One playbook in full. |
A playbook is a written procedure for a theme task: which tools to use, in what order, what to check before publishing, and what goes wrong quietly. The other tools describe what each one does; a playbook says when to use it. They are written and kept current by Thematic's Customer Success team, so an assistant that reads one is following the same method Thematic uses on customer data rather than working it out as it goes.
You do not have to do anything to get this. An assistant will read the playbook that matches what you asked for. You can also ask for one by name: "what does the theme loop playbook say?"
See what you have
| Tool | What it gives you |
|---|---|
list_sources_in_org |
The surveys and lenses available in your current organization. |
get_draft |
Every theme and sub-theme with its id, title, parent and mapped-phrase count. Falls back to live themes when there is no draft. |
list_phrases |
One theme's actual phrases, separating those mapped directly to it from those reaching it through a theme merged into it. |
list_theme_versions |
Every stored version of the source's themes, with when each was created, last updated, by whom, and last applied. Edits overwrite the same draft, so there is no history of half-finished states. |
get_quality_score |
Theme quality scores for the draft, falling back to live themes. |
get_tagging_stats |
How many themes each sentence carries, and which themes turn up most often on sentences carrying several. It measures your tagged data, so draft edits do not appear here until apply_themes has finished. |
Ask AI what to change
All six are read-only. A suggestion normally arrives with the exact change attached, so applying it is one further step rather than fresh work, apart from the two-step case noted under Things that can look odd.
| Tool | Finds | Proposes |
|---|---|---|
discover_themes |
Topics in your comments that no theme covers | Creating new themes |
discover_phrases |
Wording that belongs on themes you already have | Mapping new phrases |
find_overlapping |
Two themes covering the same concept | Folding one into the other, keeping its phrases working |
find_misplaced |
Sub-themes under the wrong parent | Re-parenting them |
find_mismerged |
Phrases folded into the wrong sub-theme | Lifting them out and re-merging |
find_generic |
Themes too vague to be useful | Removing them |
Two more work on a single theme and return phrases rather than a change:
suggest_phrases_for_themeworks from a theme's title and existing phrases, so it suits a new or nearly empty theme.extract_phrases_from_commentsdraws phrases from comments you name, which keeps them grounded in real wording. The assistant can find comment ids by reading your comments first.
discover_phrases is the one to reach for once a theme set is already populated.
These are the same checks that power AI Suggestions in the Themes Editor. If you prefer to review suggestions as cards in the portal rather than in conversation, that is the same work in a different interface.
Check, then change
| Tool | What it does |
|---|---|
preview_phrase |
Dry-runs a phrase: how many responses contain it, how many sentences it would tag as positive, neutral and negative, and a couple of example sentences for each. Changes nothing. |
diff_draft |
What publishing would change: themes added, themes removed, and per theme any rename, re-parent, or phrases mapped and unmapped. Answers no_draft , draft_matches_live or draft_differs . |
apply_transform |
Every theme edit goes through this one tool. It reads the draft (or your live themes when there is none), applies one change, and saves the result back as the draft. |
apply_transform covers eight changes: AddTheme , ChangeThemeTitle , DeleteThemes (cascading to sub-themes), MoveTheme , MergeTheme , UnmergeTheme , AddPhrases , DeletePhrases .
- Merge or delete? If a redundant theme's phrases are still catching useful comments,
MergeThemekeeps them working against the surviving theme.DeleteThemesthrows them away with the theme. - Undoing a merge.
UnmergeThemelifts out only the theme you name; anything folded in alongside it stays merged. Userestore_versionto undo a whole merge.
Publish and undo
| Tool | What it does |
|---|---|
apply_themes |
Promotes the draft to live and starts the re-tag. Requires an explicit confirmation. |
get_apply_status |
Whether the source is still working: applying , discovering or ready . |
reset_draft |
Discards the draft, so later edits start from your live themes again. Does not touch live data and does not start a re-tag. Safe to call when there is no draft. |
restore_version |
Copies one of the stored versions into the draft, overwriting any draft in progress. Live data is untouched and no re-tag starts. Review with diff_draft , then publish. |
restore_version is the real undo: every version you apply is kept, so you can always bring back an earlier structure, review it, and publish it.
Things that can look odd
preview_phrasenumbers are part exact, part sample. The response count is exact for the source you are working on; the sentence counts and examples come from a sample of up to 100 comments, with up to two examples per sentiment. It matches case-insensitively as a substring, so testing "service" also catches "services".get_tagging_statsreads a sample of 200 comments. A sentence carrying three or more themes counts as crowded, and it reports the ten themes appearing most often on crowded sentences.suggest_phrases_for_themereturns at most 25 phrases, and says so when there were more.- Some suggestions take two steps. A suggestion that creates a theme and then targets that same theme cannot be applied in one go, because the new theme's id only exists once it has been created: the theme has to be created first, its id read back, and the rest applied against that id. Such a suggestion arrives with a note saying so.
Troubleshooting
| What you see | What it means | What to do |
|---|---|---|
| Theme Editing is not enabled for the organization | Your organization hasn't allowed theme editing through AI assistants | Ask an administrator to switch on Allow theme editing under Manage workspace > MCP access |
| Theme Editing is enabled, but the user switched it off | Your organization allows it but you haven't turned it on | Ask your assistant to turn on Theme Editing |
| The user does not have permission to change themes | Your role doesn't allow theme editing on that survey or lens | Ask whoever manages your Thematic users for theme editing permissions |
| No organization is selected | The assistant doesn't yet know which organization to work in | Ask the assistant to switch to the organization you want |
| Theme refinement is restarting | The service behind the AI suggestions is restarting | Retry the call |
If a theme tool behaves in a way this article does not explain, ask your assistant to send feedback to Thematic.
Related articles
- Thematic MCP Server: connecting, feature groups and troubleshooting
- Analysis feature group: exploring your feedback from an assistant
- Theme editing best practices: what a good theme taxonomy looks like
Was this article helpful?
Your feedback helps us improve our documentation.