Skip to main content
Glama

ScorpTech x402 Tools

Morse Run

morse_run
Read-onlyIdempotent

The Thue-Morse run that contains n. The bit is the parity of the 1-bits of n. A run has length 1 or 2. Index 0 is a run of one 0, and index 1 starts a run of two 1s. n runs from 0 to 1000000. Returns JSON with: n, bit, 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/morse-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": "morse_run"
  }
}

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 establish readOnly, idempotent, non-destructive and open-world behavior, so the bar is lower, and the description still adds material context the agent cannot get from annotations: a per-call price of $0.001 USDC via x402 on Base or Solana, plus an equivalent HTTPS endpoint. The one omission is whether a failed call is still billed — it says "per successful call," which partially covers this.

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 front-loaded with the core definition, then indexing rules, then the return contract, then cost and transport. Every sentence carries information; the only mild deduction is the telegraphic fragment style, which takes a moment to parse.

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 pure computation with no output schema, the description supplies the return field list (n, bit, start, length), the domain, and the payment model — enough for an agent to call it correctly. A worked example of the run at a given n would close the remaining gap in understanding the start/length semantics.

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% (the single parameter has only min/max constraints and no description), so the description must carry the meaning, and it does: it defines n as the index into the sequence, restates the 0–1000000 range, and pins down the semantics of indices 0 and 1. It adds real meaning beyond the raw schema bounds.

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 Thue-Morse run that contains n" names the specific resource (a run of the Thue-Morse sequence) and the precise output shape (n, bit, start, length), which is enough to distinguish it from siblings like thue_morse or kolakoski_run. It stops short of explicitly contrasting itself with those siblings, so an agent must infer the difference from the subject matter alone.

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?

The description bounds the domain (n from 0 to 1000000) and describes the indexing convention, which implies when the tool applies. However, it gives no explicit instruction on when to choose this over thue_morse or kolakoski_run, and no note on error behavior for out-of-range input.

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