Skip to main content
Glama

guardian_check

Run a layered narrative check on one chapter to detect consistency errors, weak prose, plot gaps, and suspense issues, then save findings to the book's Guardian panel and Story Health.

Instructions

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "bookId": "<bookId>",
      "chapterId": "<chapterId>"
    },
    "name": "guardian_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookIdYesBook ID
layersNoWhich narrative layers to run. Omit for all five.
localeNoLanguage of the prose. Defaults to the account locale.
chapterIdYesChapter ID to check
costBudgetNoInclusive cost ceiling. Default 'local' (free, no model calls). 'api-heavy' spends token quota.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.1

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only say readOnlyHint=false and openWorldHint=true; the description goes much further by disclosing that every run persists findings to the book, that stale notes raised by the detectors that ran are closed in the same step, and that there is no unsaved mode. It also explains auth requirements (key with 'ai' and 'write' scopes), which cost budget reaches which detectors, and that a failed save never discards a run.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is long but front-loaded and information-dense, opening with the action and the layer map before the cost/auth caveats. Some sentences are heavy (the layer-2 local-subset parenthetical and the repeated emphasis on saving), but nothing is genuinely redundant filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, yet the description covers the return surface that matters: findings carry char-offset textPosition into plain text, layer-2 proofreading findings add suggestedFix, and `saved` reports whether rows were written. For a complex, saving, multi-mode tool this is complete enough to call correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it spells out what each of layers 1-5 actually detects and notes that layer 3 returns nothing under `local`. The gap is `costBudget`, where only 'local' and 'api-heavy' are explained while 'api-light' and 'vector' are never described, and `locale` is untouched.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: "Run Creader's Guardian over ONE chapter," and immediately frames it as a configurable 5-layer model rather than a preset check. The capped "ONE chapter" scope implicitly separates it from the article-checking sibling without relying on the name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear operational guidance: omit `layers` to run all five, `local` is the recommended default, and `api-heavy` is for a full pass at the cost of token quota. What's missing is explicit routing to alternatives such as the article sibling or the list/resolve guardian-issue tools, but the usage conditions for its own options are well covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.