Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-hapax-legomena

Hapax Legomena: Counts words that appear exactly once in the input text 🆓 5 free trial calls per signed wallet

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": {
      "input": "<input>",
      "text": "<text>"
    },
    "name": "x402-hapax-legomena"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "input",
      +  "text"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  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 burden, and it does disclose an operational constraint the agent could not otherwise know: five free trial calls per signed wallet, implying signer-based authentication and metered billing. However, it says nothing about tokenization rules (case sensitivity, punctuation, hyphenation) or what the response contains, which are the behaviors that actually affect a correct call.

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?

The definition is compact and front-loads the purpose before the pricing note. The emoji and promotional trial-call clause are slightly off-register but do carry real information, so there is little true waste.

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?

There is no output schema and no annotations, so the description is the only source of truth, yet it never states the return value (a count, a word list, or both). For a tool with two undocumented required parameters, that leaves an agent unable to predict either inputs' roles or the result shape.

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 description coverage is 0% across two required string parameters, so the description must compensate and barely does. It refers to 'the input text', which loosely gestures at both `text` and `input` but never explains why two text parameters exist or how they differ, leaving the most consequential ambiguity unresolved.

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 operation on a specific resource: counting words that occur exactly once in the input text. The verb 'counts' and the defined linguistic term 'hapax legomena' make the function unambiguous and distinguishable from the numeric/encoding siblings. It stops short of any explicit contrast with sibling tools, which keeps it at 4 rather than 5.

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?

There is no guidance on when to choose this tool versus an alternative, no preconditions, and no exclusion criteria. An agent must infer usage entirely from the one-line purpose statement.

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.