Skip to main content
Glama

Set Writing Preferences

set_writing_preferences
Idempotent

Adjust author writing preferences to control AI-generated content tone, complexity, length, point of view, style guides, and custom instructions. Changes affect next content enhancement.

Instructions

Set the author writing preferences that shape AI writing output (enhance_content and other generative tools). Preferences are injected into the AI prompt, so changes take effect on the next enhancement. All fields are optional and merge into the existing profile. Use when the writer states a preferred tone, complexity, length, point of view, style guide, or a custom instruction. Requires an open project (preferences persist in the project database).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toneNoDesired tone: "neutral" (no steer), "formal", "casual", or "creative".
lengthNoVerbosity: "balanced" (no steer), "concise", or "comprehensive".
enabledNoMaster switch. When false, preferences are kept but not applied to AI output.
complexityNoLanguage complexity: "balanced" (no steer), "simple", or "advanced".
pointOfViewNoNarrative point of view to maintain, e.g. "third-person limited". Free text; pass an empty string to clear.
styleGuidesNoStyle guides to honour, e.g. ["Chicago"]. Replaces the existing list; pass [] to clear.
customInstructionsNoFree-form instruction appended verbatim to the AI directive. Pass an empty string to clear.
Behavior4/5

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

With annotations already declaring idempotentHint=true and destructiveHint=false, the description adds valuable context: preferences are injected into the AI prompt and take effect on the next enhancement, fields merge into the existing profile, and an open project is required. This goes beyond annotations, though it could mention that preferences persist in the database.

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

Conciseness5/5

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

The description is three sentences, front-loaded with the main purpose, and every sentence adds unique value: what it does, how it works, when to use it, and prerequisites. No redundancy or filler.

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

Completeness4/5

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

Given 7 optional parameters, no required fields, and no output schema, the description covers the tool's effect on AI output, merging behavior, clearing semantics, and the need for an open project. It does not specify error handling if no project is open, but overall it is sufficiently complete for a settings tool.

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% with descriptions for each parameter. The description adds meaning beyond schema: 'All fields are optional and merge into the existing profile', clarifies clearing behavior for pointOfView, styleGuides, and customInstructions (pass empty string/array), and explains customInstructions is appended verbatim. This enhances understanding.

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 clearly states 'Set the author writing preferences that shape AI writing output', specifying the verb 'set', the resource 'writing preferences', and the context of influencing generative tools like enhance_content. This distinguishes it from the sibling get_writing_preferences, which reads preferences.

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?

The description explicitly says 'Use when the writer states a preferred tone, complexity, length, point of view, style guide, or a custom instruction' and notes the prerequisite 'Requires an open project'. It provides clear context but does not explicitly mention when not to use it or alternatives like get_writing_preferences to check before setting.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/writerslogic/scrivener-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server