Skip to main content
Glama

Research topic generation / AI 生成研究选题

topic_generate

Research topic generation / AI 生成研究选题 | USE WHEN: the user wants research topic ideas or directions for a field / clinical problem | ALIASES: 选题, 出个题目, 生成选题, 开题方向, 想个课题, topic ideas, research topic, brainstorm topics | RETURNS: 若干候选选题

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": {
      "discipline": "<discipline>"
    },
    "name": "topic_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordsNo关键词数组(3~5 个为宜)。用于限定选题方向;过窄会只出一个选题、过宽会跑题。
specialtyNo亚专业方向
disciplineYes学科/科室,如 心血管内科、重症医学
requirementsNo额外要求(自由文本),如「偏向免疫方向、需要多中心设计」。会拼进生成 prompt。
research_typeNo研究类型:临床研究/基础研究/转化研究

Output Schema

NameRequiredDescriptionDefault
costNo
resultYes业务字段,键见 description 的 RETURNS 段
successYes
data_sourceYeslocal_computation|external_corpus|llm_generated|user_data|pending
engine_statusYesok|queued|error|unavailable|not_run

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "cost": {
      +      "type": "integer"
      +    },
      +    "data_source": {
      +      "description": "local_computation|external_corpus|llm_generated|user_data|pending",
      +      "type": "string"
      +    },
      +    "engine_status": {
      +      "description": "ok|queued|error|unavailable|not_run",
      +      "type": "string"
      +    },
      +    "result": {
      +      "additionalProperties": true,
      +      "description": "业务字段,键见 description 的 RETURNS 段",
      +      "type": "object"
      +    },
      +    "success": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success",
      +    "engine_status",
      +    "data_source",
      +    "result"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / keywords / description
      Previous value: -"关键词"New value: +"关键词数组(3~5 个为宜)。用于限定选题方向;过窄会只出一个选题、过宽会跑题。"
    • addedInput schema / properties / requirements
      Added value: +{
      +  "description": "额外要求(自由文本),如「偏向免疫方向、需要多中心设计」。会拼进生成 prompt。",
      +  "type": "string"
      +}
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the agent knows this is a non-idempotent, open-world generation call. The description adds only 'RETURNS: 若干候选选题', which signals variability in the number of results, but says nothing about latency, LLM cost, or what happens with narrow/over-broad keywords. For a generative tool this is thin but not misleading.

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?

Pipe-delimited sections are front-loaded with the purpose and trigger followed by aliases and return summary, so scanning is fast. The alias list is long and the bilingual title duplicates the first clause, but both serve routing rather than padding.

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?

With an output schema present, the tool needn't explain return values, and the required 'discipline' parameter is documented in the schema. What's missing is positioning against the dense sibling set (topic_research_plan, topic_feasibility, topic_novelty, pico_refine) and any note on generation cost/latency, which matters for an open-world, non-idempotent AI call.

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 field descriptions already carry the meaningful guidance (keywords 3–5 为宜, 过窄会只出一个选题、过宽会跑题; requirements gets spliced into the generation prompt). The description itself adds no parameter-level meaning, so the baseline 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?

States a specific verb and resource ('research topic generation', 'AI 生成研究选题'), and the USE WHEN clause narrows it to wanting topic ideas/directions for a field or clinical problem. It does not name a sibling, so an agent can't tell from the text alone how this differs from topic_research_plan, topic_feasibility or pico_refine, but the core purpose is 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?

The 'USE WHEN: the user wants research topic ideas or directions for a field / clinical problem' line is an explicit trigger condition, and the alias list maps colloquial user phrasings (选题, 开题方向, brainstorm topics) onto the tool, which is genuinely useful for routing. There are no exclusions or named alternatives, so an agent still has to infer when to prefer topic_feasibility or topic_novelty over this.

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