Skip to main content
Glama
wordsmith-mcp

wordsmith-mcp

by mirza1272

Wordsmith MCP

MCP(Model Context Protocol)サーバーであり、MCP互換のAIクライアントにオフラインのテキスト分析・書き換えツール一式を提供します — 統計、抽出的要約、キーワード抽出、可読性スコア、命名ケース変換、エンティティ抽出、テキスト差分。

APIキーは不要です。ネットワーク呼び出しもありません。状態もどこにも保存されません。すべては渡されたテキストに対してローカルで実行されるため、高速かつ無料で、非公開文書にも安全に使用できます。

MCP Python SDK で構築されています。


存在理由

言語モデルはテキストの判断は得意ですが、計測は驚くほど当てになりません — 正確な単語数やFleschスコアを尋ねても、推測で答えるだけです。Wordsmithは、そうした作業に対してモデルに決定的な計算機を提供するため、文書の長さ、難易度、重要な用語に関する回答は、推定ではなく計算によって得られます。


Related MCP server: armavita-originality-ai-mcp

ツール

ツール

機能

主なパラメータ

text_stats

文字数、単語数、固有単語数、文数、段落数、行数、平均単語長・文長、推定読了時間

text

summarize_text

抽出的要約 — 意味のある単語の頻度で文をスコアリングし、最良の文を元の順序で返します

text、max_sentences(1〜20、デフォルト3)

extract_keywords

頻出する意味のある単語を出現数と相対頻度付きで抽出。ストップワードは除外

text、limit(1〜50、デフォルト10)、min_length

readability

Flesch Reading Ease + Flesch–Kincaidグレードレベル。平易な言葉での解釈付き

text

convert_case

snake、kebab、slug、camel、pascal、constant、title、sentence、upper、lower に変換します

text、style

extract_entities

メールアドレス、URL、ハッシュタグ、メンション、電話番号、単独の数値を抽出します

text

diff_texts

下書きと改訂版の間のunified形式の行単位差分

before、after、context_lines

すべてのツールは readOnlyHint: true、openWorldHint: false と注釈付けされています — 何も変更せず、インターネットにもアクセスしません。


git clone https://github.com/mirza1272/wordsmith-mcp.git
cd wordsmith-mcp
python3 -m venv .venv
source .venv/bin/activate      # Windows: .venv\Scripts\activate
pip install -e .

実行:

wordsmith-mcp

サーバーは stdio 経由でMCPを話し、クライアントを待って待機し続けます — これは正常な動作であり、ハングアップではありません。クライアント側がサーバーを起動します。詳細は以下を参照してください。

動作確認

python scripts/smoke_test.py

実際のMCPクライアントと同じようにサーバーを起動し、ツール一覧を取得して各ツールをすべて呼び出し、結果を表示します。

単体テストの実行

pip install -e ".[dev]"
pytest -q

クライアントへの接続

Claude Desktop

claude_desktop_config.json を編集します:

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

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "wordsmith": {
      "command": "/absolute/path/to/wordsmith-mcp/.venv/bin/wordsmith-mcp"
    }
  }
}

Claude Desktopを再起動し、「この段落の読みやすさは?上位5キーワードは?」 のように尋ねてみてください。

Claude Code

claude mcp add wordsmith -- /absolute/path/to/wordsmith-mcp/.venv/bin/wordsmith-mcp

Cursor / Windsurf / その他のクライアント

mcpServers ブロックを受け付けるクライアントはすべて、上記のClaude Desktopの例と同じ形式を使用します。

MCP Inspector(ビジュアルデバッグ)

npx @modelcontextprotocol/inspector .venv/bin/wordsmith-mcp

ブラウザUIが開き、各ツールを手動で呼び出したり、生のJSON-RPCトラフィックを検査したりできます。


HTTPモード(ホステッドデプロイ向け)

同じサーバーは streamable HTTP にも対応しています。これはホステッドのマーケットプレイスが使用する方式です:

