Skip to main content
Glama

ScorpTech x402 Tools

Pell Lucas

pell_lucas
Read-onlyIdempotent

The nth companion Pell-Lucas number. Q0 and Q1 are both 2, and later terms use the Pell recurrence. An optional modulus reduces the term, and zero is rejected. n runs from 0 to 8192. Past 15 digits the value is a decimal string. 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/pell-lucas

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

Input Schema

NameRequiredDescriptionDefault
nYes
modNo

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 carry readOnly/idempotent/non-destructive, and the description adds real context beyond them: zero is rejected, values past 15 digits come back as a decimal string, an explicit return shape (n, value), and a cost/per-call payment requirement plus an HTTPS fallback endpoint. These are exactly the operational facts the annotations cannot express; only the exact error behavior for the rejected zero is left unspecified.

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-loads the mathematical definition, then constraints, then return shape, then pricing/transport in a logical order with no filler sentences. The single dense paragraph packs several distinct facts together, which slightly hurts scannability.

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 pure read-only math tool with no output schema, the description covers the domain, the big-integer return convention, the response fields, and the payment model. The remaining gap is precise mod semantics and error behavior, which is meaningful but not fatal given the simplicity of the operation.

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 parameter meaning, and it does explain mod as an optional reduction and restates n's range. But it is ambiguous about what 'zero is rejected' refers to (n=0 vs mod=0) and never mentions that mod is a string of up to 600 digits, meaning the large-modulus semantics stay undocumented. Partial compensation only.

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 specific verb+resource ('The nth companion Pell-Lucas number') and even pins the base cases (Q0=Q1=2) plus the recurrence family, so an agent knows exactly which sequence this computes. It does not explicitly contrast itself with the sibling 'pell' or 'lucas' tools, so sibling differentiation is left implicit.

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 domain constraints (n from 0 to 8192, zero rejected) imply when calls are valid, and the optional modulus hints at modular-arithmetic use. However, it never names an alternative such as a dedicated mod/index sibling, and gives no when-not guidance beyond rejecting invalid input.

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