Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TOMATO_COOKIEYes登录番茄作家后台所需的Cookie,从浏览器请求头中获取
TOMATO_CSRF_TOKENYes请求头中的X-Secsdk-Csrf-Token值
TOMATO_DEFAULT_BOOK_IDNo默认操作的作品ID(可选)

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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_novelsA

列出当前账号下的所有小说(book_id、书名、字数、总阅读数、连载状态)。多本小说时用它来选择操作目标。

switch_novelA

切换当前要操作的小说(传 book_id,可先用 list_novels 查)。之后的发布、数据查询默认作用于这本,直到再次切换。

get_current_novelA

查看当前选中的小说。

get_novel_statsA

获取小说阅读数据:书级概览(总阅读数 read_count、字数、连载状态)+ 各章阅读/追读明细。不传 book_id 用当前选中的小说。

list_chaptersA

列出小说各分卷下的章节(含定时待发 / 已发布状态)。不传 book_id 用当前选中的小说。

publish_chapterA

发布或定时发布一章到当前(或指定)小说。内容二选一:① 直接传 title + content;② 传 file(Markdown 稿件路径)+ chapter_no 自动提取(标题取章节行)。publish_time 传 ISO 时间则定时/预约发布,省略则立即发布。

get_login_qrcodeA

获取番茄作家后台官方实时扫码登录二维码数据源 (Base64 PNG) 与会话 Token

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/ChaEunwooy/tomato-writer-mcp'

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