Skip to main content
Glama

Chat word count

chat_word_count
Read-only

One chat.word_count answer, bought through Moonbeam and paid with x402 on Base. One call is 0.0012 USDC, paid with x402 on Base.

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": "chat_word_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesthe text, as the task quotes it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "the text, as the task quotes it",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[]New value: +[
      +  "text"
      +]
  2. Added
  3. Removed
  4. Added
  5. Removed
  6. Added
  7. Removed
  8. Added

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, and the description usefully adds the per-call price (0.0012 USDC), the payment rail (x402 on Base), and the Moonbeam routing — real context an agent needs before spending money. However it never says what the call returns, which matters because there is no output schema to fall back on.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, but the phrase 'paid with x402 on Base' appears in both of them, which is pure redundancy in a description this brief. The pricing is front-loaded adequately, but the duplication wastes a meaningful share of the total text.

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?

With no output schema, the description is the only place an agent could learn that the answer is a numeric word count, and it omits that entirely. Payment and routing are covered, but the core contract of what comes back is missing for a tool whose whole value is its return value.

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% for the single required 'text' parameter, so the schema already carries parameter meaning. The description adds nothing about the text argument (length limits, quoting expectations) beyond what the schema states, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says 'One chat.word_count answer', which essentially restates the tool name rather than stating the operation in plain terms. It never says the tool counts words in the supplied text; that meaning only emerges from the input schema's 'text' property. An agent must infer the verb+resource from the identifier itself.

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 statement of when to use this tool rather than a sibling such as inference_chat or text_generate, nor any prerequisite or exclusion. The only guidance offered is pricing, which is a cost signal rather than a usage criterion.

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