unspar_whoami
Show the authenticated team and OAuth connection without exposing secrets.
These are the tools your AI tool can call on Unspar's hosted MCP server. They are grouped by the permission you approve when you connect, and each tool lists its arguments.
Each group below matches a permission group on the approval page that opens when Claude Code or Codex connects (see What do you approve? for a walkthrough of that page). Team identity is always included. Its single tool, unspar_whoami, tells the agent which team and connection it is using, when the connection was last used, and when it expires.
A connection receives the tools for the groups you check, and that list stays fixed. If Unspar adds a new tool later, reconnect your AI tool to get it. When you choose Only these projects, the connection never gets unspar_project_create or the tools for destinations and authoring assets. You can see which tools a connection has on the MCP connections page: open the API tokens screen from Settings and replace /api-tokens at the end of the URL with /mcp-connections.
Arguments ending in _id expect Unspar IDs. Most are 26-character codes like 01JX9Q3M4N5P6R7S8T9V0W1X2Y, while built-in templates and voices use readable IDs like template:builtin:general_guide or voice:builtin:friendly_explainer.
unspar_article_content returns the article as Markdown. Passing html as the format value returns an error.
The hosted server has no publishing tool. Although the app’s tool list at app.unspar.com/llms.txt still mentions unspar_article_publish, no connection can see or call it. To publish from an agent, use the local server or the CLI.
The local server built into the unspar CLI comes with its own set of tools, listed in Local MCP server. Only the local server can publish articles (unspar_article_publish) or approve an article waiting for human review (unspar_article_approve). On the other hand, it does not include price estimates, idea runs, or unspar_article_queue.
A few tools also use different argument names on the two servers, so make sure you match the server you are calling.
| Tool | Hosted server | Local server |
|---|---|---|
unspar_article_create |
project_id, template_id, outlet_id |
project, template, outlet |
unspar_article_list |
project_id, q |
project, search |
Every tool the hosted server can offer. A connection sees only the tools of the permission groups you approved.
Always granted and cannot be unticked. It only lets the client identify the approved team and connection (unspar_whoami) and spends no credits.
unspar_whoamiShow the authenticated team and OAuth connection without exposing secrets.
Lists and reads projects, articles, status, finished text, revisions, artifacts, publish attempts, credits, outlets, templates, image presets, voices and idea runs in the approved projects. Read-only and spends no credits; it needs at least one project in scope.
unspar_project_listList projects visible to the hosted MCP connection.
| Argument | Type | Description |
|---|---|---|
status | active,paused,archived | |
search | string | |
sort | created_at,-created_at,updated_at,-updated_at,name,-name,status,-status | |
page | integer | |
per_page | integer |
unspar_project_showShow one project by opaque project id.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string |
unspar_project_visual_identity_showShow the current look and latest options. Images: set each project's look once with its visual identity (show three options, pick one). New illustrations, or new photos if the look is a photo style, then follow it. Do not describe image styles or colors in briefs.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string |
unspar_credits_balanceShow the team's credit balance.
unspar_credits_transactionsList credit transactions for the authenticated team.
| Argument | Type | Description |
|---|---|---|
type | credit_added,credit_spent,debt,adjustment,other | |
since | string | Second-precision RFC3339 timestamp. |
until | string | Second-precision RFC3339 timestamp. |
sort | created_at,-created_at | |
page | integer | |
per_page | integer |
unspar_article_listList articles in the selected projects. Filter by project_id or status (draft, queued, processing, completed, failed, cancelled). Returns summaries with opaque article ids.
| Argument | Type | Description |
|---|---|---|
project_id | string | |
status | string | |
q | string | |
page | integer | |
per_page | integer |
unspar_article_showShow one article by opaque article id, including its markdown content once generation completed.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string |
unspar_article_statusShow generation and publishing status for an article. Poll this after unspar_article_create until status is completed, failed or cancelled.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string |
unspar_article_publish_attemptsList publish attempt state for one article without provider credentials or remote payloads.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string |
unspar_article_contentReturn the final article text. Use format markdown (default) or html. Only available once generation completed.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string | |
format | markdown,html |
unspar_article_revisionsRevision state of a finished article: whether changes can be requested now (can_request, blocked_reason), what the next round costs (price_credits), and every round so far, newest first, with what changed and what was not done. Poll it after unspar_article_revise until the round is completed or failed, then read the new text with unspar_article_content.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string |
unspar_article_artifactsList generated artifacts for one article.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string | |
kind | string | |
page | integer | |
per_page | integer |
unspar_outlet_listList publishing outlets (WordPress sites, email targets and others) of the team with their opaque ids.
| Argument | Type | Description |
|---|---|---|
q | string | |
page | integer | |
per_page | integer |
unspar_template_listList article templates available to the team with their opaque ids. The brief is the topic. Use the project's default template, or the built-in that fits the format, unchanged. Put site and audience into the project context. If a built-in truly can't do it, duplicate the closest template and change only the fields that need it. Never write a template from scratch.
| Argument | Type | Description |
|---|---|---|
status | active,archived,all | |
q | string | |
page | integer | |
per_page | integer |
unspar_template_compareCompare a saved variant with its recorded source and the current source. Shows variant changes separately from later source changes. Does not change settings or spend credits.
| Argument | Type | Description |
|---|---|---|
template_idrequired | string |
unspar_template_recommendRecommend tested templates for a topic or brief without creating content or spending credits. The project default is preferred when available. Tested means reviewed for its recorded use case. Experimental means it has not passed that review.
| Argument | Type | Description |
|---|---|---|
topic | string | |
brief | string | |
project | string |
unspar_image_preset_listList image presets available to template authoring with their opaque ids and placements.
| Argument | Type | Description |
|---|---|---|
q | string | |
page | integer | |
per_page | integer | |
origin | string |
unspar_voice_listList writing voices available to the team with their opaque ids.
| Argument | Type | Description |
|---|---|---|
q | string | |
page | integer | |
per_page | integer |
unspar_idea_run_listList idea discovery runs for one selected project, newest first. Returns opaque run ids, state, counts, and timestamps.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string | |
page | integer | |
per_page | integer |
unspar_idea_run_showShow one idea discovery run by opaque run id, including public diagnostics and failure state.
| Argument | Type | Description |
|---|---|---|
run_idrequired | string |
unspar_idea_appearance_listList the public idea appearances produced by one idea run, including decision state and article queue status.
| Argument | Type | Description |
|---|---|---|
run_idrequired | string | |
page | integer | |
per_page | integer |
Creating, queuing, retrying and deriving articles, paid revision rounds (the first round per article is free), and starting, expanding, refreshing or queuing idea runs spend credits. Estimates, cancel, unqueue, restoring an earlier version and idea decisions don't.
unspar_article_estimateEstimate the credit reservation for an article brief without creating an article, reserving credits, or spending credits.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string | |
briefrequired | string | |
title | string | |
language | string | |
template_id | string | |
outlet_id | string | |
scheduled_at | string | |
queue | boolean | |
client_reference | string | |
additional_context | string | |
economy | boolean | Economy mode: cheaper models and lighter research. It costs the same credits as a normal article. Off by default. |
voice | string | Writing voice for this article: a built-in voice id such as voice:builtin:friendly_explainer or a team voice id from unspar_voice_list. Omit it to use the template or project default voice. |
fact_check | boolean | Price the optional fact-check add-on: 1 credit (Short text, Article), 3 (In-depth) or 6 (Report), charged only when the check completes. Omit it to follow the template; false turns a template's check off. |
unspar_article_deriveCreate one short post from a completed article using its frozen text only. Spends the normal text price, normally 1 credit. No research, fact-check or media. Humanizer and Simplifier run. The response includes parent_published_url beside the link-free post. Poll the child article until completed.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string | |
formatrequired | linkedin_post,long_linkedin_post,x_post,newsletter_note |
unspar_article_reviseAsk for changes to a completed article that is not approved, scheduled or published. An editor applies the feedback to the existing text and keeps everything else word for word; it does not write a new article and adds no new facts, links or images. Write the feedback like a note to an editor (what to change, where). The first round per article is free; later rounds normally cost 1 credit, charged only when the round succeeds. One round at a time, at most 10 per article. A round takes about a minute: poll unspar_article_revisions. Earlier versions can come back with unspar_article_revision_restore. If a call's result is lost, read unspar_article_revisions before calling again.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string | |
feedbackrequired | string |
unspar_article_revision_restoreBring back the text from before a completed revision round (revision_id from unspar_article_revisions, where can_restore is true). Free and instant. The restore is itself a new entry in the history, so it can be undone the same way. If a call's result is lost, read unspar_article_revisions before calling again.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string | |
revision_idrequired | string |
unspar_article_createCreate an article from a brief in one of the selected projects and start generation (spends credits). Returns the article with its opaque id; poll unspar_article_status until completed, then fetch unspar_article_content. Images: set each project's look once with its visual identity (show three options, pick one). New illustrations, or new photos if the look is a photo style, then follow it. Do not describe image styles or colors in briefs.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string | |
briefrequired | string | Images: set each project's look once with its visual identity (show three options, pick one). New illustrations, or new photos if the look is a photo style, then follow it. Do not describe image styles or colors in briefs. |
title | string | |
language | string | |
template_id | string | |
outlet_id | string | |
scheduled_at | string | |
queue | boolean | |
client_reference | string | |
additional_context | string | |
economy | boolean | Economy mode: cheaper models and lighter research. It costs the same credits as a normal article. Off by default. |
voice | string | Writing voice for this article: a built-in voice id such as voice:builtin:friendly_explainer or a team voice id from unspar_voice_list. Omit it to use the template or project default voice. |
fact_check | boolean | Optional fact-check for this new article: checks the finished text against its research and the web, fixes clear errors with a source and lists claims to check. Adds 1 credit (Short text, Article), 3 (In-depth) or 6 (Report), charged only when the check completes. Omit it to follow the template; false turns a template's check off. |
unspar_article_queueQueue a draft article for generation.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string |
unspar_article_cancelCancel a queued or running article generation.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string |
unspar_article_retryRetry a failed article generation. Spends credits again.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string |
unspar_article_unqueueMove an idea-created queued article back to draft when generation has not started.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string | |
idempotency_key | string |
unspar_idea_run_startStart an idea discovery run for a selected project. Ideas the project already covers (its articles, its site pages, open or dismissed ideas) are left out, and the run reports how many in counts.left_out.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string | |
workflow_typerequired | string | analyze_site, competitor_gaps, research_topic, refresh_content or plan_series. Send only the fields this type uses; a filled field it does not use is rejected with a message naming the field. |
project_url | string | analyze_site only. Defaults to the project website. |
competitor_url | string | competitor_gaps only, required there. |
topic | string | research_topic only, required there. |
focus_area | string | refresh_content only. For research_topic, put the focus into topic or audience. |
series_brief | string | plan_series only, required there. |
series_length | integer | plan_series only. |
audience | string | research_topic and plan_series only. |
idempotency_key | string |
unspar_idea_run_find_moreStart an expansion pass for an ordinary completed idea run.
| Argument | Type | Description |
|---|---|---|
run_idrequired | string | |
idempotency_key | string |
unspar_idea_run_refreshStart a lineage-preserving refresh from an idea run stored input.
| Argument | Type | Description |
|---|---|---|
run_idrequired | string | |
idempotency_key | string |
unspar_idea_decideSet an idea appearance decision to new, shortlisted, or dismissed.
| Argument | Type | Description |
|---|---|---|
appearance_idrequired | string | |
decisionrequired | new,shortlisted,dismissed |
unspar_idea_queueQueue one idea appearance as an article generation draft.
| Argument | Type | Description |
|---|---|---|
appearance_idrequired | string | |
confirm_media_spend | boolean | |
idempotency_key | string |
Creates projects and updates projects in scope, including their context and visual identity. Spends no credits (visual identity options are free, with daily limits); creating projects needs the connection to cover all projects.
unspar_project_createCreate a project for the approved team. context sets the site context (background: two to four plain sentences on who the site is for, its scope and its limits, no writing-style instructions), the form of address and the default length; writing and research both use it, and an article's own context is added to it.
| Argument | Type | Description |
|---|---|---|
namerequired | string | |
description | string | |
url | string | |
status | active,paused,archived | |
timezone | UTC,America/New_York,America/Los_Angeles,Europe/London,Europe/Berlin,Asia/Tokyo | |
language | en-US,en-GB,en-AU,en-CA,de-DE,de-AT,de-CH,es-ES,es-MX,es-AR,fr-FR,fr-CA,fr-BE,fr-CH | |
limit | integer | |
automate | boolean | |
context | object | Project context that every new article uses; omitted keys keep their values. |
unspar_project_updateUpdate fields on one project visible to the hosted MCP connection. context sets the site context (background: two to four plain sentences on who the site is for, its scope and its limits, no writing-style instructions), the form of address and the default length; writing and research both use it, and an article's own context is added to it. Omitted context keys keep their values; null or "" clears background.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string | |
name | string | |
description | string | |
url | string | |
status | active,paused,archived | |
timezone | UTC,America/New_York,America/Los_Angeles,Europe/London,Europe/Berlin,Asia/Tokyo | |
language | en-US,en-GB,en-AU,en-CA,de-DE,de-AT,de-CH,es-ES,es-MX,es-AR,fr-FR,fr-CA,fr-BE,fr-CH | |
limit | integer | |
automate | boolean | |
context | object | Project context that every new article uses; omitted keys keep their values. |
unspar_project_visual_identity_generateShow three free options for a project. Daily limits apply. Images: set each project's look once with its visual identity (show three options, pick one). New illustrations, or new photos if the look is a photo style, then follow it. Do not describe image styles or colors in briefs.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string | |
preset | string | Public image preset id from the image preset list. |
palette | array | |
notes | string |
unspar_project_visual_identity_approveApprove the named round and option, or update only colors and notes without round and candidate. Images: set each project's look once with its visual identity (show three options, pick one). New illustrations, or new photos if the look is a photo style, then follow it. Do not describe image styles or colors in briefs.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string | |
round | string | Exact round public id returned by generate or show. Required with candidate. |
candidate | integer | |
palette | array | |
notes | string |
unspar_project_visual_identity_clearTurn off the look for future images. Images: set each project's look once with its visual identity (show three options, pick one). New illustrations, or new photos if the look is a photo style, then follow it. Do not describe image styles or colors in briefs.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string |
Creates, updates, deletes, detects and tests outlets (publishing destinations) and stores their credentials write-only. Spends no credits and does not publish; these tools only appear when the connection covers all projects.
unspar_outlet_createCreate a publishing destination for the team. Credentials are accepted write-only and are never returned.
| Argument | Type | Description |
|---|---|---|
namerequired | string | |
typerequired | string | |
connection | object | GitHub: owner, repo, branch, directory on github.com. Create-only Markdown files. Use credentials.api_key for a fine-grained token with Contents read/write. Webhook: connection.api_url is a public HTTPS endpoint; credentials.api_key is the signing secret. Sends signed article.publish_requested JSON once, with up to three short delivery tries. |
credentials | object | api_key is the GitHub token or webhook signing secret. Encrypted and write-only. Omit on update to keep the saved credential. |
selection | object | |
defaults | object |
unspar_outlet_updateUpdate a publishing destination. Omitted credentials are preserved; clear_credentials explicitly removes stored secrets.
| Argument | Type | Description |
|---|---|---|
outlet_idrequired | string | |
name | string | |
connection | object | GitHub: owner, repo, branch, directory on github.com. Create-only Markdown files. Use credentials.api_key for a fine-grained token with Contents read/write. Webhook: connection.api_url is a public HTTPS endpoint; credentials.api_key is the signing secret. Sends signed article.publish_requested JSON once, with up to three short delivery tries. |
credentials | object | api_key is the GitHub token or webhook signing secret. Encrypted and write-only. Omit on update to keep the saved credential. |
selection | object | |
defaults | object | |
clear_credentials | object |
unspar_outlet_deleteDelete a publishing destination when it is not referenced by articles or required by Project Auto publishing.
| Argument | Type | Description |
|---|---|---|
outlet_idrequired | string |
unspar_outlet_detectDetect a publishing provider and setup hints from a public URL without saving an outlet.
| Argument | Type | Description |
|---|---|---|
inputrequired | string |
unspar_outlet_testRun and persist a sanitized connection test for a publishing destination.
| Argument | Type | Description |
|---|---|---|
outlet_idrequired | string |
Creates, updates, duplicates and deletes team templates and manages writing voices. Voice extraction and its retry spend credits and can fetch source URLs; the rest is free. These tools only appear when the connection covers all projects.
unspar_template_createCreate a variant with based_on and sparse settings plus a one-line reason. Prefer duplicating an existing template unchanged. Creation without a source requires the team owner to enable the expert setting.
| Argument | Type | Description |
|---|---|---|
namerequired | string | |
description | string | |
language | string | |
mode_scope | string | |
based_on | string | |
reason | string | |
article_depth | string | |
configuration | object |
unspar_template_updateUpdate a team template. Revision is required for configuration changes or rebase_on_source and checked when supplied for other edits. Omitted fields survive; nested maps merge and lists replace, including empty lists. Give a one-line reason when changing source settings. Set rebase_on_source=true to refresh the source snapshot while keeping template values; an unavailable source returns 422. A stale revision returns a conflict; reload and reapply explicitly.
| Argument | Type | Description |
|---|---|---|
template_idrequired | string | |
revision | integer | |
rebase_on_source | boolean | Refresh the source snapshot and recompute overrides, keeping the template values. Requires revision; unavailable sources return 422. |
reason | string | |
status | active,archived | |
name | string | |
description | string | |
language | string | |
mode_scope | string | |
article_depth | string | |
configuration | object |
unspar_template_duplicateDuplicate a built-in or team template into the team library. This is the way to adapt a template: duplicate the closest built-in, then change only the fields the requirement needs and keep its writing instructions.
| Argument | Type | Description |
|---|---|---|
template_idrequired | string |
unspar_template_deleteDelete a team template when it is not referenced by enabled Project Auto settings.
| Argument | Type | Description |
|---|---|---|
template_idrequired | string |
unspar_voice_createCreate a draft writing voice for the team.
| Argument | Type | Description |
|---|---|---|
namerequired | string | |
description | string | |
profilerequired | object | |
briefrequired | string | |
preservation_briefrequired | string |
unspar_voice_updatePartially update a team writing voice. Omitted fields keep their current values.
| Argument | Type | Description |
|---|---|---|
voice_idrequired | string | |
name | string | |
description | string | |
profile | object | |
brief | string | |
preservation_brief | string |
unspar_voice_activateActivate a draft team voice so it becomes selectable.
| Argument | Type | Description |
|---|---|---|
voice_idrequired | string |
unspar_voice_archiveArchive a draft or active team voice and report projects that used it as the default.
| Argument | Type | Description |
|---|---|---|
voice_idrequired | string |
unspar_voice_duplicateDuplicate a team voice or built-in voice into a new draft. Provide exactly one of voice_id or built_in_key.
| Argument | Type | Description |
|---|---|---|
voice_id | string | |
built_in_key | string |
unspar_voice_extractCreate a queued voice extraction attempt from pasted samples and optional discovered source candidate ids. Spends credits.
| Argument | Type | Description |
|---|---|---|
samples | string | |
namerequired | string | |
description | string | |
source_candidate_ids | array | |
idempotency_key | string |
unspar_voice_extraction_statusShow one voice extraction attempt by public attempt id.
| Argument | Type | Description |
|---|---|---|
attempt_idrequired | string |
unspar_voice_extraction_retryRetry a failed or cancelled voice extraction with fresh samples. Spends credits again.
| Argument | Type | Description |
|---|---|---|
attempt_idrequired | string | |
samplesrequired | string | |
name | string | |
description | string | |
idempotency_key | string |
unspar_voice_sources_discoverDiscover reusable voice source candidates from URLs and optional pasted samples.
| Argument | Type | Description |
|---|---|---|
inputs | array | |
pasted_samples | string |
unspar_voice_manage_listList team voices across draft, active, and archived states.
| Argument | Type | Description |
|---|---|---|
q | string | |
status | string | |
sort | string | |
page | integer | |
per_page | integer |
Turns Project Auto on, changes or off, deletes projects and updates or deletes articles. The tools charge nothing themselves, but Project Auto then generates articles on its own schedule, which spends credits.
unspar_project_auto_showShow Project Auto configuration for one project visible to the hosted MCP connection.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string |
unspar_project_auto_setEnable or update Project Auto for one project visible to the hosted MCP connection.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string | |
enabledrequired | boolean | |
daily_article_goal | integer | |
template_reference | string | |
stop_condition | until_turned_off,until_date,after_article_count | |
stop_at | string | |
stop_article_goal | integer | |
confirm_media_spend | boolean |
unspar_project_auto_disableDisable Project Auto for one project visible to the hosted MCP connection.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string |
unspar_project_deleteDelete one project visible to the hosted MCP connection.
| Argument | Type | Description |
|---|---|---|
project_idrequired | string |
unspar_article_updateUpdate the working title, brief, or additional context for a draft or failed article.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string | |
title | string | |
brief | string | |
additional_context | string |
unspar_article_deleteDelete a draft, failed, completed, queued, or cancelled article when no completed-article repair fence is active.
| Argument | Type | Description |
|---|---|---|
article_idrequired | string |
Last updated 25 November 2026. This page as Markdown: tools.md
Create a project, give it a topic and read the article before anything goes live.