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 €9/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. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld), and the description adds genuinely new operational context: server-side execution, immediate deletion of files with nothing stored, a 5 calls/day per-IP free quota, and paid routes via X-API-Key or per-call x402. That quota and privacy statement are exactly the kind of behavior an agent cannot infer from annotations. Minor oddity: it mentions file deletion although the schema accepts only a 'text' string.

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-loaded with the capability list in one sentence, then the operational facts in a second. Dense but every clause carries information; the pricing URLs are long but functional rather than filler.

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?

With no output schema, the description usefully enumerates the returned metrics, and it covers cost/auth so the agent knows the call may fail on quota. The only real gap is not stating how many 'most used words' are returned or any input size ceiling.

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 at 100% schema coverage, so the schema already documents it; the description adds no format, size, or encoding guidance for 'text'. Baseline 3 is appropriate since the schema does the work and the description contributes nothing parameter-specific.

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?

Opens with a specific verb ('Count') plus the resource and enumerates exactly what is measured: words, characters, sentences, paragraphs, reading/speaking time, average word length, top words. An agent knows precisely what output class to expect, and no sibling tool covers text statistics.

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 only implied by the capability list — it never states when to pick this over alternatives or any exclusions/limits on input (e.g., max text length). It does, however, spell out access paths (free tier, API key, x402) which helps an agent decide whether it can actually call it.

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