Skip to main content
Glama
BlogDistiller · 博萃 MCP Server

BlogDistiller · 博萃 MCP Server

by yibeigen

search_cached_articles

Read-onlyIdempotent

Search locally cached historical articles by title, author, or content with platform and author filters, no network needed; use result URLs with fetch_article(use_cache=True) to read full text.

Instructions

检索本地已缓存的历史文章(零网络)。按标题/作者/正文模糊搜索,支持平台与作者过滤。看全文时把结果里的 url 传给 fetch_article(use_cache=True) 即可毫秒级获取。

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": "search_cached_articles"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo按标题、作者或正文模糊搜索;留空则按缓存时间倒序列出最近文章
authorNo按作者模糊过滤
offsetNo
platformNo按平台过滤(支持中英文标识)

Output Schema

NameRequiredDescriptionDefault
itemsYes
by_platformYes
total_cachedYes
total_matchedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the bar is lower. The description still adds useful context beyond them: zero network access, fuzzy matching semantics, and millisecond latency via the cache, though it does not mention empty-result handling or pagination behavior.

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?

Three short sentences, front-loaded with the core behavior, then search dimensions, then the follow-up workflow. No filler, and the most decision-relevant fact (zero network, local cache) comes first.

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?

With an output schema present, the description needn't detail return values, and it still hints that results contain a url. Modest gaps remain around pagination and empty-cache behavior for a 5-parameter search tool, but nothing that would cause a wrong invocation.

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?

The description adds meaningful semantics for query (fuzzy over title/author/body), author, and platform filters, but says nothing about limit/offset pagination, leaving roughly half the parameter surface to the schema (60% coverage). It does not compensate for the 40% gap.

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 and resource ('检索本地已缓存的历史文章') plus a scope qualifier ('零网络') and search dimensions (title/author/body), which clearly distinguishes it from fetch_article and the sync_* siblings that go to the network.

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?

Explicitly routes the agent: use this tool for cached search, then pass the result url to fetch_article(use_cache=True) for full text. That is clear when-to-use guidance, though it does not state when to prefer a network sync path or what happens when the cache is empty.

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