Skip to main content
Glama

x402-ngram-gen

Ngram Gen: Splits text into word n-grams for n between 1 and 10 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
nNo
textNo
inputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / n / description
      Removed value: -"N to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the payment model (5 free trial calls per signed wallet), which is genuinely useful auth/cost context. It says nothing about the return shape, output format, or what happens past the trial limit.

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?

One compact sentence that front-loads the core capability before the pricing note. No filler, though the emoji and trial note add length without helping invocation correctness.

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

Completeness2/5

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

For a 3-parameter tool with 0% schema coverage and no annotations or output schema, the description should resolve the text/input ambiguity and describe the return value. It covers only the n range, leaving key invocation decisions unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and three parameters (n, text, input) are entirely undocumented in the schema. The description clarifies the n range but sheds no light on the ambiguous text-vs-input duplication, leaving an agent unable to tell which input parameter to populate.

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 (splits) and resource (text into word n-grams) plus the valid n range. It does not, however, distinguish itself from sibling tools like x402-ngram, x402-bigrams, or x402-tokenize, which plausibly overlap with this functionality.

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

Usage Guidelines2/5

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

No guidance on when to choose this over x402-ngram or x402-bigrams, and no prerequisites or exclusions. The only usage-shaped information is the n range (1-10), which is a constraint rather than an alternative-selection rule.

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