TRANSPORT=http PORT=8081 wordsmith-mcp

MCPエンドポイントは http://localhost:8081/mcp になります。

環境変数

デフォルト

意味

TRANSPORT

stdio

ローカルクライアント用は stdio、ホステッド用は http

HOST

0.0.0.0

HTTPモードでのバインドアドレス

PORT

8081

HTTPモードでのバインドポート

MCP_PATH

/mcp

MCPエンドポイントが提供されるHTTPパス


デプロイ

Smitheryの公開フォームは稼働中のHTTPS MCPエンドポイントを必要とするため、サーバーを先にホストしてから登録します。そのために Dockerfile と render.yaml が含まれています。smithery.yaml はコンテナを直接ビルドするホスト向けに用意されています。

詳しい手順: DEPLOY.md。

要するに:コンテナをホスト(Render、Railway、Fly.io — render.yaml が含まれています)にデプロイし、生成された https://<host>/mcp URLをSmitheryに公開します。

まずローカルでコンテナをビルドして動作確認しておくとよいでしょう:

docker build -t wordsmith-mcp .
docker run --rm -p 8081:8081 wordsmith-mcp

プロジェクト構成

wordsmith-mcp/
├── src/wordsmith_mcp/
│   ├── __init__.py        # package exports
│   ├── __main__.py        # python -m wordsmith_mcp
│   ├── server.py          # MCP server: tool definitions and schemas
│   └── textutils.py       # pure text logic, no MCP imports
├── scripts/smoke_test.py  # end-to-end client that exercises every tool
├── tests/test_textutils.py
├── examples/claude_desktop_config.json
├── Dockerfile
├── smithery.yaml
├── pyproject.toml
└── README.md

textutils.py はアルゴリズムを保持し、MCPからは何もインポートしないため、ロジック単体でユニットテストが可能です。server.py はそれらの関数をモデルに説明する薄いプロトコル層です。


仕組み(MCPの60秒ツアー)

MCPは、AIクライアントがサーバーによって公開されたツールを発見して呼び出すことを可能にするJSON-RPCプロトコルです。

  1. クライアントがサーバーを起動します(stdio 経由のサブプロセスとして、または HTTP 経由で接続)。

  2. クライアントとサーバーは、プロトコルバージョンと機能を通知する initialize ハンドシェイクを交換します。

  3. クライアントは tools/list を呼び出します。SDKはPythonの型ヒントと Field(...) の説明から各ツールのJSON Schemaを生成するため、モデルはどの引数が有効かを正確に把握できます。

  4. モデルがツールを必要と判断すると、クライアントは引数付きで tools/call を送信します。サーバーはPython関数を実行し、結果を人間が読めるテキストと、宣言された出力スキーマに一致する structuredContent の両方として返します。

したがって、ツールを追加するには、型付きのPython関数を書いて @mcp.tool(...) でデコレートするだけです。


このリポジトリの関連資料

  • WRITEUP.md — 既存のMCPサーバー(Context7)の利用と、このサーバーの構築を通して学んだことについての私の記事。

  • DEPLOY.md — このサーバーをSmitheryとGlamaに公開するためのステップバイステップガイド。


ライセンス

MIT — LICENSE を参照してください。

Available Tools

7 tools
convert_caseConvert text caseA
Read-onlyIdempotent

Rewrite text into a naming convention: snake_case, kebab-case, slug, camelCase, PascalCase, CONSTANT_CASE, Title Case, Sentence case, UPPER or lower. Handles input that is already in any of these styles.

