Skip to main content
Glama
devkit-mcp

devkit-mcp

by RaihNoDev2

text_stats

Read-onlyIdempotent

Counts characters, characters without spaces, words, lines, and sentences in a text to help analyze its length and structure.

Instructions

Conta caracteres, caracteres sem espaços, palavras, linhas e frases de um texto.

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_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesTexto a analisar.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description's help. The description adds the computed metrics but does not disclose the counting semantics that would matter here, such as how emoji/unicode, blank lines, or sentence boundaries are treated.

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?

One short sentence, front-loaded with the verb and the full metric list, with no filler or redundancy. Every clause earns its place.

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-parameter pure-function utility with no output schema, enumerating the five metrics effectively tells the agent what it will get back. Only edge-case counting rules are absent, which is a minor gap given the tool's simplicity and the complete schema coverage.

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 description coverage ("Texto a analisar."), so the schema already carries the parameter meaning. The description's closing "de um texto" merely restates that, adding no format, encoding, or size-limit detail beyond the schema — baseline 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?

The description names a specific verb ("conta") and enumerates the exact resources computed: characters, characters without spaces, words, lines, and sentences. It does not reference any sibling, but the enumerated metrics make it unmistakable against neighbors like case_convert or slugify, so only the explicit differentiation is missing.

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 "de um texto" — an agent can infer this is the tool for text metrics, but there is no explicit when-to-use, when-not-to-use, or alternative routing. For a narrow single-purpose utility that omission is tolerable but leaves the guidance at the minimum viable level.

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