Skip to main content
Glama

ScorpTech x402 Tools

Lucas Index

lucas_index
Read-onlyIdempotent

The smallest index n with L(n) equal to value. 2 is index 0, and 1 is index 1. A number that is not a Lucas number, or a leading zero, is rejected. value is a decimal integer of at most 600 digits. 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-index

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>"
    },
    "name": "lucas_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare that the tool is read-only, idempotent, non-destructive, and open-world. The description adds meaningful context beyond those annotations: it discloses the output JSON fields, the input rejection behavior, the maximum digit length, and the per-call pricing model. It does not cover rate limits or error formats, keeping it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, then adds indexing convention, validation rules, output shape, and pricing in a compact sequence. Every sentence adds useful information without redundancy.

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?

For a single-parameter computational tool with no output schema, the definition is complete: it specifies the purpose, indexing convention, input constraints, rejection behavior, return fields, and payment details. An agent has everything needed to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description carries the full burden for the single `value` parameter. It explains that `value` must be a decimal integer of at most 600 digits, must be an actual Lucas number, and must not contain a leading zero—details that meaningfully supplement the regex-only schema.

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 specific inverse operation: find the smallest index n where L(n) equals value. It also clarifies the unusual indexing convention (2 is index 0, 1 is index 1). It is clear, but it does not explicitly differentiate this tool from the sibling `lucas` tool that likely generates Lucas numbers.

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 description implies usage by explaining what inputs are rejected (non-Lucas numbers and leading zeros), which helps an agent know when the tool is applicable. However, it never states when to use this instead of related tools such as `lucas`, nor does it name any alternative for forward computation.

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