Skip to main content
Glama

Engine Heart

classical.classical_search

检索文言文/古文名篇:支持按 keyword(名句或原文内容,如'先天下之忧而忧')、title(篇名,如 岳阳楼记/出师表/桃花源记/陋室铭)、author(作者,如 韩愈/苏轼/司马迁)组合查询,返回篇名、朝代、作者、原文、白话译文(部分篇目)、注释与赏析。库内收录约9800篇古文辞赋,其中约1600篇含白话译文;设置 with_translation=true 仅返回带译文的篇目。limit 1-30 默认10。

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": "classical.classical_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo返回条数,1-30,默认 10
titleNo篇名,如 岳阳楼记 / 出师表 / 师说 / 桃花源记
authorNo作者,如 范仲淹 / 诸葛亮 / 韩愈 / 苏轼
keywordNo名句/原文内容关键词,如 醉翁之意不在酒
with_translationNoTrue 时只返回附白话译文的篇目

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations supplied the description must carry the behavioral burden, and it does disclose corpus scale (~9800 篇), translation coverage (~1600 篇), and the exact result fields (篇名、朝代、作者、原文、白话译文、部分注释与赏析). It does not say whether this is purely read-only, how results are ordered before limit truncation, or what happens on empty/no-match results, leaving real gaps for a filter-heavy tool.

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?

Purpose and scope are front-loaded in a single dense paragraph with no filler sentences, and every clause maps to a real capability. It is slightly repetitive with the schema's example lists and stacks many parenthetical examples, which costs a bit of scannability.

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

Completeness3/5

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

Because there is no output schema, the description usefully enumerates the returned fields, and the corpus statistics set expectations for coverage. However, it omits result ordering and no-match behavior, which matter for a limit-capped search tool with no offset parameter.

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 the baseline is 3, but the description adds genuine meaning beyond the schema by quantifying the translation subset (1600 of 9800), which tells an agent when with_translation is likely to return nothing. Otherwise it largely restates the schema's own examples and default.

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 names a specific verb (检索) and resource (文言文/古文名篇) and enumerates the exact retrievable fields along with a concrete query example ('先天下之忧而忧'), so an agent can distinguish it from random-poem or dictionary siblings at a glance.

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?

It explains how the filters combine (keyword/title/author 组合查询) and states the practical effect of with_translation=true, plus the live default of limit=10. It stops short of naming alternatives such as classical.random_classical for randomized picks or poetry.search_poem for other corpora, so no true when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources