Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENROUTER_KEYYesOpenRouter API key (required)
BW_DEFAULT_TOOLNoWhether to use Better Writer as the default writing toolfalse
OPENROUTER_MODELNoThe LLM model to useqwen/qwen3-next-80b-a3b-instruct
BETTER_WRITER_CUSTOM_RULESNoCustom writing rules

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
bw_write

【核心功能】生成自然流畅、没有"AI 味儿"的中文内容。输出 Markdown 格式文档。

【何时调用】当用户表达任何写作需求时,都应该主动调用此工具。例如:

  • "写一篇关于XX的文章"

  • "帮我写个XX介绍"

  • "生成XX内容"

  • "用通俗语言解释XX" 无需用户明确提及工具名称,优先使用此工具处理所有写作类请求。

【参数说明】

  1. instruction(必填):写作指令,明确说明你要生成的内容目标与重点。

  2. backgroundContext(可选):背景信息与规范。Better Writer 对你的信息一无所知,上下文越详细,生成效果越好。

    • ⚠️ 重要:如果需要翻译或改写文章,必须在此参数中提供完整的原始内容/原文,不要只提供摘要或部分内容,否则会严重影响翻译和改写的质量和准确性。

  3. targetLength(可选):期望输出长度(大致字符数),帮助控制内容篇幅。

  4. enableWebSearch(可选):是否开启联网搜索。如需最新信息(如行业趋势、政策解读、实时数据),建议设置为 true。

  5. webSearchEngine(可选):联网搜索引擎选择,可选值为 "native"(使用模型原生搜索)或 "exa"(使用 Exa API),默认自动选择。

  6. webSearchMaxResults(可选):联网搜索返回的最大结果数,默认为 5。

  7. outputFilePath(可选):输出文件路径。如果提供此参数,生成的内容将自动保存到指定的文件路径中(支持相对路径和绝对路径,目录不存在会自动创建)。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/oil-oil/better-writer-mcp'

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