NameRequiredDescriptionDefault
textYesThe text to convert.
styleYesTarget naming convention.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the description carries a lighter burden. It adds one useful behavioral detail: the tool handles input already in any of these styles. However, it does not describe edge-case behavior like handling of non-alphanumeric characters or the exact slug 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 two sentences with the core action and supported styles front-loaded, and no filler. The long style list is necessary because it directly matches the required enum values.

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 simple, read-only, idempotent converter with only two parameters and an output schema, the description covers the essential usage and input compatibility. The only noticeable gap is that 'slug' is not precisely defined, leaving a minor ambiguity about its exact normalization behavior.

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 coverage is 100%: 'text' is described as the text to convert and 'style' is an enum listing all target conventions. The description largely restates what the schema already provides rather than adding deeper parameter semantics, so it stays at the baseline.

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 opens with a specific verb and object: 'Rewrite text into a naming convention', and enumerates every supported style. This makes the tool's purpose unmistakable and clearly distinguishes it from the sibling text-analysis tools.

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 purpose and supported transformations make it clear when this tool should be used: whenever text needs to be converted into one of the listed naming conventions. It does not explicitly name alternatives or exclusions, but the sibling tools serve unrelated functions, so the usage context is unambiguous.

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

diff_textsDiff two textsA
Read-onlyIdempotent

Return a unified diff between two versions of a text, line by line, so edits between a draft and a revision can be reviewed precisely. Returns a note when the two inputs are identical.

NameRequiredDescriptionDefault
afterYesThe revised text.
beforeYesThe original text.
context_linesNoUnchanged lines of context around each change.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds useful behavioral detail by specifying the output format ('unified diff'), the line-by-line granularity, and the special case of returning a note when inputs are identical. No contradiction with the annotations.

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 compact and front-loaded: it names the operation, the output format, and the special identical-input case in two sentences. Every sentence adds value, with no filler or redundancy.

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

Completeness5/5

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

For a simple read-only diff tool with an output schema and comprehensive annotations, the description is complete. It covers the core behavior, the use case, and the edge case of identical inputs. Nothing essential is missing for an agent to decide when and how to invoke it.

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 parameters (before, after, context_lines) are already fully documented in the schema. The description adds high-level intent but does not introduce new parameter-level detail beyond what the schema provides. Baseline 3 is appropriate.

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 states a specific action and resource: 'Return a unified diff between two versions of a text, line by line.' It also clarifies the intended use case (comparing draft and revision) and notes the identical-input behavior. This clearly distinguishes the tool from siblings like summarize_text or text_stats.

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 the tool: 'so edits between a draft and a revision can be reviewed precisely.' It does not explicitly name alternatives or exclusions, but the sibling tools are functionally distinct enough that the intended usage is evident.

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

extract_entitiesExtract entitiesA
Read-onlyIdempotent

Pull structured items out of free text: email addresses, URLs, #hashtags, @mentions, phone numbers and standalone numbers. Results are de-duplicated and returned in the order they first appear.

NameRequiredDescriptionDefault
textYesThe text to scan.

Output Schema

NameRequiredDescription
urlsYes
emailsYes
numbersYes
hashtagsYes
mentionsYes
phone_numbersYes

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly and idempotent annotations, the description adds meaningful behavioral details: results are de-duplicated and returned in the order they first appear. This helps an agent understand output characteristics without needing to invoke the 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?

Two concise sentences front-load the core purpose and follow with the key behavioral detail. Every word earns its place; there is no redundant or filler content.

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

Completeness5/5

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

