Skip to main content
Glama

x402-bigrams

Bigrams: Split text into consecutive two-word pairs (bigrams), lowercased. Provide text or input; returns the list of bigrams.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoText to process
inputNoInput to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / input
      Added value: +{
      +  "description": "Input to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses the output shape ('returns the list of bigrams') and the lowercasing normalization, but says nothing about tokenization rules (punctuation, whitespace, empty input) or edge-case behavior for a string-processing tool.

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?

A single compact sentence with the operation front-loaded and the return value at the end. No filler, no repetition of the tool name.

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 simple pure-function string tool with no output schema and no annotations, the description covers purpose, input alternatives, and return type. It omits edge-case behavior and any hint that at least one of the two optional parameters must be supplied.

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

Parameters4/5

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

Schema coverage is 100% and both parameters are described in the schema, so baseline is 3. The description adds real value by signalling that 'text' and 'input' are interchangeable alternatives ('Provide text or input'), which the schema alone does not state. Details like minimum length or case handling are still absent.

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 and resource ('Split text into consecutive two-word pairs (bigrams), lowercased'), which is unambiguous about the transformation performed. It does not explicitly contrast itself with the nearby x402-bigram-similarity or x402-ngram-gen siblings, so it stops short of the top score.

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?

The description only says 'Provide text or input', which is parameter guidance rather than when-to-use guidance. There is no statement of when this tool is preferred over ngram or similarity siblings, and no exclusions or prerequisites.

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