Skip to main content
Glama

Engine Heart

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 the homophone fallback behavior of the default mode, the stricter exact-match semantics of strict mode, and the contents of the returned list (pinyin and definition). It doesn't cover absence-case behavior (e.g., what happens when no continuation exists) or any performance considerations.

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 purpose and output shape are front-loaded in the first sentence, followed by mode semantics and the count constraint. Dense but well ordered; the only mild redundancy is restating in prose the strict/count semantics the schema already carries.

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 three-parameter tool with no output schema, the description fully covers what the tool returns (a list of chained idioms with pinyin and definitions), how the default and strict modes differ, and the candidate-count bound. An agent has everything needed to invoke it correctly without opening the schema.

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 description coverage is 100%, and the schema already documents count (1-20, default 5) and strict (same-character vs homophone fallback) with essentially the same wording the description uses. The description adds the worked example idiom but no syntax or edge-case detail beyond the structured fields, so baseline 3 applies.

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 names a concrete verb and resource ('成语接龙'), states the input (an idiom such as '一心一意'), and precisely describes the output ('可以接上的下一个成语列表,以上一成语尾字开头,含拼音、释义'). This is clearly distinguishable from siblings like random_idiom or search_idiom, which do not chain on the last character.

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 explains the two operating modes explicitly: default mode tries tail-to-head identical characters first and falls back to homophones, while strict=True requires exact character matching. What's missing is guidance on which mode to pick for a given intent and any cross-reference to alternative sibling tools, but the mode-selection context is clear.

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