Skip to main content
Glama
Mistizz

Japanese Text Analyzer

by Mistizz

日语文本分析器 MCP 服务器

这是一个可以对日语文本进行形态分析的 MCP 服务器。它从语言学的角度测量和评估句子的特点,有助于提供句子生成的反馈。

功能

  • 统计日语文本的字符数(不包括空格和换行符的实际字符数)

  • 计算日语文本中的单词数

  • 分析日语文本的详细语言特征(平均句子长度、词性比例、词汇多样性等)

  • 支持文件路径和直接文本输入

  • 灵活的文件路径解析(可搜索绝对路径、相对路径、或仅搜索文件名)

Related MCP server: Text Analyzer

工具

目前已实施以下工具:

字符数

测量文件中的字符数。请指定绝对路径(Windows 样式 C:\Users... 或 WSL/Linux 样式 /c/Users/... 均可接受)。计算不包括空格和换行符的实际字符数。

输入:

  • filePath (字符串):要统计字符的文件路径(最好是 Windows 或 WSL/Linux 绝对路径)。

输出:

  • 文件中的字符数(不包括空格和换行符的实际字符数)

计数单词

计算文件中的单词数。请指定绝对路径(Windows 样式 C:\Users... 或 WSL/Linux 样式 /c/Users/... 均可接受)。在英语中,它计算以空格分隔的单词,在日语中,它使用形态分析。

输入:

  • filePath (字符串):用于统计单词的文件路径(最好是 Windows 或 WSL/Linux 绝对路径)。

  • language (字符串,可选,默认值:“en”):文件的语言(en:英语,ja:日语)

输出:

  • 文件的字数

  • 在日语模式下,还会显示详细的形态分析结果。

剪贴板字符数

测量文本中的字符数。计算不包括空格和换行符的实际字符数。

输入:

  • text (字符串):要计算字符数的文本。

输出:

  • 文本字符数(不包括空格和换行符的实际字符数)

统计剪贴板单词数

计算文本中的单词数。在英语中,它计算以空格分隔的单词,在日语中,它使用形态分析。

输入:

  • text (字符串):要统计单词的文本。

  • language (字符串,可选,默认值:“en”):文本的语言(en:英语,ja:日语)。

输出:

  • 文本中的单词数

  • 在日语模式下,还会显示详细的形态分析结果。

分析文本

它对文本进行详细的形态和语言特征分析。我们分析句子的复杂性、词性的比例、词汇的多样性等等。

输入:

  • text (字符串):要分析的文本。

输出:

  • 文本基本信息(总字数、句子数、词素总数)

  • 详细分析结果(平均句长、词性比例、字类比例、词汇多样性等)

分析文件

它对文件进行详细的形态学和语言学分析。我们分析句子的复杂性、词性的比例、词汇的多样性等等。

输入:

  • filePath (字符串):要分析的文件的路径(最好是 Windows 或 WSL/Linux 格式的绝对路径)。

输出:

  • 文件基本信息(字符总数、句子数、词素总数)

  • 详细分析结果(平均句长、词性比例、字类比例、词汇多样性等)

如何使用

使用 npx 运行

可以直接从 GitHub 存储库使用 npx 运行此包:

npx -y github:Mistizz/mcp-JapaneseTextAnalyzer

与 Claude for Desktop 一起使用

将以下内容添加到您的 Claude for Desktop 配置文件中:

Windows: %AppData%\Claude\claude_desktop_config.json

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "JapaneseTextAnalyzer": {
      "command": "npx",
      "args": [
        "-y",
        "github:Mistizz/mcp-JapaneseTextAnalyzer"
      ]
    }
  }
}

与光标一起使用

对于 Cursor,将相同的设置添加到.cursor文件夹中的mcp.json文件。

Windows: %USERPROFILE%\.cursor\mcp.json

macOS/Linux: ~/.cursor/mcp.json

通用配置(适用于大多数环境):

