Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

text_frequency

Read-onlyIdempotent

Count word and n-gram frequencies in a text to identify key terms, dropping stop words in several languages and optionally counting characters.

Instructions

utilpeek: Count word and n-gram frequencies in a text. For scored keyphrases use text_keywords. Returns the most frequent words or 2-3 word n-grams (n-grams never cross punctuation) with count and share, dropping stop words (en, es, fr, de, pt, it, nl, or none), and optionally character counts. Typically under 0.3 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. The submitted text is never logged or stored. Docs: https://tanod.dev/learn/keyword-extraction-api.html

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

Input Schema

NameRequiredDescriptionDefault
textYesThe text (at most 200,000 characters).
ngramNoTerm length in words: 1 (default), 2 or 3; n-grams never span punctuation.
top_nNoMost frequent terms to return.
languageNoStop-word list to drop (none = keep every word).en
charactersNoAlso count characters (whitespace excluded).
min_lengthNoShortest word counted, in characters (1-50, default 1; single words only, ngram=1).
case_sensitiveNoCount "Word" and "word" apart (default false: terms are lowercased).
include_numbersNoAlso count numeric tokens such as 2026.
remove_stopwordsNoDrop the stop words of `language`.
preserve_combining_marksNoKeep combining marks in words without normalizing text.

Output Schema

NameRequiredDescriptionDefault
topNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
ngramNo
totalNo
sourceNo
uniqueNo
languageNo
charactersNo
stopwords_removedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), the description discloses output shape (count and share, optional character counts), a punctuation-boundary rule for n-grams, latency (under 0.3 s), price (USD 0.001), a per-IP daily free quota, and a privacy guarantee that submitted text is never logged or stored. These are exactly the operational facts annotations cannot carry.

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?

Purpose, sibling disambiguation, and output description are front-loaded in the first two sentences, with operational metadata trailing. It is dense but largely waste-free; the pricing/quota/docs boilerplate is the only portion not about invoking the tool correctly.

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?

For a 10-parameter tool with a full schema and an output schema, the description supplies the remaining decision-relevant context: what is counted, what is dropped, punctuation handling, cost, quota, and data-retention policy. Nothing needed to call it correctly or to justify the 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?

Schema description coverage is 100%, so the schema already explains every parameter including the enum and defaults. The description adds only two small clarifications (n-grams never span punctuation; character counts exclude whitespace), which is marginally above the baseline but not a substantive semantic layer.

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?

The description opens with a specific verb and resource ("Count word and n-gram frequencies in a text") and immediately names the sibling it is not ("For scored keyphrases use text_keywords"). An agent can distinguish it from text_keywords and the other text_* utilities without opening any schema.

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

Usage Guidelines4/5

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

It explicitly routes one alternative: scored keyphrases belong to text_keywords. That is a clear use/use-instead condition, but no guidance is given for the other plausibly overlapping siblings (text_stats, text_numbers), so the routing is useful rather than exhaustive.

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

Deploy Server

Other Tools