Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CREADER_API_KEYYesYour Creader API key (cr_live_...). Required to run the server; the full tool set needs the read, write and ai scopes.
CREADER_API_URLNoCreader API base URL.https://creader.io

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Use get_book_context to load full story context (book + chapters + characters + locations + events) in one call before writing or editing. Books must exist before creating chapters or knowledge entries. Structure: a book is organised volume → act → chapter → scene. list/create/update/delete exist for volumes, acts and scenes; acts carry their volumeId, scenes their chapterId/actId. Acts are NAMED (name), volumes and scenes are TITLED (title). Omit orderIndex to append at the end. delete_volume and delete_act are not row deletes: the server also destroys every chapter underneath — prose included — and those chapters' scenes. Both tools count the casualties first and refuse until you pass that exact number as confirmChapterCount. To keep the prose, move the chapters with update_chapter first. delete_scene takes nothing with it. Use list_chapters to see chapter IDs, then get_chapter to read content. Always get_chapter before update_chapter when writing prose — update_chapter needs the baseContentHash get_chapter returns, and rejects the write as a conflict if the editor changed the chapter meanwhile. delete_chapter is permanent and renumbers later chapters. reorder_chapters takes the COMPLETE list of chapter IDs in the new order. Two different searches, and picking the wrong one is the common mistake: search_book searches the PROSE and returns chapters with snippets — that is the only way to look inside the manuscript; search_knowledge searches entity RECORDS (character/location/event/note names and descriptions) — use its type filter to narrow. Reach for search_book before reading chapters in bulk. search_book has two modes. 'text' is exact substring and exhaustive, so nothing found means nothing is there. 'semantic' is meaning-based and only sees chapters that have been indexed — it returns an empty result rather than an error when they have not been, so never report an empty semantic search as proof the book lacks something. World constraints are notes: noteType 'rule' is a law the AI must obey, 'prohibition' is one it must never break. Creader force-injects both into every AI prompt for the book, unlike ordinary notes, so record hard world laws that way. Their count is capped per subscription tier. Two different things are called style. The FINGERPRINT (get_style) is measured from the author's own prose — sentence lengths, vocabulary diversity, tone, POV, tense — and is the thing to match when drafting or revising; null means not yet computed, never that the author has no voice. The REFERENCES (list_style_references) are passages the author chose as exemplars. Read both before writing prose into a book. There is deliberately no tool that writes the fingerprint: it is a measurement, and inventing one silently steers every later AI call on that book. Knowledge-base proposals are a review queue the writer owns, never a direct write. extract_entity_candidates reads one chapter and fills two queues in one paid call: NEW entities (list_entity_candidates) and facts about entities that already exist (list_entity_facts) — always look at both, since one call pays for both. Accepting a candidate confirms a draft record into a real entity and dismissing deletes it; accepting a fact appends to the fact log and never rewrites the author's card. Either dismissal is permanent: the name or statement is not proposed again. These are the writer's decisions about their own world — triage when they ask or when the prose plainly settles it, not to empty a queue. Deprecation notice: the 12 per-type knowledge CRUD tools (create/update/delete_ × character/location/event/note) will be consolidated into create_entity/update_entity/delete_entity with a type discriminator in v2.0.0. They remain fully functional throughout 1.x — keep using them for now. Use list_relations to see entity-to-entity relationships (e.g. character allies, location containment). AI checks: guardian_check runs the 5-layer narrative Guardian on one chapter — pick layers (1 Consistency, 2 Style & Prose, 3 Analysis, 4 Chapter & Suspense, 5 Plot Structure) and a costBudget; the default 'local' budget is free and makes no model calls, 'api-heavy' spends token quota; every budget needs the 'ai' and 'write' scopes. vector_check finds cross-book semantic conflicts in already-indexed content. Guardian findings persist: every guardian_check run is saved to the book by the server — there is no run that leaves the book untouched — so the author sees it in their Guardian panel and Story Health counts it. Call list_guardian_issues before re-running to see what is already open — including what the author flagged in the editor — and resolve_guardian_issue (addressed by fingerprint) to close one as RESOLVED once the prose is fixed, or DISMISSED if the note was wrong. Dismissal feeds detector confidence, so dismiss deliberately. AI writing aid (spends token quota, needs the 'ai' scope): orchestrate turns an intent into a structured generation plan to guide drafting. Articles are the other kind of writing: standalone essays and posts owned by the writer, not by a book — no chapters, characters or structure, so the book tools do not apply to them. Read and write them like chapters: get_article returns a baseContentHash, update_article needs it and rejects the write as a conflict if the prose changed since that read — checked on the server where Creader's article guard is deployed, and by a re-read just before writing until it is everywhere; on a conflict, get_article again and merge. guardian_check_article always saves its findings to the writer's Guardian panel; list_article_guardian_issues and resolve_article_guardian_issue manage them by issue id. set_article_visibility puts an article in front of the public — only when the writer asks.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_booksC