{
  "mcpServers": {
    "JapaneseTextAnalyzer": {
      "command": "npx",
      "args": [
        "-y",
        "github:Mistizz/mcp-JapaneseTextAnalyzer"
      ]
    }
  }
}

如果上述操作在 Windows 上不起作用,请尝试以下操作:

{
  "mcpServers": {
    "JapaneseTextAnalyzer": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "github:Mistizz/mcp-JapaneseTextAnalyzer"
      ]
    }
  }
}

使用示例

直接统计文本中的字符数

このテキストの文字数を数えてください。

以日语模式统计文件中的单词数

C:\path\to\your\file.txt の単語数を日本語モードで数えてください。

统计 WSL/Linux 样式路径中的单词数

/c/Users/username/Documents/file.txt の単語数を日本語モードで数えてください。

仅统计文件名中的单词

README.md の単語数を英語モードで数えてください。

粘贴文本并统计日语单词

次のテキストの日本語の単語数を数えてください:

吾輩は猫である。名前はまだ無い。どこで生れたかとんと見当がつかぬ。何でも薄暗いじめじめした所でニャーニャー泣いていた事だけは記憶している。

分析文本的详细语言特征

次のテキストを詳細に分析してください:

私は昨日、新しい本を買いました。とても面白そうな小説で、友人からの評判も良かったです。今週末にゆっくり読む予定です。

分析文件的详细语言特征

C:\path\to\your\file.txt を詳細に分析してください。

文件路径解析函数

当指定文件路径时,此工具可以灵活地查找文件:

  1. 如果指定了绝对路径,则按原样使用。

    • Windows 格式的绝对路径(例如C:\Users\username\Documents\file.txt )

    • WSL/Linux 风格的绝对路径(例如/c/Users/username/Documents/file.txt )都会被自动检测和转换。

  2. 根据当前目录(工作目录)解析相对路径

  3. 根据主目录搜索( %USERPROFILE%或$HOME )

  4. 根据桌面目录搜索

  5. 按文档目录搜索

这意味着即使您只是指定一个文件名,如“README.md”,它也会自动在几个常用目录中搜索它,如果找到则使用它。此外,从 WSL 环境、Git Bash 等获取的路径( /c/Users/...格式)可以在 Windows 环境中按原样使用。

引擎盖下

该工具使用名为“kuromoji.js”的形态分析库来统计日语单词的数量。形态分析是自然语言处理中的一个基本过程,它将句子划分为最小的意义单位(词素)。

形态分析过程可能需要一些时间来初始化。特别是,第一次运行时可能需要一些时间,因为它需要加载字典数据。通过在服务器启动时初始化形态分析器,可以最大限度地减少工具运行时的延迟。

语言特征分析

“analyze_text”和“analyze_file”工具根据形态分析的结果计算文本的各种语言特征。这些指标包括:

  • 平均句子长度:每个句子的平均字符数。该值越高,文本可能越难阅读。

  • 每句话的词素数:每句话的平均词素数。它表示句子密度和句法复杂性。

  • 词性:显示文本中使用的词性(名词、动词、形容词等)的比例。

  • 粒子比例:显示某些粒子的使用频率并分析句子结构和流程。

  • 字种比例:显示平假名、片假名、汉字、字母数字的构成比例。

  • 词汇多样性:通过显示不同词汇与总词汇量的比例(类型/标记比例)来衡量词汇丰富度。

  • 片假名词汇比例:表示片假名词汇的使用频率,反映外来词、专业术语的流行程度,以及写作风格的随意性。

  • 敬语频率:表示敬语的使用频率,并衡量文本的礼貌程度或正式程度。

  • 平均标点符号数:每句话的平均标点符号数可以反映句子的划分和可读性。

通过结合这些指标,我们可以从多个角度分析文本的特点,评估其写作风格、可读性、专业性等。

执照

此 MCP 服务器根据 MIT 许可证提供。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可的条款。欲了解更多信息,请参阅项目存储库中的 LICENSE 文件。

