Skip to main content
Glama

Engine Heart

classical.random_classical

随机返回一篇古文/文言文(含篇名、朝代、作者、原文,部分附白话译文、注释、赏析)。with_translation=true 时仅从约1600篇带白话译文的名篇中随机,适合古文学习与文白对照阅读。

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.random_classical"
  }
}

Input Schema

NameRequiredDescriptionDefault
with_translationNoTrue 时仅随机带白话译文的篇目

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses that the tool returns a random piece, lists the fields included, notes that only some pieces have translations/notes/appreciation, and quantifies the translated subset at about 1600 famous works. It does not discuss error behavior or side effects, but for a read-only random retrieval tool that is a minor gap.

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?

The description is two sentences and front-loads the core behavior before explaining the translation flag. The parenthetical field list is dense but informative. There is little wasted wording, though the two '古文/文言文' and translation-use phrases are slightly repetitive.

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 one-parameter, no-annotation, no-output-schema random retrieval tool, the description supplies everything an agent needs: what is returned, which fields vary, what the flag changes, and the intended learning use case. No important behavioral or output context is missing.

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 description coverage is 100%, so the single parameter is already documented in the schema. The description still adds meaning beyond the schema by specifying that with_translation=true draws from roughly 1600 translated famous pieces and is suited to parallel classical/vernacular reading, which helps the agent understand the practical effect of the flag.

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 opens with a specific verb-resource pair: '随机返回一篇古文/文言文' (randomly return one classical Chinese text). It then enumerates the returned fields (title, dynasty, author, original text, sometimes translation/notes/appreciation), making the tool's scope and output unmistakable and distinguishable from a search tool.

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 gives a clear use context: '适合古文学习与文白对照阅读' (suitable for classical Chinese learning and parallel reading). It also explains the key conditional behavior of with_translation=true (only from ~1600 translated famous pieces). It does not explicitly compare against sibling tools like classical.classical_search or state when not to use it, so it falls short of a 5.

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