Skip to main content
Glama

Idiom Solitaire

idiom_solitaire

成语接龙:输入一个成语(如'一心一意'),返回可以接上的下一个成语列表(以上一成语尾字开头,含拼音、释义)。默认常规模式:优先首尾同字,同字不足时补同音字接龙;strict=True 为严格模式要求首尾必须同字。count 控制返回候选数量(1-20,默认5)。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "idiom": "<idiom>"
    },
    "name": "idiom_solitaire"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo返回候选成语数量,1-20,默认 5
idiomYes起始成语,如 画蛇添足
strictNoTrue=严格同字接龙;False=同字优先+同音兜底(默认)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations present, the description must carry the behavioral disclosure alone, and it does well: it states what is returned (candidates with pinyin and definitions), how the default fallback works, and what strict does, and it gives the count range and default. It omits what happens on invalid input, whether an empty result is possible, and any auth or rate limits, so some disclosure is still missing.

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?

Three sentences, front-loaded with purpose, then mode semantics, then the count constraint; no filler. The count range and default repeat what the parameter schema already says, a minor redundancy.

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?

An output schema exists, so the description need not explain return values, yet it usefully notes that pinyin and definitions are included. For a 3-parameter read-only generator, the description covers modes, defaults, and output shape well; only error and empty-result behavior is unaddressed.

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?

Schema coverage is 100%, so the schema already documents all three parameters and their defaults, which sets a baseline of 3. The description restates what the schema says about strict and count, and adds little beyond what is already in the schema and the example '一心一意'. It does explain the fallback mechanism in narrative form, but the schema already encodes that behavior.

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 gives a specific verb and resource: take one idiom and return the list of idioms that can chain onto it, with pinyin and definitions. It never names the sibling tools (random_idiom, search_idiom), so an agent must infer on its own that this is not a random-idiom getter or an idiom search. The core purpose is still unambiguous.

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 states how to choose a mode: by default the tool prefers the next idiom whose first character matches the previous idiom's last character, and falls back to a homophone chain when no exact match exists; strict=True requires an exact character match. It supplies no guidance on when to use this tool instead of the siblings, and no prerequisites or exclusions.

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