Skip to main content
Glama

ScorpTech x402 Tools

Lucas

lucas
Read-onlyIdempotent

The nth Lucas number. L0 is 2, L1 is 1, and each later term is the sum of the previous two. L5 is 11 and L10 is 123. An optional modulus reduces the term, and zero is rejected. n runs from 0 to 4096. 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/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": "lucas"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes
modNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description goes well beyond them: return shape (JSON with n and value), a representation threshold (past 15 digits the value is a decimal string), input validation (zero rejected, n capped at 4096), and payment/auth requirements ($0.001 USDC per successful call via x402 on Base or Solana) plus a direct HTTPS fallback endpoint. These are exactly the operational facts an agent needs before invoking a paid remote tool.

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 definition and examples, then validation rules, then output format, then cost/transport. Dense but each sentence carries information; only the price/endpoint sentence could arguably be split out, and no sentence is redundant with the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 supplies the return keys, the type-switching rule for large values, input bounds, and the payment model, so an agent can predict both the response and the cost. Nothing material for correct invocation appears to be missing.

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 description coverage is 0%, so the description must carry the load; it defines n as the Lucas index with its domain and explains that mod optionally reduces the term and that zero is rejected. It never explains why mod is a digit-string of up to 600 characters (i.e., big-integer input), leaving the schema's most unusual parameter only partially characterized.

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?

Opens with a specific verb+resource ("The nth Lucas number") and immediately pins down the sequence via base cases and worked examples (L5=11, L10=123), so there is no ambiguity about what is computed. It does not, however, distinguish itself from near-siblings such as lucas_mod or jacobsthal_lucas, and the mention of an optional modulus blurs the line with lucas_mod.

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?

Gives usable operational boundaries (n from 0 to 4096, zero modulus rejected) which implicitly tell the agent when the tool is applicable. There is no explicit when-to-use/when-not-to-use guidance or named alternative for modular Lucas work, so selection between this and lucas_mod is left to inference.

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