Skip to main content
Glama
BlogDistiller · 博萃 MCP Server

BlogDistiller · 博萃 MCP Server

by yibeigen

fetch_articles_batch

Idempotent

Fetch 1–20 article bodies from mixed platforms in one batch with per-article and total character budgets to prevent context overload; over-budget items return metadata for single-article follow-up.

Instructions

批量抓取 1~20 篇文章正文(支持跨平台混合)。单篇限长 + 总字符预算双重防上下文爆炸;超预算篇目仅返回元数据并提示用 fetch_article 单篇续读。超过 20 篇请改用 start_export_task。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "urls": "<urls>"
    },
    "name": "fetch_articles_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYes文章链接列表(1~20 条,支持跨平台混合);超过 20 篇请改用 start_export_task
use_cacheNo
include_imagesNo批量阅读默认不含图以节省上下文
total_char_budgetNo本次响应总正文字符预算,超出后的篇目仅返回元数据并提示单篇续读
enable_noise_filterNo
max_chars_per_articleNo单篇最大返回字符数

Output Schema

NameRequiredDescriptionDefault
itemsYes
totalYes
failedYes
succeededYes
budget_exhaustedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare openWorld and non-read-only behavior, but the description adds the key operational trait: a dual cap (per-article length plus total char budget) that truncates output to metadata rather than failing. It does not mention cache behavior or the noise filter, leaving some runtime traits implicit.

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?

Three tight sentences, front-loaded with the purpose and then the limits. Minor redundancy in repeating the 20-article ceiling that is also enforced by maxItems, but no wasted prose.

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 six-parameter batch tool with an output schema, the description covers the things an agent must know to avoid being surprised: the size cap, the metadata-only fallback, and the escalation path. The undocumented cache/noise-filter switches are the only gap.

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?

Schema coverage is 67%, and the description's budget explanation largely restates the total_char_budget schema text. It adds nothing for use_cache or enable_noise_filter, which remain undocumented in both places.

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 scope: batch-fetch full text of 1–20 articles, cross-platform mixed. It immediately distinguishes itself from fetch_article (single, for over-budget follow-up) and start_export_task (more than 20).

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?

Explicit routing rules: over-budget articles are returned as metadata and should be continued with fetch_article; more than 20 articles should go to start_export_task. Both when-to-use alternatives are named with the condition that selects them.

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