Skip to main content
Glama

Random 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": "random_classical"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses that returns are randomized, that only a subset (~1600 名篇) has translations, and that some entries lack 译文/注释/赏析. It does not state whether repeated calls may return the same piece or that the operation is side-effect free, which are the remaining behavioral gaps.

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 the core action and result contents, then the parameter condition and use case. The field enumeration (篇名、朝代、作者、原文…) partially duplicates the output schema, though the word 部分 usefully signals non-uniform coverage.

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?

A single optional parameter, an existing output schema, and a description that explains the parameter's effect, the corpus variation, and the intended use — enough for an agent to call it correctly. The only shortfall is the absence of any routing hint relative to classical_search.

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 real meaning beyond the schema: the translated subset is quantified (~1600 篇) and characterized as 名篇, which tells the agent the filter narrows the corpus substantially rather than marginally.

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 (随机返回) plus resource (一篇古文/文言文) and enumerates exactly what the payload contains (篇名、朝代、作者、原文,部分附译文/注释/赏析). The 'random single item' framing inherently separates it from a search-style sibling without needing to name one.

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 a concrete use case (古文学习与文白对照阅读) and a clear conditional for the parameter (with_translation=true). It never explicitly contrasts with classical_search, so the agent must infer that search is for targeted retrieval and this is for random sampling.

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