Skip to main content
Glama

ScorpTech x402 Tools

Recaman Seen

recaman_seen
Read-onlyIdempotent

Whether value appears in Recamán's sequence from a(0) through a(limit), and the smallest index if it does. 2 appears at index 4. 4 does not appear by index 20. limit runs from 0 to 100000. Returns JSON with: value, limit, seen, index. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/recaman-seen

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": {
      "value": "<value>",
      "limit": "<limit>"
    },
    "name": "recaman_seen"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes
valueYes

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 read-only, idempotent and non-destructive behavior; the description adds genuinely new context: a $0.001 USDC x402 charge per successful call, accepted on Base or Solana, plus an alternate HTTPS endpoint. Those are real invocation prerequisites an agent would otherwise miss. It stops short of 5 because it does not say what happens on a failed payment or a rejected call.

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 semantics, then examples, bounds, return shape, and payment/endpoint details, in a logical order. The two illustrative examples are short and each clarifies the index semantics. No sentence is clearly filler, though the pricing and HTTPS note make the block denser than strictly necessary for invocation.

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, the description correctly enumerates the returned fields (value, limit, seen, index). Both parameters are understandable and the payment/auth model is disclosed, which is the main extra weight for an openWorld paid endpoint. What remains thin is error behavior and whether the index is relative to a(0) inclusive — largely inferable from the stated range.

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%, so the description must carry parameter meaning, and it does: 'limit runs from 0 to 100000' and the phrase 'a(0) through a(limit)' establish limit as an index cutoff, while the examples clarify that value is the queried term. The value upper bound (1e12) present in the schema is not echoed, but the schema itself supplies it.

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 opens with a specific verb-resource pair: a membership test for a value in Recamán's sequence from a(0) through a(limit), returning the smallest index. That is far more precise than the title, which only restates the name. It does not explicitly contrast itself with the 'recaman' sibling (presumably a term generator), so it stops 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 implied rather than stated: the worked examples ('2 appears at index 4', '4 does not appear by index 20') make the membership-check intent obvious. There is no explicit when-to-use or when-not-to-use guidance, and no alternative named for cases like generating terms instead.

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