Available Tools

6 tools
analyze_fileC

ファイルの詳細な形態素解析と言語的特徴の分析を行います。文の複雑さ、品詞の割合、語彙の多様性などを解析します。

NameRequiredDescriptionDefault
filePathYes分析するファイルのパス(Windows形式かWSL/Linux形式の絶対パスを推奨)

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions what the tool analyzes but doesn't describe how it behaves: whether it's read-only or modifies files, what permissions are needed, error handling, performance characteristics, or output format. For a file analysis tool with zero annotation coverage, this is a significant gap in behavioral context.

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 description is appropriately concise with two sentences that efficiently convey the tool's purpose and analysis scope. It's front-loaded with the core function and avoids unnecessary elaboration, though it could potentially benefit from slightly more structure to separate different aspects of analysis.

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

Completeness2/5

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

Given the complexity of file analysis (involving file I/O, linguistic processing) with no annotations and no output schema, the description is incomplete. It doesn't explain what the analysis returns, error conditions, file format requirements, or behavioral constraints. For a tool that presumably performs non-trivial linguistic analysis on files, more context is needed for effective agent use.

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 schema description coverage is 100%, with the single parameter 'filePath' well-documented in the schema. The description doesn't add any parameter-specific information beyond what's already in the schema, so it meets the baseline of 3 where the schema does the heavy lifting without compensating with additional semantic context.

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 clearly states the tool performs 'detailed morphological analysis and linguistic feature analysis' of files, specifying it analyzes sentence complexity, part-of-speech ratios, and lexical diversity. This provides a specific verb ('analyze') and resource ('files'), though it doesn't explicitly differentiate from sibling tools like 'analyze_text' which might analyze text directly rather than files.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like 'analyze_text' or the counting tools. It doesn't mention prerequisites, file format requirements, or any context for choosing this tool over siblings, leaving the agent to infer usage based on the name alone.

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

analyze_textC

テキストの詳細な形態素解析と言語的特徴の分析を行います。文の複雑さ、品詞の割合、語彙の多様性などを解析します。

NameRequiredDescriptionDefault
textYes分析するテキスト

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. While it mentions what analyses are performed, it doesn't describe output format, performance characteristics, error conditions, or any limitations (e.g., text length constraints, language support). For a tool with no annotation coverage, this leaves significant behavioral aspects undocumented.

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 description is appropriately concise with two sentences that efficiently convey the tool's purpose and specific analyses. Every sentence contributes meaningful information without redundancy, though it could be slightly more structured with clearer separation of core function versus analysis types.

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

Completeness2/5

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

Given the tool's complexity (linguistic analysis with multiple metrics) and lack of both annotations and output schema, the description is incomplete. It doesn't explain what the analysis results look like, how they're structured, or what users can expect from the output. For a tool performing detailed analysis without output documentation, this creates significant ambiguity for proper usage.

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 schema description coverage is 100%, with the single parameter 'text' clearly documented in the schema as 'text to analyze'. The description adds no additional parameter semantics beyond what the schema provides, so it meets the baseline score of 3 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 clearly states the tool performs 'detailed morphological analysis and linguistic feature analysis' of text, specifying specific analyses like sentence complexity, part-of-speech ratios, and lexical diversity. It uses specific verbs ('analyzes') and resources ('text'), but doesn't explicitly differentiate from sibling tools like 'analyze_file' or 'count_words'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'analyze_file' (for file-based analysis) or 'count_words' (for simpler counting), nor does it specify contexts where detailed linguistic analysis is preferred over basic counting operations.

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

count_charsA

ファイルの文字数を計測します。絶対パスを指定してください(Windows形式 C:\Users...、またはWSL/Linux形式 /c/Users/... のどちらも可)。スペースや改行を除いた実質的な文字数をカウントします。

