Skip to main content
Glama
BlogDistiller · 博萃 MCP Server

BlogDistiller · 博萃 MCP Server

by yibeigen

start_export_task

Starts an asynchronous batch export of blog articles to Markdown, PDF, Word, HTML, TXT, or ZIP, returning a task ID so long-running jobs can be polled instead of blocking.

Instructions

启动异步批量导出任务(Markdown/PDF/Word/HTML/TXT + 双模态 ZIP 归档)。长耗时任务立即返回 task_id,用 get_export_task 轮询。支持博主主页、微信合集、catalog_id 精选或显式 URL 列表。部分抓取失败按 on_partial_failure 自动决策,绝不挂起等待人工确认。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "start_export_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetNo博主主页链接、公众号合集链接或换行分隔的多条文章 URL;与 catalog_id / article_urls 三选一
date_toNo
platformNo目标平台auto
date_fromNo
end_indexNo
use_cacheNo
batch_sizeNo分批每批篇数;留空时超 800 篇自动按 500 篇/批拆分
catalog_idNo可选:基于 list_author_articles 返回的 catalog_id 导出,免去重复检目录并保留专栏/分类元数据
image_modeNo配图模式:compressed 推荐压缩图 / original 高清原图 / none 纯文本无图(RAG 语料首选)compressed
output_dirNo可选自定义保存目录(须在允许目录白名单内),留空使用默认导出目录
start_indexNo
article_urlsNo可选:显式指定要导出的文章 URL 列表(若同时传 catalog_id 则从中精确匹配元数据)
max_articlesNo
export_formatsNo导出格式列表,默认仅 ['md'] 兼顾速度;系统始终自动附带双模态 ZIP 归档包
group_by_columnNo知乎按专栏 / 新浪博客按栏目分组打包
on_partial_failureNo当部分文章抓取失败时的自动处理策略,防止挂起死锁skip_and_export
enable_noise_filterNo
zhihu_content_typesNo
author_name_overrideNo
remove_image_watermarkNo

Output Schema

NameRequiredDescriptionDefault
statusYes
messageYes
task_idYes
platformYes
output_dirYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false. The description adds genuinely new behavior: asynchronous execution, immediate task_id return, and automatic partial-failure handling via on_partial_failure with an explicit 'never hangs waiting for human confirmation' guarantee. It omits that repeated calls are non-idempotent (duplicate tasks) and that it writes files to disk, which would have made this a 5.

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 purpose and formats, then usage flow, then targeting options, then failure policy — a sensible order. Dense but each clause carries information; minor cost is the run-on parenthetical format list.

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 an output schema exists (so return shape needs no explanation) and annotations cover the safety profile, the description supplies the async lifecycle, polling instruction, targeting modes, and failure policy an agent needs to invoke it correctly. Remaining gaps are idempotency/duplicate-task risk and filesystem side effects of output_dir.

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?

With 20 parameters and only 50% schema description coverage, the description should compensate more. It clarifies the targeting alternatives (target vs catalog_id vs article_urls) and the on_partial_failure semantics, but says nothing about use_cache, batch_size, image_mode, date filters, indexes, max_articles, or output_dir beyond what the schema already documents.

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 ('启动异步批量导出任务') plus supported output formats and ZIP archiving, and explicitly separates itself from the polling sibling get_export_task. An agent can tell exactly what this tool does and what it does not do (waiting for completion).

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?

Gives clear usage flow: long-running task returns task_id immediately and must be polled via get_export_task, and enumerates the four accepted targeting modes (博主主页 / 微信合集 / catalog_id / 显式 URL 列表). It does not mention control_export_task as an alternative for cancellation/status changes, so guidance is strong but not exhaustive.

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