Skip to main content
Glama

mechacut

text_count

The exact counts for one text in one call: chars, words, sentences, paragraphs, lines, bytes. Never let a model 'estimate' a length again. Free.

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

Input Schema

NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden it reasonably can for a pure read operation: it discloses that counts are exact, that all six metrics come back from a single call, and that there is no cost. It stops short of describing the counting rules that matter for correctness, notably whether bytes are UTF-8 and how lines/sentences are delimited.

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?

Two tight, front-loaded sentences with the metric list in the first. The trailing 'Free.' is promotional filler that does not help an agent decide or invoke, keeping it out of the top score.

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 one-parameter, non-destructive counting utility with no output schema, the description is nearly sufficient: the enumerated fields effectively communicate the return shape. The remaining gap is edge-case semantics such as encoding for bytes and sentence/line splitting rules.

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 coverage is 0% and the only parameter, text, is undocumented in the schema; the description only conveys that it takes 'one text', implying a single string rather than a batch or a file reference. That is useful but thin compensation for the coverage gap.

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 (count), a specific resource (one text), and enumerates the exact metrics returned: chars, words, sentences, paragraphs, lines, bytes. An agent can tell it produces measurements of a single string, which no sibling name in the catalog suggests as its primary job.

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 marketing line 'Never let a model estimate a length again', which tells the agent to use this instead of guessing but never states when not to use it or how it relates to alternatives for multi-text or streaming input.

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.