List all books

get_bookC

Get book details

create_bookC

Create a new book

get_book_contextA

Get full book context in one call: metadata, chapter list, characters, locations, and events. Use this before writing or editing.

list_chaptersA

List chapters in a book (no content)

get_chapterA

Get chapter content. Also returns a baseContentHash — pass it back to update_chapter so a concurrent edit from the editor is reported as a conflict instead of being overwritten.

create_chapterC

Create a new chapter in a book

update_chapterA

Update chapter title or content. Writing content requires a baseContentHash — the one get_chapter returned for the version you edited. It is remembered automatically after get_chapter or create_chapter in this session; pass it explicitly otherwise. If someone else changed the chapter meanwhile, the write is rejected as a conflict rather than overwriting their words.

delete_chapterA

Permanently delete a chapter. Hard delete — the chapter's scenes are deleted with it, and every later chapter in the book is renumbered down by one to close the gap. Only the book owner can delete, and the API key needs the 'delete' scope.

search_bookA

Search the PROSE of a book and get back the chapters that match, each with a snippet and the character offset of the hit. This is the only way to look inside the manuscript — search_knowledge searches entity RECORDS (names, descriptions), so it cannot answer 'where did I first describe the harbour?'. Two modes. 'text' is exact substring, case-insensitive, and works the same for CJK as for English — use it to find a word, name or phrase you know is there. 'semantic' finds passages that mean something similar without sharing wording, and only sees chapters whose embeddings exist. Follow a hit with get_chapter to read the full passage.

reorder_chaptersA

Reorder a book's chapters. Pass the COMPLETE list of the book's chapter IDs in the desired reading order — a partial list is rejected, because the server has no atomic reorder endpoint and a partial write would leave duplicate positions. Only chapters whose position actually changes are written. If a failure interrupts the run, the reply says exactly which chapters moved; re-running with the same list is safe.

list_volumesA

List a book's volumes (top level of the volume → act → chapter → scene hierarchy)

list_actsA

List a book's acts. Each act belongs to a volume (or none) and groups chapters.

list_scenesB

List a book's scenes. Each scene hangs off a chapter and/or act; order is scoped to that parent.

create_volumeA

Create a volume — the top level of the spine, holding acts and chapters. Omit orderIndex to append at the end.

update_volumeA

Update a volume's fields. Only what you pass changes.

delete_volumeA

Delete a volume. THIS ALSO DELETES the chapters inside it and inside its acts, with their prose, and those chapters' scenes — permanently, in one transaction. The tool counts what would die and refuses unless you pass that exact number as confirmChapterCount; an empty volume deletes with no confirmation. To keep the prose, move the chapters elsewhere with update_chapter first.

create_actA

Create an act. Acts are NAMED, not titled. Pass volumeId to put it inside a volume; omit orderIndex to append.

update_actB

Update an act's fields. Pass volumeId:null to detach it from its volume.

delete_actA

Delete an act. THIS ALSO DELETES the chapters inside it, with their prose, and those chapters' scenes — permanently, in one transaction. The tool counts what would die and refuses unless you pass that exact number as confirmChapterCount; an empty act deletes with no confirmation. To keep the prose, move the chapters to another act with update_chapter first.

create_sceneA

