Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

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

Tools

Functions exposed to the LLM to take actions

NameDescription
word_tokenizeB

Split text into word tokens. Handles contractions, hyphenated words, numbers, and punctuation.

sentence_tokenizeA

Split text into sentences. Handles abbreviations (Mr., Dr., etc.) and tricky boundaries.

generate_ngramsC

Generate n-grams from a list of tokens. Returns list of n-gram lists.

generate_char_ngramsB

Generate character-level n-grams from text.

flesch_reading_easeB

Flesch Reading Ease score. 90-100=very easy, 60-69=standard, 0-29=very confusing.

flesch_kincaid_gradeB

Flesch-Kincaid Grade Level. Returns US school grade level needed to understand text.

gunning_fog_indexB

Gunning Fog Index. Estimates years of formal education needed to understand text.

coleman_liau_indexB

Coleman-Liau Index. Grade level based on characters per word and sentences per word.

automated_readability_indexB

Automated Readability Index (ARI). Grade level from character and word counts.

smog_grade_indexA

SMOG Grade. Best for healthcare/medical texts. Counts polysyllabic words.

count_syllablesB

Estimate syllable count for a single word using heuristics.

get_reading_levelC

Comprehensive reading level: grade level, label (elementary/middle/high school/college/graduate), and all readability scores.

get_sentiment_scoreB

Compound sentiment score from -1 (negative) to 1 (positive). VADER-style with built-in 2000+ word lexicon.

get_sentiment_labelB

Classify text as 'positive', 'negative', or 'neutral'.

get_sentence_sentimentsB

Per-sentence sentiment breakdown. Returns list of {sentence, score, label}.

get_aspect_sentimentC

Sentiment around specific topics/aspects. Finds sentences mentioning each aspect and averages their sentiment.

extract_tfidf_keywordsB

Extract keywords using TF-IDF computed from scratch. Pass multiple docs for best results.

extract_rake_keywordsC

RAKE keyword extraction (Rapid Automatic Keyword Extraction). Finds multi-word key phrases.

get_word_frequencyB

Most frequent words excluding stopwords. Returns [{word, count}].

get_phrase_frequencyB

Most frequent n-grams (phrases). Default bigrams. Returns [{phrase, count}].

get_jaccard_similarityB

Jaccard similarity (word-level set overlap). 0=no overlap, 1=identical word sets.

get_cosine_similarityB

Cosine similarity using bag-of-words vectors. 0=orthogonal, 1=identical.

get_edit_distanceB

Levenshtein edit distance. Minimum single-character edits to transform s1 into s2.

get_normalized_edit_distanceB

Normalized edit distance on 0-1 scale. 0=identical, 1=completely different.

get_longest_common_subsequenceB

Length of longest common subsequence (LCS) between two strings.

clean_remove_stopwordsB

Remove English stopwords (500+ built-in) from text.

clean_remove_punctuationB

Remove all punctuation from text.

clean_remove_numbersB

Remove all numbers from text.

clean_remove_urlsB

Remove URLs from text.

clean_remove_emailsB

Remove email addresses from text.

clean_remove_htmlB

Remove HTML tags from text.

clean_normalize_whitespaceB

Collapse multiple whitespace into single spaces.

clean_lowercaseB

Convert text to lowercase.

porter_stemB

Porter stemmer from scratch. Reduce word to its stem (e.g., 'running' -> 'run').

clean_text_pipelineC

Configurable cleaning pipeline. Steps: html, urls, emails, numbers, punctuation, stopwords, whitespace, lowercase.

detect_text_languageA

Detect language from text. Returns top 5 matches with confidence scores. Supports 18 languages.

detect_text_encoding_typeB

Detect character encoding type: ASCII, Latin, Cyrillic, CJK, Arabic, etc.

check_is_englishB

Confidence that text is English (0-1 scale).

count_wordsC

Count words in text.

count_sentencesC

Count sentences in text.

count_paragraphsB

Count paragraphs in text (separated by blank lines).

get_avg_word_lengthB

Average word length in characters.

get_avg_sentence_lengthC

Average sentence length in words.

get_extractive_summaryA

Extract the best N sentences as a summary. Scores by position, keyword frequency, length, and title overlap.

get_text_statisticsC

Comprehensive text stats: words, sentences, paragraphs, reading time, readability scores, language.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BlackMount-ai/blackmount-nlp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server