Skip to main content
Glama

Moser Count

moser_count
Read-onlyIdempotent

How many Moser-de Bruijn numbers are at most n, counting 0. Through 0 there is 1, through 1 there are 2, through 5 there are 4, through 16 there are 5, and through 64 there are 9. 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-count

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

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 cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely non-obvious operational facts: a per-call price of $0.001 USDC via x402 on Solana and an equivalent HTTPS endpoint. It stops short of saying what happens on payment failure or whether results are cached.

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 examples, then domain, then payment/transport logistics. The pricing and URL sentences are not needed to invoke the tool correctly, but they are short and clearly separated from the functional content.

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?

With no output schema and no annotations explaining returns, the description still makes the return value obvious (a count of Moser-de Bruijn numbers ≤ n) and validates it via five concrete input/output examples. Nothing material is missing for correct invocation, though error/edge behavior at n=1000000 is unstated.

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?

The single parameter has 0% schema description coverage, so the description carries the burden and does: it defines n as the inclusive upper threshold ('at most n'), states the valid domain 0–1000000, and clarifies that 0 itself is counted. The bounds merely restate the schema, but the inclusive semantics and 0-handling are real value-add.

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 precise verb+resource: the counting function of Moser-de Bruijn numbers up to n, with worked examples (through 5 there are 4) that pin down the inclusive, 0-counting semantics. That implicitly separates it from siblings like moser_sum or moser_index, but it never names those siblings explicitly.

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 this is the counting variant, but there is no explicit statement of when to pick moser_count over moser, moser_check, moser_index, or moser_sum, nor any prerequisites or exclusions.

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