For a tool with a single simple parameter, full schema coverage, an output schema, and read-only/idempotent annotations, the description is complete. It states the input, the entity categories, deduplication, and ordering, leaving no critical 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 coverage is 100%, with the text parameter already described as 'The text to scan.' The description adds no parameter-specific meaning beyond what the schema provides, so the baseline score of 3 applies.

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 uses a specific verb ('Pull structured items out of free text') and enumerates the exact entity types (email addresses, URLs, #hashtags, @mentions, phone numbers, standalone numbers). This clearly distinguishes the tool from siblings like extract_keywords, since the output categories are explicit and structured.

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 the tool: whenever structured entities need to be pulled from free text. It does not explicitly name alternatives or exclusions, but the enumerated entity types make the applicable use case obvious.

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

extract_keywordsExtract keywordsA
Read-onlyIdempotent

Return the most frequent meaningful words in the text, with counts and relative frequency. Common English stopwords and very short tokens are filtered out. Useful for tagging, SEO checks or spotting what a document is actually about.

NameRequiredDescriptionDefault
textYesThe text to mine for keywords.
limitNoMaximum keywords to return.
min_lengthNoIgnore words shorter than this many characters.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, the description discloses meaningful behavior: stopwords and very short tokens are filtered out, and the output includes counts and relative frequency. This adds useful behavioral context without contradicting the annotations.

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 uses three efficient sentences, front-loading the core behavior first and following with purpose-driven use cases. Every sentence adds value and there is no redundant restatement of the tool name or title.

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

Completeness5/5

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

For a simple, read-only extraction tool, the description is complete: it explains the output, filtering behavior, and practical applications. The presence of an output schema and full parameter coverage means no essential calling context is missing.

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 fully documents all three parameters. The description adds context about 'meaningful words' and stopword filtering, but does not meaningfully deepen parameter-level semantics beyond what the schema already provides, so the baseline of 3 applies.

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 states a specific operation: 'Return the most frequent meaningful words in the text, with counts and relative frequency.' This clearly identifies the resource (text), the output (keywords with frequency), and naturally distinguishes it from siblings like extract_entities or summarize_text.

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 gives concrete use cases: 'tagging, SEO checks or spotting what a document is actually about.' However, it does not explicitly mention when not to use this tool or name alternatives, though the use-case guidance is clear enough for an agent to select it appropriately.

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

readabilityScore readabilityA
Read-onlyIdempotent

Compute Flesch Reading Ease and Flesch-Kincaid grade level for the text, with a plain-language interpretation. Use it to check whether a draft matches its intended audience before publishing.

NameRequiredDescriptionDefault
textYesThe text to score.

Output Schema

NameRequiredDescription
wordsYes
sentencesYes
syllablesYes
interpretationYesPlain-language reading of the ease score.
flesch_reading_easeYes0-100, higher is easier to read.
flesch_kincaid_gradeYesApproximate US school grade required.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint). The description adds behavioral context by noting that it produces both numeric scores and a plain-language interpretation, which informs the agent about the nature of the output beyond the structured annotations.

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?

Two sentences, no fluff, and the core computation is front-loaded before the usage guidance. Every phrase earns its place.

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

Completeness5/5

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

For a simple one-parameter, read-only tool with a full output schema and rich annotations, the description fully equips an agent to invoke it correctly. It states what is computed, what kind of output is generated, and the intended use case.

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 input schema fully documents the single 'text' parameter as 'The text to score' (100% coverage), so the description does not need to add much. It confirms the purpose of the text but adds no format, length, or language constraints.

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 states a specific verb ('Compute') and resource ('Flesch Reading Ease and Flesch-Kincaid grade level'), naming concrete outputs that distinguish it from siblings like text_stats or summarize_text. The title 'Score readability' is also reinforced, not merely restated.

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 gives clear context: 'Use it to check whether a draft matches its intended audience before publishing.' This tells the agent when to apply the tool, though it does not explicitly name alternatives or state when not to use it.

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

summarize_textSummarize textA
Read-onlyIdempotent

Produce an extractive summary by scoring each sentence on the frequency of the meaningful words it contains and returning the highest-scoring sentences in their original order. Works fully offline; no model call is made.

NameRequiredDescriptionDefault
textYesThe text to summarize.
max_sentencesNoHow many sentences the summary may contain.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.5/5.0
Behavior5/5

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

The description goes beyond the readOnly/idempotent annotations by explaining the exact scoring mechanism, output ordering, and offline behavior. It accurately describes what the tool does and aligns with the annotations, with no contradiction.

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?