Create a scene — a unit of plan inside a chapter and/or act. Link it with chapterId and actId; omit orderIndex to append.

update_sceneC

Update a scene's fields. Pass null to clear a link (chapterId, actId, locationId).

delete_sceneA

Delete a scene. Permanent, but it takes nothing with it — a scene is a plan record, and the chapter's prose is untouched.

get_plan_spineA

Read the whole plan of a book in one call: volumes → acts → chapters → scenes, with each chapter's beats and each volume's subplot threads. This is the book as DESIGNED — use it before adding or moving anything, so a new chapter lands in the right act and a new beat carries the right thread. Structure only: chapter prose is deliberately not included (get_chapter reads a chapter, search_book searches all of them). Chapters written without a place in the hierarchy come back under unassignedChapters rather than being hidden.

list_plot_nodesA

List every beat in a book, flat and ordered by chapter then position — the same beats get_plan_spine nests under their chapters. Use this when you want to scan or search beats across the whole book rather than read the tree.

create_plot_nodeA

Add a beat to a chapter — one thing that happens, in one sentence. Omit order and it appends after the chapter's last beat. threadIds attaches the beat to subplot threads (their ids come from get_plan_spine, per volume); setupId records that this beat PLANTS a foreshadowing setup, so it must be a setup marker and never a payoff.

update_plot_nodeA

Change a beat: its wording, its position, the threads it belongs to, or the chapter it sits in. threadIds REPLACES the beat's thread set rather than adding to it — send the full list, and send [] to detach it from every thread.

delete_plot_nodeA

Delete a beat. Removes the plan entry only — the chapter and its prose are untouched.

reorder_plot_nodesA

Set the position of many beats in one call. Unlike reorder_chapters — which the server has no batch route for, so it walks chapter by chapter and can stop half way — this is a single transaction: every id is checked before anything is written, and one unreachable id rejects the whole batch without moving a beat. Send only the beats whose position changes; ids may span chapters.

create_plan_threadA

Create a subplot thread on a volume — the axis a beat is attached to via create_plot_node's threadIds, and the column a Plan grid renders. Threads are read back through get_plan_spine, nested under their volume. color is a CSS color and is required: the grid uses it as the column accent.

apply_structure_templateA

Lay down a story-structure skeleton — acts and placeholder chapters — in one atomic step, for a book whose plan is still empty. It will not overwrite work: if the spine already has content the template is recorded as a declaration only and nothing is created (the reply says which happened). 'none' declares free-form and creates nothing.

get_styleA

Read the book's writing-style fingerprint: average sentence and paragraph length, vocabulary diversity, sentence-structure mix, tone, point of view, tense, and the author's commonest words. It is MEASURED from their own prose, not declared — so read it before drafting or revising anything, and match it. Null means no fingerprint has been computed yet (a new or barely-written book); that is not a claim that the author has no style.

list_style_referencesA

List the passages the author chose as exemplars of how they want to sound, and whether style learning is switched on for this book. Unlike the fingerprint these are AUTHORED, not measured — treat them as the target voice. styleEnabled false means Creader is not feeding them to its own AI calls; the passages are still what the author picked.

add_style_referencesA

Add passages to the author's voice corpus — prose they want future writing to sound like. Up to 50 per call, 2000 characters each, 500 per book. Add the author's own writing or a sample they chose; do not add your own prose, which would teach the book to sound like a model. Requires the Creator plan.

delete_style_referenceA

Remove one passage from the author's voice corpus. Deletes the exemplar only — no prose in the book is touched.

set_style_learningA

Switch on or off whether Creader feeds this book's style references into its own AI calls. Off leaves the references in place and stops them steering generation. This is the author's setting about their own voice — flip it when they ask, not because it would make a task easier. Requires the Creator plan.

extract_entity_candidatesA

Read a chapter and propose knowledge-base work from its prose: entities the chapter mentions that the book does not have yet, and — for a long enough chapter on a plan with Entity Check — new facts about entities it already has. Nothing is confirmed. Everything lands in a review queue for the writer, which you can read with list_entity_candidates and list_entity_facts and act on with the triage tools. Spends the owner's token quota (both legs) and needs an API key with the 'ai' scope. The reply lists everything currently pending on the book, not only what this run found.

