Skip to main content
Glama
mirza1272

wordsmith-mcp

by mirza1272

Analyze text statistics

text_stats
Read-onlyIdempotent

Count characters, words, unique words, sentences, paragraphs, and lines in text, plus average lengths and reading time, to check length limits or profile a draft before editing.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe text to analyze.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.
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.

Install Server

Other Tools

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/mirza1272/wordsmith-mcp'

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