Skip to main content
Glama

Enhance Content

enhance_content
Read-only

Improve document text by fixing grammar, refining style, enhancing clarity, expanding, summarizing, or rewriting creatively. Returns a suggested rewrite without modifying the original.

Instructions

Produce an AI-improved version of a document's text for a chosen goal (fix grammar, refine style, improve clarity, expand, summarize, or rework creatively) and return the suggested rewrite. This does NOT modify the document; review the result and call write_document to save it. Use analyze_document for a critique instead of a rewrite, or generate_content to create new text from a prompt. Calls an external AI model. Requires an open project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
optionsNoOptional enhancement parameters passed through to the enhancer.
documentIdYesScrivener document UUID, as returned by get_structure (a binder item "id").
enhancementTypeYesThe improvement goal: "grammar" fixes errors, "style" refines voice, "clarity" simplifies, "expand" lengthens, "summarize" condenses, "creative" reworks freely.
Behavior4/5

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

Annotations already indicate readOnlyHint=true and destructiveHint=false; the description adds that it calls an external AI model and requires an open project, which are useful behavioral traits beyond annotations. However, it doesn't detail potential latency or error handling.

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?

Four concise sentences, each adding unique value: core purpose, non-modification and workflow, sibling differentiation, and external AI call + prerequisite. No wasted words.

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 the tool's complexity (3 params, no output schema), the description covers purpose, usage, non-destructive nature, and prerequisites. It lacks details about the output format or potential asynchronous behavior, but overall is well-rounded.

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

Parameters3/5

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

Schema coverage is 100% so baseline is 3. The description essentially restates the enumeration meanings from the schema without adding new semantics; the 'options' parameter is not elaborated beyond the schema description.

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 it produces an AI-improved version of a document's text for specific goals, and explicitly distinguishes from sibling tools like analyze_document and generate_content.

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

Usage Guidelines5/5

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

It provides explicit when-to-use guidance, mentioning alternatives for critiques or new text, and specifies the workflow: review result and use write_document to save. Also states requirement of an open project.

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