Skip to main content
Glama

ScorpTech x402 Tools

Moser

moser
Read-onlyIdempotent

The nth Moser-de Bruijn number, binary digits of n read in base 4. n=0 gives 0, n=3 gives 5, n=5 gives 17, n=6 gives 20, and n=8 gives 64. n runs from 0 to 1000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/moser

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": "moser"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

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 the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's job is to add context — and it does: it discloses the paid access model ($0.001 USDC per successful call via x402 on Solana) and an equivalent HTTPS endpoint. Cost and payment flow are exactly the kind of operational 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the definition, then examples, then the domain, then pricing and endpoint. Every sentence carries information; nothing is redundant or padded.

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 tool with no output schema, the description supplies the rule, the domain, sample outputs and cost, which is enough to call it correctly. The only gap is that it does not state the return type or what happens for invalid input, though the examples imply integer results.

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 description coverage is 0%, so the description must carry the load, and it does: it defines n as the index into the sequence, restates the 0..1000000 domain, and gives five worked mappings (n=0→0, n=3→5, n=5→17, n=6→20, n=8→64) that make the indexing convention unambiguous. It stops short of restating the integer type, but the examples resolve the intent.

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 resource (the nth Moser-de Bruijn number) and even gives the construction rule (binary digits of n read in base 4), which is far more than the bare name. It is distinguishable from sibling variants by naming 'nth', but it never explicitly contrasts itself with moser_check, moser_count, moser_index or moser_sum, leaving the sibling boundary implicit.

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?

Usage is only implied: an agent can infer that this computes a single term for a supplied index. There is no explicit when-to-use statement, no mention of alternatives such as moser_index for the inverse mapping, and no note on error behavior for out-of-range input beyond the range itself.

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