Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-digit-count

Digit Count: Counts the decimal digit characters in the supplied text field and returns the total 🆓 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-digit-count"
  }
}

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.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does add value by stating the return value (a total) and a payment/auth condition (5 free trial calls per signed wallet), which is real behavioral context. However, it says nothing about what happens after the trial is exhausted, whether the call then fails or is charged, or how the two string parameters relate — a significant gap for a monetized tool with zero annotation coverage.

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?

A single front-loaded sentence with the operation first and the pricing note trailing. Efficient and readable, though the emoji-prefixed trial clause is appended without punctuation linkage and slightly blurs the sentence's focus.

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 two-required-parameter tool with no annotations, no parameter descriptions and no output schema, the definition should at minimum disambiguate "text" vs "input" and state the return shape. It gives the return shape loosely ("total") but leaves the parameter relationship unresolved, so an agent cannot confidently construct a call.

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% and the description only refers to "the supplied text field" in the singular, while the schema requires two distinct string parameters, "text" and "input". The description neither explains the role of "input" nor clarifies whether both must contain the same value or whether one is a wrapper. This is exactly the case where the description must compensate and it does not.

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?

"Counts the decimal digit characters in the supplied text field and returns the total" states a specific verb (counts) and a specific resource/scope (decimal digit characters), which distinguishes it from siblings like x402-character-count or x402-whitespace-count without needing their schemas. It stops short of naming an alternative, but the operation is unambiguous.

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 when-to-use guidance, no mention of when a different counting sibling would be preferred, and no explanation of what to supply in the two required parameters. The agent learns what the tool does but nothing about selecting it over neighbours or preparing a valid call.

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.