Skip to main content
Glama

Engine Heart

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": "idiom.random_idiom"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the burden alone. It does disclose the return contents (pinyin, definition, source, example), which is the main behavioral fact an agent needs for a no-arg read. It says nothing about randomness guarantees, possible empty/failure responses, or formatting, leaving some 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?

One compact sentence that front-loads the action and then the payload, followed by use cases. No filler or repetition. Slightly dense with parenthetical field lists, but nothing is wasted.

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?

For a trivial zero-arg tool with no annotations and no output schema, the description supplies the one thing the structured data cannot: what fields come back. Absent any note on randomness or failure modes, it is good but not exhaustive.

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?

The schema is empty with 100% coverage, so there are no parameters to explain; the baseline for zero-param tools applies. The description correctly implies no input is required, consistent with the empty object schema.

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?

States a specific action and resource: '随机返回一个成语' plus what the payload contains (拼音、释义、出处、例句). An agent immediately knows this is a zero-argument random-sampler rather than a lookup. It does not explicitly contrast itself with search_idiom or random_classical, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names three concrete use cases (每日学成语、接龙开场、写作素材), which implies when to reach for a random pick rather than a targeted search. However it never states when NOT to use it or points to search_idiom for keyword lookups, so the sibling routing is left to inference.

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