Skip to main content
Glama

ScorpTech x402 Tools

Champernowne Len

champernowne_len
Read-onlyIdempotent

How many digits are used to write the integers from 1 through m. Through 9 there are 9, through 10 there are 11, through 13 there are 17, and through 100 there are 192. m runs from 1 to 999999999999. Returns JSON with: m, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/champernowne-len

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": {
      "m": "<m>"
    },
    "name": "champernowne_len"
  }
}

Input Schema

NameRequiredDescriptionDefault
mYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and openWorld, so the description is not required to re-state safety. It adds genuinely new behavioral context: the cost ($0.001 USDC per successful call, x402 on Base or Solana), an alternate HTTPS endpoint, and the return shape ('JSON with: m, value'), which matters because no output schema exists.

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?

The core definition is front-loaded in the first sentence, examples follow to confirm interpretation, then operational details (return fields, price, endpoint) are grouped at the end. No sentence is filler, even the pricing line earns its place for a paid x402 tool.

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 single-parameter deterministic math tool with no output schema, the definition covers what it computes, the parameter domain, the return fields, and the payment/transport details. Nothing critical is missing, though a note on failure behavior for out-of-range m would complete it.

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 0%, so the description must carry the parameter meaning, and it does: m is the upper bound of the integer range, running from 1 to 999999999999, with four examples showing how the value grows with m. The only gap is that it does not explicitly name m as the argument, though the examples make the mapping obvious.

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 states a specific computation ('how many digits are used to write the integers from 1 through m') with concrete worked examples (9, 11, 17, 192), which pins down the semantics unambiguously. It does not distinguish the tool from the sibling champernowne_digit/start/place tools, which the calibration marks as the difference between a 4 and a 5.

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

Usage Guidelines3/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative, so the agent must infer its use from the mathematical definition. For a pure single-value math function where the purpose itself defines the use case, that implied guidance is adequate but not strong.

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