Tools reference

Every stos_* MCP tool the plugin exposes. Each one wraps a /api/v1/* endpoint so the two transports share one implementation.

How to read this

Tools come in five common shapes: _list, _get, _create, _update, _delete. Updates are PATCH semantics — pass only the fields you want changed. Resources that have extra workflow (timers, set-active, send, complete) get bespoke additional tools listed in the right group.

_list tools return a light projection of the first 50 rows by default. Pass fields:"full" for every column (or use _get for one full record), limit/offset (or limit:"all") to page, and count:true for a bare { count } with no rows. For account-wide orientation, prefer stos_account_manifest / stos_email_overview / stos_sales_overview over many separate _list calls.

Every scoped tool accepts an optional penNameId argument. Pass it on every call in a multi-step flow — it doesn't carry across automatically. Without one, calls target your active / primary pen name.

Discovery & scope

Always call these first when the user mentions a specific pen name — the penNameId argument is required on every scoped tool downstream.

ToolDescription
stos_account_manifestOne-call orientation: the whole pen-name → series → title catalog with chapter/scene + worldbuilding counts, light projection. Call this instead of stos_pen_names_list + stos_series_list + stos_titles_list. depth: pen_names|series|titles|full.
stos_pen_names_listList every pen name. Returns its StorytellerOS id, name, genres, tagline, and heat level.
stos_pen_names_getFull pen-name record including guides, persona, prose sample, and links. Read before drafting prose.
stos_pen_names_updateUpdate guides, persona, tagline, and genres. Relevant changes synchronize with Social Studio automatically.

Social Studio

Connected accounts, publishing, scheduling, delivery status, campaign drafts, and recurring queues. Every operation can be scoped to a pen name.

ToolDescription
stos_social_accounts_listList connected social destinations.
stos_social_posts_listList posts by status, platform, or date range.
stos_social_posts_getGet one post and its destination configuration.
stos_social_posts_createCreate an immediate, scheduled, draft, or queued post with platform preflight.
stos_social_posts_updateUpdate copy, media, destinations, or schedule.
stos_social_posts_archiveArchive a post without hard deletion.
stos_social_posts_retryRetry a failed post.
stos_social_posts_unpublishUnpublish a supported destination post.
stos_social_posts_logsRead destination delivery logs.
stos_social_campaigns_listList Social Studio campaigns.
stos_social_campaigns_getGet a campaign and its planned posts.
stos_social_campaign_drafts_listList campaign drafts awaiting review.
stos_social_queues_listList recurring publishing queues.
stos_social_queues_createCreate a timezone-aware recurring queue.
stos_social_queues_updateUpdate queue slots, destinations, status, or persona.
stos_social_queues_deleteDelete a recurring queue.
stos_social_queues_nextGet the next available queue slot.

Ads Studio

Cross-network campaign planning, creation, analytics, attribution, audiences, conversion events, AI creative work, and Amazon Sponsored Products. Spend-impacting tools require review and create paused by default.

ToolDescription
stos_ads_accounts_listList connected ad destinations and accounts.
stos_ads_campaigns_unifiedCompare normalized campaign performance across destinations.
stos_ads_createCreate an idempotent reviewed campaign plan, paused by default.
stos_ads_updateUpdate an ad with a stable idempotency key.
stos_ads_campaign_status_updatePause or activate a campaign after explicit confirmation.
stos_ads_analyticsGet daily and audience-breakdown analytics for one ad.
stos_ads_recommendationsAnalyze results and return review-only suggested actions.
stos_ads_optimizeScore campaigns deterministically without changing delivery.
stos_ads_lead_forms_listList destination-native instant lead forms.
stos_ads_lead_forms_createCreate a reviewed instant lead form.
stos_ads_title_mapping_setMap a campaign to its canonical StorytellerOS title.
stos_ads_audiences_listList reusable destination audiences.
stos_ads_targeting_searchSearch valid interests, behaviors, and locations.
stos_ads_conversion_sendSend a confirmed server-side conversion event.
stos_ads_creative_draftDraft a campaign grounded in title and pen-name data.
stos_ads_creative_copyGenerate grounded hooks and ad copy.
stos_ads_creative_images_generateGenerate ad images into the shared creative asset feed.
stos_ads_creative_assets_listList generated creative assets.
stos_ads_amazon_createCreate an idempotent Amazon Sponsored Products campaign, always paused.
stos_ads_amazon_campaignsList Amazon campaign performance.
stos_ads_amazon_profitabilityCompare Amazon-attributed sales, royalties, spend, ACOS, and ROAS.
stos_ads_amazon_syncRequest fresh Amazon Ads reports.

Writing Studio

Titles, chapters, scenes, and multi-revision manuscript files. The DB column is still books for legacy reasons; the API and tools say "title".

ToolDescription
stos_titles_listList titles. Filter by seriesId, status.
stos_titles_getFull title record + retailer listings.
stos_titles_createCreate a title. Required: title (string).
stos_titles_updatePATCH semantics — only the fields you pass.
stos_titles_deleteDelete a title and its cascaded children.
stos_chapters_listList chapters. Filter by bookId.
stos_chapters_getFull chapter record.
stos_chapters_createCreate a chapter under a title.
stos_chapters_updateUpdate chapter title, content path, status.
stos_chapters_deleteDelete a chapter.
stos_scenes_listList scenes. Filter by bookId / chapterId.
stos_scenes_getFull scene record.
stos_scenes_createCreate a scene under a chapter.
stos_scenes_updateUpdate scene fields.
stos_scenes_deleteDelete a scene.
stos_title_manuscripts_listList manuscript file revisions for a title.
stos_title_manuscripts_createRegister an already-uploaded manuscript as a new revision (caller uploads via the dashboard or presigned URL).
stos_title_manuscripts_updateRename or annotate a revision.
stos_title_manuscripts_deleteRemove the revision record. The underlying storage file is preserved for recovery.
stos_title_manuscripts_set_activeMark a revision as active for its title (mirrors storage_path onto books.word_doc_storage_path).

Knowledge Studio

The story bible — characters, locations, lore, story-timeline events, notes, and personal documents. Plus the worldbuilding-links dispatcher for junction tables.

ToolDescription
stos_characters_listList characters. Filter by seriesId.
stos_characters_getFull character record.
stos_characters_createCreate a character. Required: character_name. All depth fields (core_desire, core_fear, character_arc, etc.) writable.
stos_characters_updatePatch any writable column.
stos_characters_deleteDelete a character.
stos_locations_listList locations.
stos_locations_getFull location record.
stos_locations_createCreate a location. Required: location_name. Fields include description, type, key_features, climate, coordinates, map_image_url.
stos_locations_updatePatch any writable column.
stos_locations_deleteDelete a location.
stos_lore_listList lore entries.
stos_lore_getFull lore record.
stos_lore_createCreate a lore entry. Required: lore_name. Fields: type, rules_and_mechanics, examples_and_usage, origin_and_history, contradictions_check, tags.
stos_lore_updatePatch any writable column.
stos_lore_deleteDelete a lore entry.
stos_events_listList story-timeline events (NOT user-calendar — see calendar tools).
stos_events_getFull story-event record.
stos_events_createCreate a story-timeline event. event_date is free text (in-universe dates may not match real calendars).
stos_events_updatePatch any writable column.
stos_events_deleteDelete a story event.
stos_notes_listList chapter sticky notes.
stos_notes_getFull note record.
stos_notes_createCreate a note scoped to a chapter.
stos_notes_updateEdit a note.
stos_notes_deleteDelete a note.
stos_personal_documents_listList user personal documents.
stos_personal_documents_getFull document record.
stos_personal_documents_createCreate a personal document.
stos_personal_documents_updateUpdate a document.
stos_personal_documents_deleteDelete a document.
stos_worldbuilding_linkCreate one association between a writing-studio entity (title/chapter/scene/series/event/lore) and a knowledge-studio entity (character/location/event/lore). Single-pair only — never batched.
stos_worldbuilding_unlinkRemove an association. Same body shape as _link.

Series

Multi-book series grouping. Owns its own worldbuilding (themes, framework, supernatural mechanics).

ToolDescription
stos_series_listList series. Filter by penNameId.
stos_series_getFull series record.
stos_series_createCreate a series. Required: series_name.
stos_series_updatePatch any writable column.
stos_series_deleteDelete a series.

Media Studio

Generate media and organize the shared StorytellerOS library. Character portraits can be used directly as generation references.

ToolDescription
stos_media_generateGenerate images, video, or audio. Pollinations is the default; pass up to three referenceUrls.
stos_media_generation_statusPoll active generation jobs and allowance status.
stos_media_assets_listList shared assets with kind, source, folder, tag, search, and pen-name filters.
stos_media_assets_updateReplace tags, move folders, or update accessible alt text.
stos_media_assets_deleteDelete an asset and propagate deletion to its linked mirror.
stos_media_folders_listList account-wide and pen-name media folders.
stos_media_folders_createCreate a root or nested media folder.
stos_media_folders_deleteDelete a folder while retaining its assets as unfiled.
stos_media_character_references_listList character portraits with fresh signed URLs for referenceUrls.

Tasks

Multi-pen-name task list. Filter by status, priority, scope.

ToolDescription
stos_tasks_listList tasks. Filter by status, bookId, seriesId, item_type.
stos_tasks_getFull task record.
stos_tasks_createCreate a task. Required: task_name. Priority: high|medium|low. Status: to-do|in-progress|completed.
stos_tasks_updatePatch any writable column.
stos_tasks_deleteDelete a task.
stos_tasks_completeSugar — PATCH with status=completed.

Calendar (user)

Real-world calendar events — release dates, signings, deadlines. Separate from story-timeline events.

ToolDescription
stos_calendars_listList user calendars.
stos_calendars_createCreate a calendar.
stos_calendars_updatePatch any writable column.
stos_calendars_deleteDelete a calendar.
stos_calendar_events_listList calendar events. Filter by calendarId, from, to (ISO dates).
stos_calendar_events_getFull calendar event.
stos_calendar_events_createCreate an event on a calendar.
stos_calendar_events_updatePatch any writable column.
stos_calendar_events_deleteDelete an event.

Time tracking

Timed work blocks, writing sessions, writing goals, pomodoro settings.

ToolDescription
stos_time_tracking_listList time-tracking entries.
stos_time_tracking_getFull entry.
stos_time_tracking_createCreate an entry directly (e.g. retroactive logging).
stos_time_tracking_updatePatch any writable column.
stos_time_tracking_deleteDelete an entry.
stos_time_tracking_startStart a timer now. Provide one or more of penNameId / bookId / chapterId for attribution.
stos_time_tracking_stopStop an active timer (sets ended_at = now).
stos_writing_sessions_listList writing sessions.
stos_writing_sessions_createCreate a writing session.
stos_writing_sessions_updateUpdate a session.
stos_writing_sessions_deleteDelete a session.
stos_writing_goals_listList writing goals.
stos_writing_goals_createCreate a writing goal.
stos_writing_goals_updateUpdate a goal.
stos_writing_goals_deleteDelete a goal.
stos_pomodoro_settings_getGet pomodoro defaults.
stos_pomodoro_settings_updateUpdate pomodoro defaults.

Finance

Vendors + income/expense transactions + summaries. Strips developer jargon from user-facing surfaces.

ToolDescription
stos_vendors_listList vendors.
stos_vendors_getFull vendor record.
stos_vendors_createCreate a vendor. Required: vendorName. Fields: type, email, phone, website, address, notes.
stos_vendors_updatePatch any writable column.
stos_vendors_deleteDelete a vendor.
stos_finance_transactions_listList income/expense transactions. Filter by transactionType, bookId, seriesId, vendorId.
stos_finance_transactions_getFull transaction.
stos_finance_transactions_createCreate a transaction. Required: transactionName, transactionType (income|expense), amount, transactionDate, category.
stos_finance_transactions_updatePatch any writable column.
stos_finance_transactions_deleteDelete a transaction.
stos_finance_summaryAggregated totals over a date range — income, expense, net, plus per-group breakdowns. Range: month|quarter|ytd|year|all. groupBy: category|book|vendor|pen_name|type.

Sales Studio

Retailers, retailer links, title variations, marketing assets, products, reviews.

ToolDescription
stos_retailers_listList retailers (Amazon, Kobo, Apple Books, etc.).
stos_retailers_getFull retailer record.
stos_retailers_createAdd a new retailer.
stos_retailers_updateUpdate a retailer.
stos_retailers_deleteDelete a retailer.
stos_retailer_links_listList retailer links. Filter by titleVariationId, retailerId.
stos_retailer_links_createCreate a link tying a variation to a retailer.
stos_retailer_links_updateUpdate sales metadata / URL.
stos_retailer_links_deleteDelete a retailer link.
stos_title_variations_listList variations (ebook / paperback / audiobook / etc.). Filter by titleId.
stos_title_variations_createCreate a variation under a title.
stos_title_variations_updateUpdate ASIN/ISBN/blurb/cover URLs.
stos_title_variations_deleteDelete a variation.
stos_title_marketing_assets_listList marketing assets. Filter by titleId.
stos_title_marketing_assets_createCreate a marketing asset.
stos_title_marketing_assets_updateUpdate content / file URLs.
stos_title_marketing_assets_deleteDelete an asset.
stos_products_listList storefront products.
stos_products_getFull product record.
stos_products_createCreate a product.
stos_products_updateUpdate a product.
stos_products_deleteDelete a product.
stos_reviews_listList reviews.
stos_reviews_getFull review record.
stos_reviews_createLog a review.
stos_reviews_updateUpdate a review.
stos_reviews_deleteDelete a review.
stos_sales_overviewOne-call sales orientation: variation counts (by status), retailer + retailer-link counts, review total + average rating, and an income/expense/net rollup. Cheap (counts, no rows). penNameId scopes the finance rollup.

Email Studio (NOT social)

CRM, website tracking, forms, email design, SMTP senders, campaigns, automations, suppressions, and engagement reporting. Social work uses the stos_social_* tools.

ToolDescription
stos_email_overviewOne-call email orientation: contact total, list/tag counts, and automation/campaign/signup-form totals with per-status breakdowns. Cheap (counts, no rows). penNameId scopes the pen-name-aware tables; contacts are account-wide.
stos_email_contacts_listList subscribers.
stos_email_contacts_createAdd a subscriber.
stos_email_contacts_updateUpdate a subscriber.
stos_email_contacts_deleteRemove a subscriber.
stos_email_contacts_importBulk import contacts with list/tag names.
stos_email_contacts_bulk_membershipsBulk add/remove contacts from lists or tags.
stos_email_contacts_find_duplicatesFind duplicate email records in an audience.
stos_email_contacts_profileComplete customer profile, engagement stats, and email/website timeline.
stos_email_contacts_mergeMerge a duplicate into a primary contact.
stos_crm_contacts_searchSearch, filter, sort, and page the complete pen-name CRM table.
stos_crm_field_definitions_listList typed CRM custom fields.
stos_crm_field_definitions_createCreate a typed CRM custom field.
stos_crm_contact_views_listList saved contact table views.
stos_crm_contact_views_createSave a filtered/sorted contact view.
stos_crm_segments_listList dynamic CRM segments.
stos_crm_segments_previewPreview a segment and its matching count.
stos_email_lists_listList email lists.
stos_email_lists_createCreate a list.
stos_email_lists_updateUpdate a list.
stos_email_lists_deleteDelete a list.
stos_email_tags_listList email tags.
stos_email_tags_createCreate a tag.
stos_email_tags_updateUpdate a tag.
stos_email_tags_deleteDelete a tag.
stos_email_campaigns_listList email campaigns.
stos_email_campaigns_getFull campaign record.
stos_email_campaigns_createCreate a campaign draft.
stos_email_campaigns_updateUpdate a campaign.
stos_email_campaigns_deleteDelete a campaign.
stos_email_campaigns_sendSend a test, schedule delivery, or start a live SMTP broadcast.
stos_email_campaigns_preflightValidate sender, audience, content, links, accessibility, test-send evidence, and managed cost.
stos_email_campaigns_analyticsCampaign opens, clicks, bounces, complaints, and unsubscribes.
stos_email_campaigns_delivery_reportRecipient-level delivery, engagement, retries, and failures.
stos_email_template_catalogBrowse built-in and genre-specific email templates.
stos_email_design_defaults_getGet reusable campaign typography, color, and spacing defaults.
stos_email_design_defaults_saveSave reusable campaign design defaults.
stos_email_templates_user_listList saved templates and reusable sections.
stos_email_signup_forms_listList hosted, embedded, and popup signup forms.
stos_email_signup_forms_analyticsForm conversions, sources, confirmations, and A/B results.
stos_email_automations_listList drip, welcome, date, tag, list, form, and manual automations.
stos_email_automations_enrollBulk enroll contacts in an automation.
stos_email_senders_listList safe per-pen-name SMTP settings and provider presets.
stos_email_senders_saveSave encrypted SMTP credentials for one pen name.
stos_email_senders_testSend a real SMTP test and mark the sender verified.
stos_managed_email_domains_listList managed-domain status and StorytellerOS-branded DNS records.
stos_managed_email_domains_requestRequest manual managed-domain provisioning ($3 per 10,000 emails).
stos_email_suppressions_listList unsubscribe, bounce, complaint, manual, and provider suppressions.
stos_email_suppressions_createManually suppress an address.
stos_email_suppressions_reactivateExplicitly reactivate a suppressed address.
stos_website_tracking_sites_listList tracking sites and visitor/page/event summaries.
stos_website_tracking_sites_createRegister a consent-aware first-party tracking site.
stos_website_tracking_activityInspect identified visitors, page views, and custom events.

Settings & utilities

Profile, AI provider configuration, Cowork connector listing, notifications.

ToolDescription
stos_settings_profile_getGet profile settings.
stos_settings_api_keys_getList StorytellerOS API access-key metadata. Never returns plaintext secrets or key hashes.
stos_settings_ai_providers_getGet AI provider connection flags and text/media defaults without returning plaintext keys.
stos_settings_ai_providers_updateConfigure the shared Pollinations account, AI enablement, and text/media defaults.
stos_oauth_clients_listList the caller's Claude Cowork connector credential pairs (id, name, last_used_at, active flag). Plaintext secret never returned.
stos_notifications_listList in-app notifications.
stos_notifications_mark_readMark a notification as read.