Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

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

Chinese text processing with jieba: word segmentation, keyword extraction (TF-IDF / TextRank), part-of-speech tagging, an in-memory user dictionary, and Simplified/Traditional conversion.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
segmentB

Split Chinese text into words with jieba.

extract_keywordsB

Extract the most important keywords from Chinese text.

pos_tagA

Segment Chinese text and tag each word with its part of speech.

add_user_wordsA

Add domain words (names, jargon, brands) so later calls keep them whole.

The dictionary lives in this server process's memory only: it affects every later call to segment, pos_tag and extract_keywords, is shared by all clients of this process, and is gone after a restart. Nothing is written to disk.

convert_chineseB

Convert between Simplified and Traditional Chinese.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

Each tool maps to a distinct operation: segmentation, keyword extraction, POS tagging, dictionary mutation, and script conversion. The only slight overlap is between segment and pos_tag, since POS tagging also returns segmentation, but the descriptions make the added value clear. add_user_words is explicitly framed as a stateful modifier of the other three, which prevents confusion.

Naming Consistency4/5

All names are snake_case and verb-led (segment, extract_keywords, pos_tag, add_user_words, convert_chinese), forming a readable pattern. The minor deviation is `segment`, a bare verb with no object, while the others are verb_noun. That is easily understood in context and does not impair selection.

Tool Count5/5

Five tools cleanly cover the scope of a jieba wrapper without redundancy. Every tool earns its place: three text-analysis operations, one configuration hook, and one conversion utility. Nothing feels bolted on or missing at the structural level.

Completeness4/5

The core jieba surface is covered: segmentation, keyword extraction, POS tagging, and user dictionary insertion, plus a useful Simplified/Traditional converter. Minor gaps remain, such as no search-engine-mode segmentation, no way to list or remove user words, and no confidence weights on keywords, but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues