Skip to main content
Glama

generate_wordcloud

Extract keywords from patent titles or abstracts to generate a word cloud and frequency bar chart for spotting hot topics and high-frequency terms.

Instructions

分析专利标题或摘要中的关键词,生成词云和词频柱状图。适用于用户询问'热点'、'关键词'、'词云'、'高频词'等。 方法: Derwent 模板清洗后按专利文档频率统计术语和高支持短语,同时公开原始词频与文档占比。 算法: derwent_phrase_frequency v2.0 证据等级: engineering_screening 禁止结论: paper-exact text mining pipeline, technology value

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": "generate_wordcloud"
  }
}

Input Schema

NameRequiredDescriptionDefault
text_sourceNo文本来源: title=标题, abstract=摘要。默认 title。title

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description fills the gap unusually well: it discloses the method (Derwent-template cleaning, document-frequency counting of terms and high-support phrases), that both raw counts and document share are reported, the algorithm and version, and the evidence grade. The '禁止结论' line usefully bounds what the output can support (no paper-exact text-mining pipeline, no technology-value claims). It stops short of describing output formatting or performance on large datasets.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loads the purpose before the labeled metadata blocks (方法/算法/证据等级/禁止结论). The labeled fragments are terse to the point of being telegraphic, and the mixed-language '禁止结论' entries read as internal annotations rather than agent-facing prose.

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 tool with one optional parameter, no annotations, and no output schema, the description supplies what an agent needs: what it produces, when to invoke it, how it computes results, and what conclusions are off-limits. Return shape is only named (word cloud + bar chart) rather than specified, which is the main residual 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?

The single parameter (text_source with title/abstract enum) is fully documented in the schema at 100% coverage, and the description adds nothing about it, not even that switching to abstract changes results. This meets the baseline-3 rule for high schema coverage.

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 names a specific action and resource: extracting keywords from patent titles/abstracts and producing both a word cloud and a term-frequency bar chart. This is far more specific than the tool name alone. However, it does not distinguish this tool from nearby siblings such as analyze_yearly_keywords and analyze_burst_terms, so it falls just 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 Guidelines4/5

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

It gives explicit trigger phrases ('热点', '关键词', '词云', '高频词') that tell the agent when to select it, which is clear when-to-use guidance. It offers no explicit when-not guidance and does not name an alternative sibling for keyword-over-time analysis, so it does not reach a 5.

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