NameRequiredDescriptionDefault
filePathYes文字数をカウントするファイルのパス(Windows形式かWSL/Linux形式の絶対パスを推奨)

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses key behavioral traits: it requires absolute paths, accepts two OS path formats, and excludes whitespace from counts. However, it doesn't mention error handling, file size limits, encoding considerations, or what happens with non-existent files - important gaps for a file operation tool.

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

Conciseness5/5

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

Three efficient sentences with zero waste. First states purpose, second specifies path requirements with examples, third clarifies counting behavior. Each sentence adds distinct, necessary information. The description is appropriately sized and front-loaded with the core functionality.

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 single-parameter tool with good schema coverage but no annotations or output schema, the description is adequate but has gaps. It covers the what and how of character counting but lacks information about return values, error conditions, or performance characteristics. Given the complexity (file operations can fail in many ways), more behavioral context would be helpful.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with one parameter, so baseline would be 3. The description adds meaningful context: it emphasizes the absolute path requirement, specifies acceptable formats (Windows or WSL/Linux), and explains this is for character counting. This provides practical guidance beyond the schema's basic parameter documentation.

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 clearly states the specific action ('計測します' - measure/count) and resource ('ファイルの文字数' - file character count). It distinguishes from sibling tools like count_words (words vs characters), count_clipboard_chars (clipboard vs file), and analyze_file/analyze_text (analysis vs counting).

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 description provides clear context about when to use this tool: for counting characters in files with absolute paths. It specifies acceptable path formats (Windows or WSL/Linux) and that it counts '実質的な文字数' (substantial characters) excluding spaces and line breaks. However, it doesn't explicitly state when NOT to use it or name specific alternatives among the sibling tools.

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

count_clipboard_charsB

テキストの文字数を計測します。スペースや改行を除いた実質的な文字数をカウントします。

NameRequiredDescriptionDefault
textYes文字数をカウントするテキスト

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It adds useful behavioral context by specifying that it counts '実質的な文字数' (substantial characters) excluding spaces and line breaks, which clarifies the counting method. However, it doesn't disclose other traits like error handling, performance, or output format.

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

Conciseness5/5

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

The description is extremely concise and front-loaded, consisting of just two sentences that directly state the tool's purpose and counting method. Every sentence earns its place by providing essential information without redundancy or fluff.

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?

Given the tool's low complexity (one parameter, no output schema, no annotations), the description is minimally adequate. It explains what the tool does and the counting method, but lacks details on output format, error cases, or differentiation from siblings. For a simple tool, this is acceptable but leaves gaps.

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 schema description coverage is 100%, with the parameter 'text' clearly documented in the schema. The description doesn't add any parameter-specific information beyond what the schema provides, such as examples or constraints. With high schema coverage, the baseline score of 3 is appropriate.

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 clearly states the tool's purpose: 'テキストの文字数を計測します' (counts characters in text). It specifies the verb (計測/measure) and resource (テキスト/text). However, it doesn't explicitly distinguish itself from sibling tools like 'count_chars' or 'count_clipboard_words', which likely have similar functions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'count_chars' or 'count_clipboard_words', nor does it specify contexts or exclusions for its use. The agent must infer usage from the tool name and description alone.

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

count_clipboard_wordsA

テキストの単語数を計測します。英語ではスペースで区切られた単語をカウントし、日本語では形態素解析を使用します。

NameRequiredDescriptionDefault
languageNoテキストの言語 (en: 英語, ja: 日本語)en
textYes単語数をカウントするテキスト

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the counting methodology for different languages, which is useful context. However, it doesn't mention performance characteristics, error handling, or output format. For a tool with no annotations, this is adequate but lacks depth.

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

Conciseness5/5

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

