Skip to main content
Glama
Mistizz

Japanese Text Analyzer

by Mistizz

일본어 텍스트 분석기 MCP 서버

일본어 텍스트의 형태소 해석을 실시할 수 있는 MCP 서버입니다. 문장의 특징을 언어학적 관점에서 측정·평가하여 문장 생성 피드백에 도움이 됩니다.

기능

  • 일본어 텍스트의 문자수(공백이나 개행을 제외한 실질적인 문자수)를 카운트

  • 일본어 텍스트의 단어 수 계산

  • 일본어 텍스트의 상세한 언어적 특징 분석(평균 문장, 품사 비율, 어휘 다양성 등)

  • 파일 경로 또는 직접 텍스트 입력 모두 지원

  • 유연한 파일 경로 해결(절대 경로, 상대 경로, 파일 이름만으로도 검색 가능)

Related MCP server: Text Analyzer

도구

현재 다음과 같은 도구가 구현되었습니다.

count_chars

파일의 문자 수를 측정합니다. 절대 경로를 지정하십시오(Windows 형식 C:\Users... 또는 WSL/Linux 형식 /c/Users/... 둘 다 가능). 공백이나 줄 바꿈을 제외한 실제 문자 수를 계산합니다.

입력:

  • filePath (string) : 문자 수를 계산하는 파일 경로 (Windows 형식 또는 WSL / Linux 형식의 절대 경로 권장)

산출:

  • 파일의 문자 수(공백이나 개행을 제외한 실제 문자 수)

count_words

파일의 단어 수를 측정합니다. 절대 경로를 지정하십시오(Windows 형식 C:\Users... 또는 WSL/Linux 형식 /c/Users/... 둘 다 가능). 영어에서는 공백으로 구분 된 단어를 계산하고 일본어에서는 형태소 분석을 사용합니다.

입력:

  • filePath (string) : 단어 수를 계산하는 파일 경로 (Windows 형식 또는 WSL / Linux 형식의 절대 경로 권장)

  • language (string, 옵션, 기본값: "en"): 파일 언어 (en: language , ko: 한국어)

산출:

  • 파일의 단어 수

  • 일본어 모드의 경우 형태소 해석의 상세 결과도 표시

count_clipboard_chars

텍스트의 문자 수를 측정합니다. 공백이나 줄 바꿈을 제외한 실제 문자 수를 계산합니다.

입력:

  • text (string): 문자 수를 계산하는 텍스트

산출:

  • 텍스트의 문자 수 (공백이나 줄 바꿈을 제외한 실제 문자 수)

count_clipboard_words

텍스트의 단어 수를 측정합니다. 영어에서는 공백으로 구분 된 단어를 계산하고 일본어에서는 형태소 분석을 사용합니다.

입력:

  • text (string): 단어 수를 계산하는 텍스트

  • language (string, 옵션, 기본값: "en"): 텍스트 언어 (en: language , ko: 한국어)

산출:

  • 텍스트 단어 수

  • 일본어 모드의 경우 형태소 해석의 상세 결과도 표시

analyze_text

텍스트의 상세한 형태소 해석과 언어적 특징의 분석을 실시합니다. 문장의 복잡성, 품사의 비율, 어휘의 다양성 등을 분석합니다.

입력:

  • text (string): 분석할 텍스트

산출:

  • 텍스트의 기본 정보(총문자수, 문장수, 총형태소수)

  • 상세 분석 결과(평균 문장, 품사의 비율, 문자종의 비율, 어휘의 다양성 등)

analyze_file

파일의 상세한 형태소 해석과 언어적 특징의 해석을 실시합니다. 문장의 복잡성, 품사의 비율, 어휘의 다양성 등을 분석합니다.

입력:

  • filePath (string): 분석할 파일의 경로(Windows 형식 또는 WSL/Linux 형식의 절대 경로 권장)

산출:

  • 파일의 기본 정보(총문자수, 문장수, 총형태소수)

  • 상세 분석 결과(평균 문장, 품사의 비율, 문자종의 비율, 어휘의 다양성 등)

사용방법

npx에서 실행

이 패키지는 npx에서 GitHub 리포지토리에서 직접 실행할 수 있습니다.

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

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

ParametersJSON Schema
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

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

ParametersJSON Schema
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/... のどちらも可)。スペースや改行を除いた実質的な文字数をカウントします。

ParametersJSON Schema
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

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

ParametersJSON Schema
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

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

ParametersJSON Schema
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/... のどちらも可)。英語ではスペースで区切られた単語をカウントし、日本語では形態素解析を使用します。

ParametersJSON Schema
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