Skip to main content
Glama

ScorpTech x402 Tools

Recaman

recaman
Read-onlyIdempotent

The nth Recamán term. a(0) is 0. Each later term steps back by n when that value is positive and new, and otherwise steps forward by n. a(4) is 2 and a(6) is 13. n runs from 0 to 100000. Returns JSON with: n, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/recaman

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint:false and openWorldHint, covering the safety profile. Beyond that the description adds real value: the returned JSON shape (n, value), the per-call price ($0.001 USDC via x402 on Base or Solana), and an equivalent HTTPS endpoint. The payment and return-shape disclosure lifts it above baseline, though rate limits and failure behavior are absent.

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?

Dense and front-loaded: the definition, indexing base, recurrence, examples, range, return shape, and pricing arrive in that order with no filler. The sentences are run-on and telegraphic, but nothing is wasted.

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 pure-computation tool with no output schema, the description supplies the definition, the domain of n, the return keys, and the commercial terms – enough for an agent to call it correctly. Only edge behaviors (invalid n, payment failure) are unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 semantic load for the single parameter. It explains what n indexes (0-based), restates the valid range, and gives worked values that let an agent self-check input/output, but adds no cost or failure semantics tied to n.

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 gives a specific resource ('the nth Recamán term') and pins down the indexing convention (a(0)=0), the recurrence rule, and worked examples (a(4)=2, a(6)=13). That is unambiguous about what is computed. It does not distinguish itself from the sibling 'recaman_seen', so it falls short of a 5.

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 infers it should call this to obtain a single sequence term, and the valid range 'n runs from 0 to 100000' is stated. There is no explicit when-to-use vs. when-not, and no mention of how this relates to siblings such as 'recaman_seen'.

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