list_entity_candidatesA

List the NEW entities extraction has proposed and the writer has not yet decided on. Free — this only reads the queue. Each carries the id that triage_entity_candidate takes.

triage_entity_candidateA

Decide on one proposed entity. ACCEPTED confirms the draft record extraction already prepared, so it becomes a real character/location/event in the book. DISMISSED deletes that draft. Both are permanent in one respect: the name is never proposed again either way. This is the writer's call about their own world — decide when they asked you to, or when the prose plainly settles it, not to empty the queue.

list_entity_factsA

List proposed facts about entities the book ALREADY has — the other half of what extraction produces, ordered by the chapter that established each one. Free. Pass status to see what was accepted or dismissed earlier; the default is the pending queue.

triage_entity_factA

Decide on one proposed fact. ACCEPTED adds it to the fact log the AI context reads; it does NOT rewrite the entity's card, so nothing the writer typed is touched. DISMISSED keeps the row so the same statement is never proposed again. As with candidates, this is the writer's judgement about their own world.

search_knowledgeA

Search a book's knowledge base (characters, locations, timeline events, notes) by substring. Case-insensitive and character-agnostic, so CJK works the same as English. Queries shorter than 2 characters are rejected by the server.

list_knowledgeC

List characters, locations, or events in a book

create_characterC

[DEPRECATED — v2.0.0 will replace this with create_entity(type: "character"); it still works today] Create a character

create_locationC

[DEPRECATED — v2.0.0 will replace this with create_entity(type: "location"); it still works today] Create a location

create_eventC

[DEPRECATED — v2.0.0 will replace this with create_entity(type: "event"); it still works today] Create a timeline event

create_noteC

[DEPRECATED — v2.0.0 will replace this with create_entity(type: "note"); it still works today] Create a note

update_characterC

[DEPRECATED — v2.0.0 will replace this with update_entity(type: "character"); it still works today] Update a character

update_locationB

[DEPRECATED — v2.0.0 will replace this with update_entity(type: "location"); it still works today] Update a location

update_eventC

[DEPRECATED — v2.0.0 will replace this with update_entity(type: "event"); it still works today] Update a timeline event

update_noteC

[DEPRECATED — v2.0.0 will replace this with update_entity(type: "note"); it still works today] Update a note

delete_characterC

[DEPRECATED — v2.0.0 will replace this with delete_entity(type: "character"); it still works today] Delete a character

delete_locationA

[DEPRECATED — v2.0.0 will replace this with delete_entity(type: "location"); it still works today] Delete a location

delete_eventB

[DEPRECATED — v2.0.0 will replace this with delete_entity(type: "event"); it still works today] Delete a timeline event

delete_noteB

[DEPRECATED — v2.0.0 will replace this with delete_entity(type: "note"); it still works today] Delete a note

list_relationsC

List semantic relations (entity-to-entity relationships) in a book

create_relationC

Create a semantic relation between two entities

update_relationD

Update a semantic relation

delete_relationC

Delete a semantic relation

generate_outlineB

Generate a story outline based on a premise. Returns structured chapter suggestions.

guardian_checkA

Run Creader's Guardian over ONE chapter. Guardian is a 5-layer narrative model; pick layers and a cost budget rather than a preset check. Layers: 1=Consistency (dead characters, name typos, timeline/entity contradictions), 2=Style & Prose (cliche, weak verbs, dialogue tags, POV leak, proofreading), 3=Analysis (character arcs, causal chains, literary quality), 4=Chapter & Suspense (opening quality, suspense, thread coverage, cliffhangers), 5=Plot Structure (three-act shape, inciting incident, midpoint, foreshadowing). Omit layers to run all five. costBudget is an inclusive ceiling on detector cost and defaults to 'local': 'local' makes NO model calls, spends no token quota, and is the right default — but it only reaches the rule-based detectors, so layer 3 returns nothing under it and layers 1/2/4/5 return only their local subset (this includes cliche and repetition, but NOT proofreading or POV leak, which are model detectors). Use 'api-heavy' for a full pass: it spends the owner's token quota. Every run, 'local' included, needs an API key with both the 'ai' and 'write' scopes: the server saves what a run finds, so it refuses a key that cannot write. Findings carry char-offset textPosition into the chapter's plain text; layer-2 proofreading findings also carry suggestedFix. Every run's findings are SAVED to the book by the server, which is what makes them appear in the author's Guardian panel and count toward Story Health; open notes on the chapter that the detectors which ran no longer raise are closed in the same step. There is no way to run without saving. saved in the result reports whether the server wrote the rows, and a run is never discarded because its save failed.

