Skip to main content
Glama

toutiao_publish_article

Automate posting a Toutiao article by setting cover image, title, and content, then trigger publish. Requires a valid login session.

Instructions

发布今日头条文章:通过浏览器自动化设置封面图、标题与正文并触发发布。需要先登录(cookies.json 存在且有效)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes文章标题(2-30 个字)
contentYes文章正文
imagePathYes本地封面图片路径(建议绝对路径)
Behavior3/5

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

With no annotations, the description discloses the browser automation mechanism and login requirement, which is useful. However, it omits behavioral details such as whether publishing is immediate, what happens on failure, or if the tool waits for success confirmation.

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 a single, compact sentence that packs the core action, mechanism, and prerequisite without redundant words. It is appropriately sized and front-loaded.

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?

For a tool with three clearly documented parameters and no output schema, the description adequately establishes the workflow and prerequisite. It could be more complete by mentioning expected outcomes or failure handling, but it is sufficient for an AI agent to select and invoke the tool correctly.

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?

All three parameters are fully described in the schema (title, content, imagePath), so the description adds limited semantic value. It reinforces the role of each parameter in the automation flow but does not provide additional constraints or interpretations beyond the schema.

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 identifies the action (publish article), the target resource (头条/Toutiao), and the specific elements involved (cover image, title, body) via browser automation. This differentiates it from the sibling tools for login, status check, and logout.

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 states the prerequisite of a valid login (cookies.json), indicating this tool should be used after toutiao_login and before toutiao_logout. It provides clear context but does not explicitly list alternative tools or exclusion cases.

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/JessYan0913/toutiao-mcp'

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