Skip to main content
Glama

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. Price: $0.001 USDC per successful call (x402, 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.7/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), so the description's job is supplementary — and it delivers: cost ($0.001 USDC per successful call via x402 on Solana) and an alternative HTTPS endpoint. Pricing and payment-rail details are exactly the kind of context an agent needs before invoking a paid tool. It stops short of describing the response shape or failure/refund behavior.

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?

Telegraphic fragments, but each one carries payload: definition, examples, domain, price, endpoint, all front-loaded with the predicate first. Nothing is redundant, though the sentence fragments read more like spec notes than prose.

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 boolean predicate with full annotation coverage, the description supplies the definition, calibration examples, input domain, cost, and a transport alternative — enough to call it correctly. The only gap is that the boolean return type is implied by 'Whether' rather than stated, which is minor for a tool this simple.

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 schema only gives type and 0–10000 bounds. The description repeats the range but does add meaning by framing n as the number under test, demonstrated through the example values. It still never states explicitly 'n is the integer to test', leaving the agent to infer that from the examples.

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 states a precise predicate: whether n fails to reach a palindrome within 50 reverse-and-add steps, backed by worked examples (196 and 295 do; 89, 121, and 10 do not). That is a specific operation an agent can act on. It does not explicitly distinguish itself from related siblings such as reverse_add, palindrome_reach, or palindrome_steps, which keeps it out of 5 territory.

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?

The positive and negative examples implicitly show when the tool returns true vs false, and 'n runs from 0 to 10000' sets the usable domain. However, there is no explicit guidance on when to pick this over the closely related palindrome_steps or reverse_add tools, so the agent must infer the boundary 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