writing-tools
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WRITING_TOOLS_RULES | No | Rule ids to turn on among those off by default. | |
| WRITING_TOOLS_TOOLS | No | Single tools to add by ID, whatever their toolset. | |
| WRITING_TOOLS_QUOTES | No | 「」 or quotation marks around Japanese text. Values: `document`, `corner`, `double`. | |
| WRITING_TOOLS_CONFIRM | No | MCP server only: `harness` (default) or `elicitation`, as the conventions say. | |
| WRITING_TOOLS_LANGUAGE | No | Native plugins only: the approval prompt's language, such as `ja`. | |
| WRITING_TOOLS_NO_CHAIN | No | Case-marking の in a row past which a chain is reported, 2–10; unset, the genre's. | |
| WRITING_TOOLS_REGISTER | No | Sentence endings: です・ます or だ・である. Values: `document`, `polite`, `plain`. | |
| WRITING_TOOLS_TOOLSETS | No | The toolsets that are on, or `all`; default those `src/project.ts` names. Comma-separated in a flag or a variable. | |
| WRITING_TOOLS_GRANT_KEY | No | A variable only, never a flag or a plugin option. Use at least 32 characters, for example from `openssl rand -hex 32`, stored where the host keeps secrets. Without it no write runs while unattended and no grant can be created. | |
| WRITING_TOOLS_KANJI_RUN | No | Kanji in a row past which a run is reported, 4–20; unset, the genre's. | |
| WRITING_TOOLS_READ_ONLY | No | Registers no tool that writes; wins over every other setting. | |
| WRITING_TOOLS_STATE_DIR | No | Where the engine's venv is kept; default `$XDG_STATE_HOME/writing-tools`, else `~/.local/state/writing-tools`. | |
| WRITING_TOOLS_COUNTER_KA | No | か, ヶ or カ in counters such as 3か月. Values: `document`, `hiragana`, `small_ke`, `katakana`. | |
| WRITING_TOOLS_GRANTS_DIR | No | Where grants and their use are kept; default `$XDG_STATE_HOME/writing-tools/grants`, else `~/.local/state/writing-tools/grants`. | |
| WRITING_TOOLS_LONG_VOWEL | No | The closing ー of katakana words such as コンピューター. Values: `document`, `keep`, `drop`. | |
| WRITING_TOOLS_RANGE_MARK | No | 〜, ~ or a hyphen between two numbers. Values: `document`, `wave_dash`, `fullwidth_tilde`, `hyphen`. | |
| WRITING_TOOLS_UNATTENDED | No | No person can answer: a write runs only under a grant that covers it; off by default. | |
| WRITING_TOOLS_ALNUM_WIDTH | No | The width of Latin letters and digits. Values: `document`, `halfwidth`, `fullwidth`. | |
| WRITING_TOOLS_PUNCTUATION | No | 、。, ,. or ,。 Values: `document`, `ten_maru`, `comma_period`, `comma_maru`. | |
| WRITING_TOOLS_UNIT_SPACING | No | A space between a numeral and a Latin unit (`100 MB`). Values: `document`, `spaced`, `unspaced`. | |
| WRITING_TOOLS_BRACKET_WIDTH | No | The parentheses around Japanese text. Values: `document`, `fullwidth`, `halfwidth`. | |
| WRITING_TOOLS_EXCLUDE_RULES | No | Rule ids to turn off; wins over `rules`. | |
| WRITING_TOOLS_EXCLUDE_TOOLS | No | Single tools to remove by ID; wins over `tools` and `toolsets`. | |
| WRITING_TOOLS_LATIN_SPACING | No | A space between Japanese and a Latin word or inline code. Values: `document`, `spaced`, `unspaced`. | |
| WRITING_TOOLS_SENTENCE_LENGTH | No | Characters past which a sentence is long, 20–400; unset, the genre's. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| experimental | {
"codex/sandbox-state-meta": {}
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| writing_text_readA | Inspect Japanese text, or compare a revision with its original. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 1 tool
With only one tool there is no cross-tool ambiguity to resolve, so an agent can never pick the wrong tool. The only blurring is internal: `inspect` and `compare` are two distinct operations folded into a single entry point, distinguished only by prose rather than by name or schema.
`writing_text_read` is a clear snake_case, verb-ish compound that follows a predictable domain_object_action shape. A single name cannot demonstrate a consistent pattern across the set, and `_read` is a slightly loose label for a tool that also performs comparison.
One tool for a server that exposes two distinct operations (inspect and compare) plus ten convention toggles feels thin — a two-tool split would be clearer. The single tool is very feature-dense, so it earns its place, but the surface is borderline minimal.
Inspection and revision comparison are covered thoroughly, including severity, limits, and not-run reporting. However, the surface is read-only: there is no rewrite/normalize/apply operation, so an agent can diagnose a text but hits a dead end when it needs to produce a corrected version.