Skip to main content
Glama
panwenda

Douyin Publish MCP

by panwenda

douyin_account_logout

Log out a Douyin account by deleting its saved cookie file. Requires confirmation: first reports the file path, then deletes only with explicit approval.

Instructions

重置某个账号的登录态(相当于小红书 MCP 的 delete_cookies)。本服务只删一个文件:<项目>/cookies/douyin_<账号>.json —— 那是 sau 的登录凭据。★ 两步:不传 confirm 时只回报「将要删除的路径」,什么都不删;用户明确同意后才传 confirm=true。删完该账号变回未登录,发布前要重新扫码。注意这是「退出登录」不是「卸载」:项目目录、素材、已发布的作品都不受影响。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYes账号名
confirmNo用户已明确同意删除凭据时传 true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so richly: it names the exact file affected, its role as the login credential, the irreversible effect (account returns to logged-out), and explicitly scopes out collateral damage (project dir, materials, published works unaffected). This is exactly the behavioral context an agent needs before triggering a destructive confirmation flow.

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

Conciseness4/5

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

Front-loaded with the core action and outcome, then the workflow, then the scope caveat. Dense but every clause carries operational weight; the ★ markers aid scanning. Slightly long, but justified by the destructive nature of the operation.

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

Completeness5/5

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

For a destructive, no-output-schema, no-annotation tool, the description covers effect, confirmation discipline, post-condition, and non-effects — everything needed to invoke it safely.

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%, so both params are already documented, giving a baseline of 3. The description adds real semantics beyond the schema by defining confirm's role as a two-phase safety gate rather than a plain boolean.

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?

States a specific verb+resource (重置某账号登录态) and immediately clarifies the exact mechanism: deleting a single cookies file, not uninstalling. It also distinguishes itself from account_login/account_status by describing the resulting state and the 'logout not uninstall' boundary.

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?

Explicitly prescribes the two-step workflow: with no confirm it only reports the intended path (dry run), and confirm=true may only be passed after the user explicitly agrees. It further gives the follow-up condition (must re-scan QR before publishing), leaving nothing to inference.

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