Skip to main content
Glama

ScorpTech x402 Tools

Kolakoski Sum

kolakoski_sum
Read-onlyIdempotent

The sum of the first n Kolakoski terms. The sum of the first 10 terms is 15. n runs from 1 to 100000. Returns JSON with: n, count, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/kolakoski-sum

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_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely new behavioral context the annotations do not: a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. It stops short of saying whether the paid call fails or charges on invalid n.

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?

Front-loaded with the core definition, then the example, range, return shape, and payment/logistics details — each sentence carries information. It is somewhat dense with pricing and endpoint boilerplate, but no sentence is pure 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 one-parameter deterministic math tool with no output schema, the description covers input range, a verification example, the paid-call prerequisite, and the returned JSON keys. The only gap is that 'count' and 'value' are listed without explaining how they differ from n.

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% for the single parameter, so the description must carry the meaning — and it does, defining n as the number of terms and restating the 1..100000 valid range with a concrete example. The example anchors the semantics better than the bare 'integer' schema, though the tie between n and the returned 'count'/'value' fields is left unstated.

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?

States a specific verb+resource: 'The sum of the first n Kolakoski terms', which an agent can act on directly. It does not differentiate from siblings such as kolakoski_prefix or kolakoski_run, so the agent must infer how this differs from a prefix or sequence-returning variant.

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?

Gives usable boundaries (n from 1 to 100000) and a worked example (first 10 terms = 15), which implies when the tool applies. However, it never states when to prefer this over the sibling Kolakoski tools or what happens on out-of-range input, so guidance is implied rather than explicit.

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