vector_checkA

Run vector-based conflict detection across a book. Finds near-duplicate content and timeline inconsistencies between events using embeddings. Does not require chapter input — operates on already-indexed content.

list_guardian_issuesA

List the Guardian issues currently OPEN on a book — the same notes the author sees in the Guardian panel. These persist across runs and across clients, so this is how you find out what a previous check (yours or the author's own) already flagged before spending quota on another pass. Each issue carries a fingerprint; pass that to resolve_guardian_issue.

resolve_guardian_issueA

Close a Guardian issue, or reopen one. RESOLVED means the prose was fixed; DISMISSED means the note was wrong, and also feeds detector confidence so the same false positive is less likely next time — so dismiss deliberately, not to tidy up. Addressed by fingerprint (from list_guardian_issues or a guardian_check run), because that is the key that survives a re-run. Only the issue's own author may transition it.

orchestrateA

Turn a writing intent into a structured generation plan: a 2–6 scene breakdown (purpose, required entities, emotional beat), consistency constraints, style directives, a word target, and a creative prompt. This is the planning half of Creader's two-stage generation — use the plan to structure your own drafting, then write the prose with update_chapter. Pass bookId to ground the plan in the book's characters and locations. Spends AI token quota and needs an API key with the 'ai' scope.

get_writing_statsA

Get the writing streak, today's and this week's word progress against the account's goals, and the total number of days written. Account-wide, not per book.

get_quotaA

Check remaining AI token quota

set_visibilityA

Publish or unpublish a whole book by setting its visibility (PRIVATE, LINK_ONLY, PUBLIC). Every chapter follows the book and any per-chapter visibility is overwritten: PUBLIC or LINK_ONLY gives every chapter — drafts included — that visibility and stamps it published now; PRIVATE hides every chapter. Volumes are clamped down on a downgrade (PRIVATE hides them all, LINK_ONLY turns PUBLIC volumes LINK_ONLY) but never raised. A non-PRIVATE visibility also sets the book's first-published date (kept from then on) and switches on the author's public page if it was off. Only the book owner can do this, and the API key needs the 'publish' scope, which keys are not given by default.

list_articlesA

List the writer's articles — standalone essays and posts, separate from books. Newest edit first, no content. Archived articles are hidden unless you ask for them.

get_articleA

Read an article's full content (HTML). Also returns a baseContentHash — pass it back to update_article so a concurrent edit from the editor is reported as a conflict instead of being overwritten.

create_articleA

Create a new article — a standalone piece owned by the writer, not part of any book. It starts PRIVATE.

update_articleA

Update an article's title, content, or status ('archived' takes it off the shelf without deleting it; 'active' brings it back). Writing content requires a baseContentHash — the one get_article returned for the version you edited. It is remembered automatically after get_article or create_article in this session; pass it explicitly otherwise. If someone else changed the prose since your version, the write is rejected as a conflict rather than overwriting their words. Creader checks this on the server where its article guard is deployed, which closes the race; until it is everywhere, this tool also re-reads the article just before writing, and on a deployment without the guard an edit that lands in the instant between that re-read and the write can still be overwritten. Owner only.

delete_articleA

Permanently delete an article. Hard delete with no trash: its notes, Guardian issues, comments and comment invitations go with it, and a published article's public page disappears. To put an article away without losing it, use update_article with status 'archived' instead. Owner only; the API key needs the 'delete' scope.

set_article_visibilityA

Publish an article, change how it is shared, or take it down: PUBLIC (anyone can find it), LINK_ONLY (anyone with the link), PRIVATE (only the writer — unpublishes). This changes what the outside world can see, so do it when the writer asks, not as a step in a writing task. Making an article non-private also switches on the writer's public profile page if it was off, stamps publishedAt the first time, and derives a slug from the title if the article has none. Pass slug to choose one (3–60 characters: lowercase letters, digits, hyphens; unique among the writer's articles). allowSeoIndexing is separate consent for search engines; omit it to leave it unchanged. Needs the 'publish' API-key scope.

