Skip to main content
Glama

ScorpTech x402 Tools

Kolakoski Run

kolakoski_run
Read-onlyIdempotent

The Kolakoski run that contains the 1-based index n. A run has length 1 or 2. Index 1 is a single 1. Index 2 starts two 2s. n runs from 1 to 100000. Returns JSON with: n, value, start, length. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/kolakoski-run

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": {
      "n": "<n>"
    },
    "name": "kolakoski_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds material context beyond them: the JSON return fields (n, value, start, length), a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. The cost and payment-rail disclosure is exactly the kind of behavioral detail annotations cannot express.

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 description is short and front-loads the core semantics before the return shape and pricing details. The pricing and endpoint lines are dense but justified for a paid x402 endpoint; nothing is obviously filler.

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 lookup with no output schema, the definition supplies input meaning, return field names, valid range, cost model, and a fallback transport. The only gap is sibling disambiguation within the large Kolakoski family.

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 meaning of n, and it does: n is a 1-based index, ranges 1 to 100000 (reinforcing the schema bounds), and the worked examples at index 1 and 2 show how n maps onto a run. It stops short of explaining how n relates to the underlying sequence position beyond the run framing.

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 concrete verb-resource pairing: it returns the Kolakoski run containing a given 1-based index, and it even disambiguates the term/run distinction with examples (index 1 is a single 1; index 2 starts two 2s). It does not distinguish this from siblings like kolakoski, kolakoski_prefix, or kolakoski_check, so an agent must still infer which of the Kolakoski family to pick.

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 or when-not-to-use guidance and no pointer to an alternative tool; the description only defines the domain mechanics. An agent is left to guess whether kolakoski or kolakoski_prefix is the right sibling for a given question.

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