The description is extremely concise (two sentences) and front-loaded with the core purpose. Every sentence adds value: the first states what the tool does, the second explains language-specific behavior. Zero waste.

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 counting tool with no annotations and no output schema, the description is minimally complete. It explains what the tool does and language handling, but doesn't describe the return value format. Given the low complexity, this is adequate but could benefit from output information.

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 both parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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 clearly states the tool's purpose: 'テキストの単語数を計測します' (counts words in text). It specifies the verb (計測/measure) and resource (単語数/word count), and distinguishes from siblings like count_chars and count_clipboard_chars by focusing on words rather than characters.

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 description provides clear context for when to use this tool: for counting words in text, with specific language handling (English uses space separation, Japanese uses morphological analysis). However, it doesn't explicitly mention when NOT to use it or name alternatives among siblings like count_words.

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

count_wordsA

ファイルの単語数を計測します。絶対パスを指定してください(Windows形式 C:\Users...、またはWSL/Linux形式 /c/Users/... のどちらも可)。英語ではスペースで区切られた単語をカウントし、日本語では形態素解析を使用します。

NameRequiredDescriptionDefault
filePathYes単語数をカウントするファイルのパス(Windows形式かWSL/Linux形式の絶対パスを推奨)
languageNoファイルの言語 (en: 英語, ja: 日本語)en

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses key behavioral traits: it accepts both Windows and WSL/Linux path formats, uses space-based counting for English and morphological analysis for Japanese. However, it doesn't mention error handling, file size limits, performance characteristics, or what the output looks like (just a number? JSON structure?).

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

Conciseness5/5

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

The description is perfectly concise and front-loaded. The first sentence states the core purpose, followed by essential implementation details. Every sentence earns its place: path format requirements, language-specific counting methods. No wasted words or redundancy.

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 2-parameter tool with no annotations and no output schema, the description is adequate but has gaps. It covers the core functionality and parameter usage well, but doesn't describe the return value format or error conditions. Given the complexity (language-specific counting algorithms) and lack of output schema, more information about what the tool returns would be helpful.

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 both parameters well. The description adds some value by explaining the language-specific counting methods (space-based for English, morphological analysis for Japanese) and emphasizing the absolute path requirement with format examples. However, it doesn't add significant semantic information beyond what's in the schema descriptions.

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 clearly states the tool's purpose: 'ファイルの単語数を計測します' (counts words in a file). It specifies the verb ('計測します' - measures/counts) and resource ('ファイル' - file), and distinguishes from sibling tools like count_chars (character counting) and analyze_file/analyze_text (more general analysis).

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 description provides clear context for when to use this tool: for counting words in files with specific path formats. It doesn't explicitly state when NOT to use it or name alternatives, but the sibling tool names (count_chars, analyze_file, etc.) suggest differentiation by function. The language parameter guidance also helps determine appropriate usage.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 6 tool updatesv1.0.0
    • First observedanalyze_file
    • First observedanalyze_text
    • First observedcount_chars
    • First observedcount_clipboard_chars
    • First observedcount_clipboard_words
    • First observedcount_words

TDQS

B3.3/5.0

Scored across 6 tools

Disambiguation2/5

There is significant ambiguity between tools: analyze_file and analyze_text appear to do the same analysis but on different inputs (file vs. text), while count_chars and count_clipboard_chars both count characters with similar descriptions, and count_words and count_clipboard_words both count words with similar logic. This overlap can easily lead to misselection by an agent.

Naming Consistency4/5

The naming follows a consistent verb_noun pattern throughout (e.g., analyze_file, count_chars), with all tools using snake_case. However, the use of 'clipboard' in some names deviates slightly from the file/text distinction in others, but overall the pattern is predictable and readable.

Tool Count4/5

With 6 tools, the count is reasonable for a text analysis server, as it covers multiple aspects like analysis and counting. It's slightly on the higher side due to duplication, but not excessive, and each tool serves a purpose within the domain.

Completeness3/5

The server covers core text analysis and counting functions, but there are notable gaps: it lacks tools for operations like summarization, sentiment analysis, or editing, which are common in text processing. The surface is functional but not comprehensive for advanced text analysis workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers