Skip to main content
Glama

ScorpTech x402 Tools

Lychrel

lychrel
Read-onlyIdempotent

Whether 50 reverse-and-add steps fail to reach a palindrome. 196 and 295 do. 89, 121, and 10 do not. n runs from 0 to 10000. 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/lychrel

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds genuinely useful context beyond that: the returned JSON fields, the x402 payment requirement with price and chains, and an equivalent HTTPS endpoint. It stops short of describing failure behavior when payment fails or how errors surface.

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?

It is short and front-loaded, leading with the definition and examples before pricing and endpoint details. The telegraphic phrasing ('196 and 295 do') is efficient for a math tool, and the pricing/endpoint lines are operationally necessary for a paid API rather than filler.

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 tool with no output schema, the description covers the algorithm threshold, domain bounds, return field names, and access method. The one soft spot is that it does not state the type or meaning of 'value' (presumably boolean), which an agent must infer.

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?

With only one parameter and 0% schema description coverage, the description must carry the meaning, and it only restates the range ('n runs from 0 to 10000') already encoded as minimum/maximum in the schema. The examples imply n is the integer under test, so the gap is small but the description adds little semantic detail such as whether n is the seed value.

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 defines the operation concretely: it tests whether 50 reverse-and-add steps fail to reach a palindrome, and it anchors that with worked examples (196 and 295 do; 89, 121, 10 do not). This distinguishes it from a plain palindrome test, though it never names that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no routing to alternatives such as the palindrome tool. The examples clarify what the predicate means mathematically, but they do not tell an agent under what circumstances to select this tool over a related one.

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