Two sentences deliver the essential information with zero waste: what the tool produces, how it works, and a key operational characteristic. Every clause contributes to understanding.

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

Completeness5/5

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

Given the simple parameter set, an output schema, and strong annotations, the description is fully sufficient. It explains the algorithm, output ordering, and offline nature, leaving no critical gaps for an agent to call the tool correctly.

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 input schema already provides 100% parameter coverage with clear descriptions, defaults, and constraints for both 'text' and 'max_sentences'. The description does not add new parameter-level meaning but also does not need to, so the baseline of 3 applies.

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 uses a specific verb and resource ('Produce an extractive summary') and explains the exact method. It is clearly distinct from sibling tools like text_stats, extract_keywords, and readability, which target different operations.

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 gives clear context: it is for extractive summarization and works offline without a model call. It does not explicitly name alternatives or state when not to use the tool, but the context is strong enough for an agent to infer appropriate use.

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

text_statsAnalyze text statisticsA
Read-onlyIdempotent

Count characters, words, unique words, sentences, paragraphs and lines in a piece of text, plus average word/sentence length and an estimated reading time. Use this to check length limits or to profile a draft before editing.

NameRequiredDescriptionDefault
textYesThe text to analyze.

Output Schema

NameRequiredDescription
linesYesNumber of lines.
wordsYesWord count.
sentencesYesSentence count.
charactersYesTotal characters, including whitespace.
paragraphsYesBlocks of text separated by a blank line.
unique_wordsYesNumber of distinct lowercase words.
average_word_lengthYesMean characters per word.
characters_no_spacesYesCharacters excluding all whitespace.
reading_time_minutesYesEstimated silent reading time at 200 wpm.
average_sentence_lengthYesMean words per sentence.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds value by disclosing the analytical scope, including derived metrics like average lengths and estimated reading time, which are not implied by the annotations alone. There is no contradiction.

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?

Two sentences carry all essential information: what is computed and when to use it. The metric list is front-loaded and every clause earns its place with no filler.

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

Completeness5/5

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

With one simple parameter, a full output schema, and strong annotations, the description is complete for an agent to invoke the tool correctly. It covers purpose, use cases, and behavioral scope without needing to explain return values.

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 parameter description 'The text to analyze' is already clear. The tool description adds no new parameter-level semantics, such as formatting constraints or edge-case behavior, so the baseline of 3 is appropriate.

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 uses a specific verb ('Count') and names the exact resource ('a piece of text') plus a rich list of concrete metrics: characters, words, unique words, sentences, paragraphs, lines, and reading time. This clearly distinguishes it from siblings like summarize_text, extract_keywords, or convert_case.

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 use cases: 'check length limits or profile a draft before editing.' It does not explicitly name sibling alternatives or state when not to use it, but the context is strong enough for an agent to select it appropriately.

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. 7 tool updatesv0.1.0
    • First observedconvert_case
    • First observeddiff_texts
    • First observedextract_entities
    • First observedextract_keywords
    • First observedreadability
    • First observedsummarize_text
    • First observedtext_stats

TDQS

A4.3/5.0

Scored across 7 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: statistics, summarization, keywords, readability, case conversion, entity extraction, and diffing. While several tools analyze text, their outputs are different enough that an agent should not confuse them.

Naming Consistency4/5

Most tools follow a verb_noun pattern such as summarize_text, extract_keywords, convert_case, and diff_texts. text_stats and readability are minor deviations that are still readable and predictable.

Tool Count5/5

Seven tools is a well-scoped size for a text analysis and transformation server. Each tool covers a distinct utility without unnecessary overlap or bloat.

Completeness4/5

The toolkit covers the core text-analysis workflow: profiling, summarizing, keyword extraction, readability, transformations, entity extraction, and diffing. Minor gaps like sentiment analysis or language detection are common additions but not clearly required for the stated purpose.

Maintenance

ActivityStale
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers