Skip to main content
Glama

Random Idiom

random_idiom

随机返回一个成语(含拼音、释义、出处、例句),适合每日学成语、接龙开场、写作素材。

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_idiom"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden; it does convey that the call is a parameterless, non-mutating retrieval and lists the returned components. It does not address repeatability (can the same idiom come back twice), any randomness/seed behavior, or rate limits, which are the traits an agent might actually care about here.

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?

A single sentence, front-loaded with the action and the payload, followed immediately by the use cases. Nothing is padded or repeated.

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 zero parameters and an output schema present, the definition needs little more than the action plus a use-case hint, and it delivers both. The only real gap is behavioral, not structural: nothing about duplicate results or how randomness is sourced.

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 tool takes zero parameters, which normally sets the baseline at 4. However, the description spends its only parameter-adjacent clause describing output fields rather than adding meaning to inputs, so its contribution on this dimension is effectively neutral.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 returned fields (拼音、释义、出处、例句), so the agent knows exactly what it gets. It implies a distinction from search_idiom by emphasizing randomness and nods at idiom_solitaire via '接龙开场', but it never names a sibling explicitly.

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?

Three concrete usage scenarios are given (daily idiom learning, solitaire opening, writing material), which is clear context for when to reach for this tool. It stops short of exclusions or of saying 'use search_idiom instead when you need a specific idiom', so the alternative-selection guidance is incomplete.

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