Skip to main content
Glama

Word Counter API - words, characters, sentences, reading time, top words

word_counter
Read-onlyIdempotent

Count words, characters, sentences and paragraphs, reading and speaking time, average word length and the most used words. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/word-counter.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "Hello world, this is a short sample text."
    },
    "name": "word_counter"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Goes meaningfully beyond the readOnly/idempotent annotations by disclosing that processing happens server-side, files are deleted immediately with nothing stored, and there is a hard rate limit of 5 calls/day per IP, plus two authentication paths (X-API-Key or x402 payment). These are real operational constraints an agent must know. It does not describe the shape of the returned metrics or behavior at the rate limit boundary, keeping it below 5.

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?

Front-loads the capability list, then privacy, then access/pricing — a sensible order with no filler sentences. The pricing sentence is dense (monthly cost, URL fragment, header name, per-call price) but each element is actionable rather than decorative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-input, no-output-schema text tool, this covers what is computed, where it runs, data-retention policy, and how to authenticate. Gaps remain around input size limits and how 'most used words' is parameterized (count, stopword handling), but nothing essential to a correct first call is missing.

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?

There is a single required parameter with 100% schema coverage, so the schema already carries the burden. The description never elaborates on the 'text' input itself (size limits, plain text vs markup, encoding), adding nothing beyond the schema's one-line description. High coverage sets the baseline at 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Count') and enumerates the exact metrics returned: words, characters, sentences, paragraphs, reading/speaking time, average word length, top words. This distinguishes it well from most siblings, though it does not explicitly address the overlapping 'character_counter' sibling, so a 5 is not warranted.

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 stated: an agent can infer this is the tool for text-statistics tasks, and the pricing section implies this is a paid/rate-limited service. There is no explicit when-to-use versus when-not guidance and no mention of the character_counter alternative, so it stays at the implied-usage level.

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