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 penNameIdargument. 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 id, name, genres, tagline, heat_level, and (when synced) the aaProfileId used for the social hand-off.
stos_pen_names_getFull pen-name record — guides, persona, prose_sample, links, AA-sync state. Read before drafting prose.
stos_pen_names_updateUpdate guides / persona / tagline / genres. Changes to name or detailed_bio fan out to Author Automations automatically.

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.

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.

Marketing Studio (NOT social)

Email + articles + FAQs + webinars. Social work routes through the Author Automations plugin instead.

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_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_sendTrigger send/schedule. Currently returns 503 while the platform-side send engine is still in stub status.

Settings & utilities

Profile, AI provider keys (presence flags only), Cowork connector listing, notifications.

ToolDescription
stos_settings_profile_getGet profile settings.
stos_settings_api_keys_getGet presence flags for AI provider keys (anthropic/openai/gemini/freepik/social). Never returns plaintext.
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.