Skip to main content
Glama
Unified MCP Server

Unified MCP Server

by qingyunyupan

poetry_generate

Generate Chinese classical poems from a theme, with selectable style such as Tang poetry, Song ci, or Yuan qu, and a specified number of lines.

Instructions

根据主题、风格和长度生成中国古典诗词。可以生成唐诗、宋词、元曲等不同风格的诗词。

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": {
      "theme": "<theme>"
    },
    "name": "poetry_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNo诗词风格
themeYes诗词主题,例如:春天、思乡、爱情、山水等
lengthNo诗词长度(句数)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 burden. It does communicate the core behavior (producing classical verse in Tang/Song/Yuan forms), which implies a benign, generative, non-destructive operation, but it says nothing about what is returned, whether output is deterministic, or how style affects the result.

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?

Two short sentences with the core capability front-loaded. The second sentence largely repeats the style enum already in the schema, which is minor waste but not harmful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter generative tool with fully described schema this is adequate: an agent knows what inputs to supply. However, with no output schema, the description never indicates what the response contains (poem text, title, metadata), leaving a meaningful gap.

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%, so the schema already documents theme, style, and length (including the 4-20 range and enum values). The description only restates the same three dimensions at a high level and adds no format or interaction details, so the baseline of 3 applies.

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+resource ('生成中国古典诗词') and enumerates the input dimensions (theme, style, length), which lets an agent distinguish it from sibling poetry_continue/poetry_explain/poetry_qa. It does not explicitly name or contrast those siblings, 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?

Usage is only implied by the verb '生成': an agent can infer this is for creating a fresh poem from a theme rather than explaining or continuing one. There is no explicit when-to-use statement, no prerequisites, and no mention of when to prefer poetry_continue instead.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.