Skip to main content
Glama
mcp-text-stats

mcp-text-stats

by Fastunbeaten

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TEXT_STATS_ROOTSNoSemicolon-separated list of absolute paths that the server is allowed to access. If not set or empty, all paths are rejected (secure default). Example: /srv/work/tools;/srv/work/data. Windows also accepts commas or newlines as separators.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
count_textA

统计文件或文本的字素/码点/UTF-16 单元数、字素簇、行、段落、句子、词数以及按 Unicode 脚本分类的字符计数。返回纯数字与路径,绝不返回正文片段。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of selecting the wrong one. Its purpose—computing text statistics—is stated unambiguously.

Naming Consistency4/5

count_text follows a clear verb_noun snake_case convention, which is readable and predictable. With only a single name, there is no pattern to cross-check, which slightly limits confidence.

Tool Count3/5

A single tool is thin for a server surface, even though the one tool is broad and non-trivial. It is borderline: focused, but offers no composability.

Completeness4/5

The tool covers many statistics (graphemes, code points, UTF-16 units, grapheme clusters, lines, paragraphs, sentences, words, script breakdown), which is broad for the counting domain. However, gaps remain: no batch or multi-file aggregation, no comparison or diff between texts, and no size-in-bytes metric.