guardian_check_articleA

Run Creader's Guardian over one article. On an article Guardian reads an essay or post, not fiction — claim consistency, prose hygiene, argument craft, the reflective arc, sourcing — so it does not run every detector it runs on a chapter, and a requested layer with nothing to run comes back in deferredLayers rather than as a clean result. Layers: 1=Consistency, 2=Style & Prose, 3=Analysis, 4=Chapter & Suspense, 5=Structure. Omit layers to run all five. costBudget is an inclusive ceiling on detector cost and defaults to 'local': no model calls and no token quota, but only the rule-based detectors run. 'api-heavy' is the full pass; it spends the owner's token quota and needs the 'ai' scope. Findings carry char-offset textPosition into the article's plain text. Unlike guardian_check, there is no look-only mode: Creader saves every article run's findings to the writer's Guardian panel, so the run needs the 'write' scope. Owner only. Use list_article_guardian_issues for the saved rows and their ids.

list_article_guardian_issuesA

List the Guardian issues currently OPEN on an article — the same notes the writer sees in its Guardian panel, whichever run produced them. Check this before spending quota on another guardian_check_article. Pass includeAccepted to also see ACCEPTED issues: ones the writer agreed with and still means to fix. Each issue's id is what resolve_article_guardian_issue takes.

resolve_article_guardian_issueA

Close a Guardian issue on an article, or reopen one. RESOLVED means the prose was fixed; DISMISSED means the note was wrong, and also feeds detector confidence so the same false positive is less likely next time — so dismiss deliberately, not to tidy up. Takes the issue id from list_article_guardian_issues: article issues are addressed by id, unlike book issues, which resolve_guardian_issue takes by fingerprint. Owner only.

list_article_notesA

List the notes kept on an article — research, sources, reminders the writer keeps beside the piece. Owner only.

create_article_noteA

Add a note to an article — research, a source, a reminder to keep beside the piece. Change or remove it afterwards with update_note / delete_note, which take the note id and work on article notes too. Owner only.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.8/5.0

Scored across 79 tools

Disambiguation2/5

Many tools overlap heavily: guardian_check vs guardian_check_article, resolve_guardian_issue (by fingerprint) vs resolve_article_guardian_issue (by id), set_visibility vs set_article_visibility, and the four deprecated create_character/create_location/create_event/create_note tools that will become one create_entity. create_note (book knowledge) vs create_article_note, and list_knowledge vs search_knowledge also require careful reading to distinguish. Descriptions do help, but an agent must parse long prose to choose correctly.

Naming Consistency3/5

Most tools follow verb_noun (list_books, create_chapter, delete_scene), but there are notable deviations: guardian_check, vector_check, get_plan_spine, apply_structure_template, orchestrate, and extract_entity_candidates mix noun_verb or non-standard verb forms. The pattern is readable but not uniform.

Tool Count2/5

79 tools is far above a comfortable range for a single server, and 13 of them are explicitly deprecated duplicates that inflate the surface. The domain is genuinely large (books, structure, plot, style, knowledge, guardian, articles, publishing), but the set would be much more manageable after the announced v2.0.0 entity consolidation and removal of deprecated tools.

Completeness3/5

Coverage of books, chapters, volumes/acts/scenes, plot beats, style, knowledge extraction, relations, Guardian, and articles is extensive. However, there are notable gaps: no update_book or delete_book, no get_volume/get_act/get_scene reads (only list), and no book-note listing equivalent to list_article_notes. Agents can work around some of these via get_book_context and get_plan_spine, but lifecycle coverage for books is incomplete.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues