Skip to main content
Glama

Alomo: Developer utilities

Word count, reading time and readability

text_statistics
Read-onlyIdempotent

Counts characters (with and without spaces), words, sentences and paragraphs, estimates reading time (238 words a minute by default) and speaking time, and scores readability with Flesch reading ease and the Flesch–Kincaid grade level. Readability formulas are designed for English. Computed locally; the text isn't stored.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "text_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to analyse (up to 100,000 characters).
words_per_minuteNoOptional reading speed, default 238.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the description's real contribution is behavioral context: results are computed locally and the text is not stored, which matters for handling sensitive content. The default reading speed of 238 wpm is also disclosed. Note the mild tension with openWorldHint=true for a tool that claims to run entirely locally, though this is not a direct contradiction of what the description asserts.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence that front-loads what is counted and follows with the derived metrics, with no filler. It is long and slightly run-on, but every clause carries information the agent needs to know what it will get back.

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?

There is no output schema, yet the description enumerates essentially the full return payload (character counts with/without spaces, words, sentences, paragraphs, reading and speaking time, two readability scores). Combined with the 100%-documented two-parameter schema, an agent has everything needed to call it and interpret results.

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 both parameters (text, words_per_minute) are already documented, including the 100,000-character cap and the 238 default. The description repeats the default without adding format, syntax, or edge-case semantics, so it earns only 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?

States a specific verb and resource (counts characters/words/sentences/paragraphs) and enumerates the exact metrics returned: reading time, speaking time, Flesch reading ease and Flesch–Kincaid grade. No sibling in the provided list performs text analysis, so the tool is unambiguous on its own terms.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than prescribed: the agent can infer 'call this when you need word counts or readability' but there is no explicit when-to-use/when-not framing. The one genuinely useful constraint, that readability formulas are designed for English, is given as a caveat rather than a routing rule.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources